Best PDF Editors to Edit PDF Documents in Linux | How to edit a PDF | Adobe Acrobat DC
PDF PageMaster: Command-line PDF Editor
PDF PageMaster is an industrial-strength, stand-alone solution for splitting, merging, editing, and securing PDF documents. It is offered as an easy-to-use command-line application for client and server-based applications.
The split functionality allows you to split one or more PDF documents based on page groups, page ranges, bookmarks and file size, while the merge functionality enables you to quickly sort and then combine a collection of PDF documents and page sets.
PDF PageMaster also allows you to apply or modify PDF security as well as to edit document metadata (e.g. document title, author information, keywords, etc.) on resulting documents.
Best PDF Editors to Edit PDF Documents in Linux
The PDF file format is one of the most widely used document formats that is used to attach, transfer and download digital files thanks to its ease of use, portability, and ability to preserve all elements of a file. You can seamlessly view a PDF document across multiple devices without visual alteration of its contents.
Occasionally, you might want to modify your PDF and maybe add text, images, fill forms, append a digital signature, and so on. In this guide, we have put together a list of PDF editors (both free and proprietary) that you can leverage to modify your PDF documents.
Developed by the KDE opensource community, Okular is a multi-platform document viewer that is fully free and licensed under the GPLv2+. It supports a wide array of document formats such as PDF, Epub, MD, and DjVu (for documents); PNG, JPEG, Tiff, GIF, and WebP (for images) as well as comic book formats such as CBZ and CBR.
Okular provides a wide selection of features for reading your documents. In addition to viewing documents, it allows you to make some minor editing tasks to your PDF documents.
At a glance, here are some of the notable editing features:
- Annotating your documents. In annotation mode, you can highlight and underline text, add inline notes, and even append your own text.
- Adding text boxes, shapes, and stamps.
- Redacting text (Obscuring text for privacy or legal purposes).
- Append digital signatures to PDF documents.
The latest release is Okular 21.12 which was released on December 9, 2021.
Install Okular in Linux
You can install Okular from Flatpak, Snap, or using your distribution’s software store.
$ sudo apt install okular [On Debian, Ubuntu and Mint] $ sudo yum install okular [On RHEL/CentOS/Fedora and Rocky Linux/AlmaLinux] $ sudo emerge -a kde-apps/okular [On Gentoo Linux] $ sudo pacman -S okular [On Arch Linux] $ sudo zypper install okular [On OpenSUSE]
Scribus is an open-source desktop publishing software built for Linux and other UNIX-based systems such as Solaris, FreeBSD, and NetBSD. It is free and multi-platform and its main focus is in creative desktop publishing with stunning text layouts for high-quality, high-level printing and image-setting equipment. As such, It serves as a perfect substitute for other elaborate and expensive desktop publishing applications.
Scribus supports a long list of file formats including PDF, image formats such as JPEG, PNG, and TiFF, SVG, and vector formats such as EPS and Ai for Adobe Illustrator.
Unfortunately, Scribus doesn’t give you much leeway in terms of editing PDF documents. Like Okular, you are limited to making minor changes such as annotations using text, lines, and boxes.
3. Foxit PDF Editor & PDF Editor Pro
Foxit is a fully-featured, widely used, and multi-platform software that provides a comprehensive suite of PDF solutions that are tailored for your environment – whether it is a small or big company or even for individual use. It provides users with a PDF reader, PDF editor, PDF eSign, and other online document conversion solutions.
The Foxit PDF reader is free, however other PDF solutions including the PDF Editor are proprietary. The PDF editor gives you a 14-day trial after which you will be required to upgrade by purchasing a one-time lifetime purchase.
Foxit PDF editor allows you to perform the following tasks.
- Easily update PDF documents. You can fill forms, change document layout, modify font size, color, line spacing, add multimedia content and so much more.
- Permanently redact and remove text and images.
- Protect documents with password encryption.
- Digitally Sign PDF documents.
- Scan and COR documents.
- Export PDF files to multiple formats e.g doc, Excel, PowerPoint, etc.
- Splitting and merging documents.
- Sharing and collaborating on PDF documents.
- View and print PDF files.
On top of everything that the PDF Editor offers, the PDF Editor Pro version offers advanced editing, security, and collaboration features. It’s mostly used by large organizations and businesses that require advanced PDF editing solutions.
4. Master PDF Editor
Developed and maintained by Code Industry Master PDF editor is yet another cross-platform and proprietary PDF editor that comes equipped with robust PDF editing functionalities.
Unlike the Foxit Reader, Master PDF editor provides a free version that gives you basic PDF editing features. To harness the full potential of the PDF editor, users are required to upgrade to the full version.
With Master PDF Editor, you can:
- Create new PDF documents and modify existing ones.
- Create and fill in PDf forms.
- Create, edit, and remote bookmarks.
- Encrypt and/or protect PDF files using 128-bit encryption.
- Append PDF controls such as checkboxes, lists, buttons, etc into your PDF documents.
- Merge and split PDF files.
- OCR recognition.
- Export/import PDF images into widely-used formats such as PNG. JPEG and TIFF.
- Digitally sign PDF documents.
- Change font attributes such as font size, color, etc. In addition, you can italicize, underline and make the font appear bold.
Install Master PDF Editor in Linux
The installation of Master PDF Editor is quite straightforward. Head over to the official download page and download your distribution package.
----- On Debian-based Linux ----- $ wget https://code-industry.net/public/master-pdf-editor-5.8.20-qt5.x86_64.deb $ sudo apt install ./master-pdf-editor-5.8.20-qt5.x86_64.deb
----- On RHEL-based Linux ----- $ wget https://code-industry.net/public/master-pdf-editor-5.8.20-qt5.x86_64.rpm $ sudo rpm -ivh master-pdf-editor-5.8.20-qt5.x86_64.rpm
5. PDF Studio
Foxit PDF Editor or Master PDF Editor are quite pricey. If you are on a budget, you might want to consider PDF Studio – is a powerful and affordable commercial PDF editor developed by Qoppa Studio. It supports Windows, Linux, and also mac.
PDF studio provides two editions: Standard and Pro. The standard edition allows you to:
- Create new PDF documents and modify existing ones.
- Fill In & Save PDF Forms.
- Digitally Sign PDF documents.
- Create and modify watermarks, headers, and footers.
- Annotate documents with text, shapes, lines.
- Split and merge PDF documents.
- Protect / Secure PDF documents.
- Scan documents to PDF format.
The Pro version offers all the features in the standard version plus advanced editing techniques, optimization, and enhancement of PDf files.
Install PDF Studio in Linux
To install PDF Studio on Linux, head over to the official download page and download the 64-bit installation script.
Once downloaded, head over to the ‘Downloads’ directory.
$ cd Downloads
$ sh ./PDFStudio_linux64.sh
Before we wrap up, we saw it fit to make a special mention of the following free online PDF editors that provide immense flexibility in editing your PDF documents.
Whereas free, be reminded that they have limits for the number of documents and file sizes that you can upload, beyond which you will have to part with a few dollars.
- Sejda PDF Editor
- PDF Simpli
- PDF Escape
That was a roundup of some of the best PDF editors that you can leverage to edit your PDf documents in Linux.
Edit PDFs on the Linux command line
Many of the documents you receive come in PDF format. Sometimes those PDFs need to be manipulated. For example, pages might need to be removed or added, or you might need to sign or change a specific page.
Whether good or bad, this is the reality we all live in.
There are some fancy graphical user interface tools that let you edit
PDFs, but I have always been most comfortable with the command line. Of
the many command-line tools for this task, the ones I use when I want
to modify a PDF are
On Linux, you can install
poppler-utils using your package manager (such as
dnf.) For example, on Fedora:
$ sudo dnf install qpdf poppler-utils
On macOS, use MacPorts or Homebrew. On Windows, use Chocolatey.
qpdf command can do a lot, but I mostly use it for:
- Splitting a PDF into separate pages
- Concatenating, or combining, PDFs into one file
To split a PDF into separate pages:
qpdf --split-pages original.pdf split.pdf
This generates files like
split-02.pdf, and so on. Each file is a single-page PDF file.
Concatenating files is a little subtler:
qpdf --empty concatenated.pdf --pages split-*.pdf --
This is what
qpdf does by default. The
--empty option tells qpdf to start with an empty file. The two dashes (
at the end signals that there are no more files to process. This is a
case where the parameters reflect an internal model, rather than what
people use it for, but at least it runs and produces valid PDFs!
This package contains several utilities, but the one I use the most is pdftoppm, which converts PDF files to portable pixmap (
ppm) image files. I usually use it after I split pages with
qpdf and need to convert a specific page to an image that I can modify. The
ppm format is not well known, but the important thing about it is that most image manipulation methods, including ImageMagick, Pillow, and many other options, work with it. Most of these tools can save files back to PDF, too.
My usual workflow is:
qpdfto split the PDF into pages.
poppler-utilsto convert the pages that need to be changed into images.
- Modify the images as needed and save them to PDF.
qpdfto concatenate the pages back into one PDF.
There are many great open source commands to deal with PDFs, whether you're shrinking them, creating them from text files, converting documents, or trying your best to avoid them altogether. What are your favorite open source PDF utilities? Please share them in the comments.