Target keyword · pdf editor for ubuntu
The Best PDF Editor for Ubuntu (22.04/24.04 LTS and GNOME)
Ubuntu ships without a dedicated PDF editor by default, so most users end up piecing together a workflow from LibreOffice, a document viewer, and whatever the Snap Store or Flathub happens to offer. The right choice depends on whether you're annotating a PDF, filling a form, merging scanned pages, or need pixel-accurate text edits — and on which Ubuntu LTS release and desktop environment you're running.
This guide covers the practical options for finding the best pdf editor for ubuntu in 2026: native GNOME-friendly apps, package manager installs via apt, snap, and flatpak, command-line tools for scripting, and a zero-install browser-based alternative for when you just need to get a quick edit done without touching your package manager.
Why Ubuntu Doesn't Ship a Built-In PDF Editor
Ubuntu's default installation includes a PDF viewer (Document Viewer / Evince, or Papers on newer GNOME releases) but no full editor. Viewing, form-filling, and light annotation are treated as separate concerns from document creation in the GNOME ecosystem, which is why LibreOffice — Ubuntu's default office suite — becomes the de facto editor for many users through its Draw module.
That gap has been filled by a mix of open-source desktop apps, self-hosted web tools, and commercial Linux-native software, each installable through Ubuntu's three main packaging systems: apt (deb packages from Ubuntu's repositories or PPAs), snap (Canonical's sandboxed format, preinstalled on Ubuntu), and flatpak (via Flathub, popular for GNOME apps but requiring one-time setup).
The Best PDF Editor for Ubuntu: Top Options Compared
LibreOffice Draw
LibreOffice Draw opens a PDF as an editable object-based document, letting you move text boxes, images, and shapes. It's already installed on most Ubuntu desktops, or reinstallable with: sudo apt install libreoffice-draw. It handles simple layouts well but tends to mangle complex, text-heavy PDFs by breaking paragraphs into disconnected text frames.
Okular
Okular is KDE's document viewer, but it runs fine under GNOME and includes solid annotation tools — highlights, freehand drawing, stamps, and form filling. Install it with: sudo apt install okular, or via flatpak: flatpak install flathub org.kde.okular. It's a viewer-plus-annotator, not a layout editor.
Xournal++
Xournal++ is built for handwritten notes and annotations on PDFs, especially useful with a stylus on a 2-in-1 Ubuntu laptop. Install with: sudo apt install xournalpp, or snap install xournalpp. It exports back to PDF but isn't meant for editing existing text content.
PDF Arranger
PDF Arranger is a GTK front-end for merging, splitting, rotating, and reordering pages — ideal for GNOME users who want a native-feeling page management tool. Install with: sudo apt install pdfarranger, or flatpak install flathub com.github.jeromerobert.pdfarranger. It doesn't touch text or images inside pages.
Master PDF Editor
Master PDF Editor is a commercial (with a free non-commercial tier) Linux-native app offering real text editing, form creation, digital signatures, and redaction. It's distributed as a .deb or .run installer from the vendor's site rather than the Ubuntu repositories, so you'll need to download it directly and install with: sudo dpkg -i masterpdfeditor*.deb.
Stirling PDF
Stirling PDF is a self-hosted, browser-accessed toolkit covering merging, splitting, compression, OCR, watermarking, and more. On Ubuntu it typically runs via Docker: docker run -d -p 8080:8080 stirlingtools/stirling-pdf:latest, after which you access it at localhost:8080. It's powerful but adds a maintenance burden — updates, container management, and local network exposure to think about.
Firefox and Chrome Built-In Viewers
Both browsers ship on Ubuntu with built-in PDF viewers (PDF.js in Firefox, PDFium in Chrome) that support basic form filling, freehand drawing, and adding text — no install needed. They're fine for quick annotations but lack merging, compression, page management, or true content editing.
Installing PDF Tools on Ubuntu: apt, snap, and flatpak
Ubuntu supports three overlapping package managers, and PDF tools are scattered across all of them:
- apt — Ubuntu's native package manager, pulling from official repositories. Example: sudo apt update && sudo apt install okular pdfarranger qpdf pdftk ghostscript
- snap — preinstalled on Ubuntu since 16.04, runs sandboxed apps that auto-update. Example: sudo snap install xournalpp
- flatpak — not preinstalled on Ubuntu; enable it first with sudo apt install flatpak && sudo apt install gnome-software-plugin-flatpak, then add Flathub: flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Command-Line PDF Tools for GNOME and Scripting
Ubuntu's terminal-first culture makes CLI tools genuinely practical for batch PDF work, cron jobs, or Nautilus (Files) 'Open With' scripts:
- qpdf — install with sudo apt install qpdf; handles linearization, decryption, page splitting, and repair of malformed PDFs.
- pdftk — install with sudo apt install pdftk-java (the Java-based fork maintained for modern Ubuntu); merges, splits, and fills forms from the command line.
- Ghostscript — install with sudo apt install ghostscript; commonly used for compression, e.g. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -o output.pdf input.pdf.
- poppler-utils — install with sudo apt install poppler-utils; provides pdftotext, pdftoppm, and pdfinfo for extraction and conversion pipelines.
Comparison Table: Ubuntu PDF Editors at a Glance
| Tool | Install Method | Best For | Text Editing | Cost |
|---|---|---|---|---|
| LibreOffice Draw | apt | Simple layout edits | Limited/breaks complex text | Free |
| Okular | apt, flatpak | Viewing + annotating + forms | No | Free |
| Xournal++ | apt, snap | Handwritten notes/annotation | No | Free |
| PDF Arranger | apt, flatpak | Merge/split/reorder pages | No | Free |
| Master PDF Editor | deb/run installer | Real text edits, redaction, signatures | Yes | Free tier + paid |
| Stirling PDF | Docker | Self-hosted all-in-one toolkit | No (page-level ops) | Free, self-hosted |
| Browser built-ins | None | Quick form fill/markup | No | Free |
| PDF Editor AI | None (web app) | Merge, split, annotate, sign, no install | No full re-flow | Free |
When a Browser-Based Editor Beats Installing Software
Installing and maintaining native apps makes sense for daily, heavy PDF work. But for occasional tasks — merging two files, adding a signature, splitting a scanned packet — juggling apt, snap, and flatpak versions of overlapping tools adds friction, especially across multiple Ubuntu machines or a fresh install.
PDF Editor AI (pdfai2026.lovable.app) runs entirely in the browser on Ubuntu — Firefox, Chrome, or Chromium — with no package to install and no file uploaded to a server; processing happens locally in your browser tab. It covers merging, splitting, compressing, rotating, watermarking, page numbering, form filling, and adding signatures, which handles the majority of everyday PDF tasks without touching your package manager.
It's not a replacement for Master PDF Editor's redaction and true text-reflow editing, and it doesn't include OCR for scanned documents — for those, Okular's annotation tools or a dedicated OCR pipeline (like Tesseract, installable with sudo apt install tesseract-ocr) remain the better fit on Ubuntu.
Pros and Cons of Ubuntu's PDF Editing Landscape
Pros
- Multiple free, open-source tools cover nearly every common PDF task
- Three package managers (apt, snap, flatpak) give installation flexibility and fallback options
- CLI tools (qpdf, pdftk, Ghostscript) make automation and scripting straightforward
- Browser-based tools like PDF Editor AI need zero installation or maintenance
Cons
- No single native app matches Adobe Acrobat's full editing feature set
- Fragmented ecosystem means switching tools depending on the task
- Commercial-grade text editing (Master PDF Editor) requires a paid license for full features
- Snap and Flatpak versions can lag behind apt or vendor releases in updates
Best Practices for PDF Editing on Ubuntu
- Match the tool to the task: use PDF Arranger for page operations, Okular for annotation, LibreOffice Draw only for simple layouts.
- Prefer apt packages from Ubuntu's repositories for stability on LTS releases; use snap or flatpak when a tool isn't packaged natively.
- Keep a backup of the original PDF before running batch Ghostscript compression, since aggressive settings can degrade image quality irreversibly.
- Use pdftk-java or qpdf in scripts for repeatable, unattended processing rather than manually repeating GUI steps.
- For sensitive documents, favor local tools (native apps or a browser tool that doesn't upload files) over web services that require sending files to a server.
Common Mistakes to Avoid
- Assuming LibreOffice Draw can cleanly re-edit dense, multi-column PDFs — it often scrambles text frames.
- Installing the same tool via both apt and snap, causing version conflicts and confusion over which binary runs.
- Forgetting flatpak needs Flathub added manually on Ubuntu before flatpak install commands will find anything.
- Using outdated pdftk (the original Java-free build) on modern Ubuntu instead of the maintained pdftk-java fork.
- Uploading confidential PDFs to random online converters instead of using local or in-browser tools that don't transmit files.
Security and Privacy Considerations
Native Ubuntu apps (Okular, Xournal++, PDF Arranger, Master PDF Editor) process files entirely on your machine, which is ideal for sensitive documents like contracts or medical records. Self-hosted Stirling PDF keeps data on your own server or machine too, but running it as a Docker container means keeping the image patched and access controlled if it's reachable on your network.
Browser-based tools vary: some upload your file to a remote server for processing, which is a real privacy consideration for confidential documents. PDF Editor AI processes files client-side in the browser rather than uploading them, which keeps the workflow closer to a local desktop tool in terms of data handling, though you should still verify this behavior for any tool before using it with regulated or sensitive content.
Expert Tips for GNOME Workflows
- Set Okular as the default PDF handler in GNOME Settings > Default Applications if you annotate frequently — it integrates cleanly with Nautilus file previews.
- Add a custom Nautilus script wrapping a Ghostscript compression command for one-click 'Compress PDF' from the right-click menu.
- Use GNOME's built-in screenshot tool alongside Xournal++ for quickly annotating and re-exporting scanned pages.
- Pin frequently used PDF tools to the GNOME dock via Ubuntu's Activities overview for faster access than searching each time.
- For multi-monitor Ubuntu setups, Master PDF Editor's dockable panels make side-by-side review and editing more efficient than single-window tools.
Conclusion: Choosing the Best PDF Editor for Ubuntu
There's no single best pdf editor for ubuntu that covers every task — the practical answer is a small toolkit: PDF Arranger or qpdf for page operations, Okular for annotation and forms, Master PDF Editor when you need real text editing, and a browser-based tool like PDF Editor AI for quick, install-free tasks across any Ubuntu machine. Match the tool to what you're actually doing, install through apt or flatpak where possible for easier maintenance, and lean on CLI tools once a task becomes repetitive.
FAQ
What is the best PDF editor for Ubuntu overall?
There isn't one tool that does everything well. For annotation and forms, Okular is the strongest native option. For real text editing, Master PDF Editor is the most capable. For page management, PDF Arranger is simplest. For occasional, install-free edits, a browser tool like PDF Editor AI covers most everyday needs.
Does Ubuntu come with a PDF editor by default?
No. Ubuntu includes a PDF viewer (Document Viewer/Evince or Papers) but no editor. LibreOffice, which is preinstalled, can open PDFs in Draw for basic edits, but it's not a dedicated PDF editor.
Can I edit PDF text directly on Ubuntu for free?
Yes, with limits. LibreOffice Draw allows basic text edits on simple PDFs for free. Master PDF Editor offers a free non-commercial tier with more reliable text editing but restricts commercial use without a paid license.
How do I install a PDF editor via snap on Ubuntu?
Snap is preinstalled on Ubuntu. Run a command like sudo snap install xournalpp in a terminal, and the app will appear in your Activities menu once installed.
How do I set up flatpak on Ubuntu for PDF apps?
Install flatpak with sudo apt install flatpak, then add the Flathub repository with flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo. After that, you can install apps like flatpak install flathub org.kde.okular.
What's the difference between pdftk and qpdf on Ubuntu?
pdftk (install as pdftk-java) is geared toward merging, splitting, and form filling, with a simple command syntax. qpdf focuses on structural operations like repair, linearization, decryption, and page selection. Many workflows use both.
Is Stirling PDF a good choice for Ubuntu users?
It's a strong choice if you're comfortable running Docker and want an all-in-one, self-hosted web toolkit covering OCR, compression, and watermarking. It requires more setup and maintenance than a native app or a browser tool.
Can I fill out PDF forms in Ubuntu's default browser?
Yes. Firefox's built-in PDF.js viewer and Chrome's PDFium viewer both support filling interactive form fields and saving the result, without installing anything extra.
Does PDF Editor AI require any installation on Ubuntu?
No. It runs directly in any Ubuntu browser (Firefox, Chrome, Chromium) as a web app, with files processed locally in the browser rather than uploaded to a server, and nothing to install or update.
What should I use for redacting sensitive PDF content on Ubuntu?
Master PDF Editor includes a dedicated redaction tool that permanently removes content rather than just covering it visually, which is important since simple black-box overlays in other tools can leave the underlying text extractable.
How do I compress a large PDF on Ubuntu from the terminal?
Use Ghostscript: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -o output.pdf input.pdf. The /ebook setting balances quality and file size; /screen compresses further at lower quality.
Are Snap versions of PDF apps slower than apt versions?
Snap apps can have a slightly slower cold-start time due to sandboxing, but runtime performance for PDF editing is generally comparable to apt-installed versions on modern Ubuntu LTS releases.
Sources and further reading
Keep reading
- How to Edit a PDF Without Uploading It Anywhere (2026 Guide)
- Choosing a Browser-Based PDF Editor in 2026
- Offline PDF Tools: Editors That Work Without an Internet Connection
- Best PDF Editors for Linux (2026 Guide)
- Local PDF Processing: Editing Your PDF in the Browser Without a Server
- Private PDF Tools: A Practical Guide for Privacy-Conscious Users
Related tools
Merge PDF files locally in your browser
Merge PDF files securely inside your browser without uploading files to servers. Fast, private, browser-based PDF merging that works offline.
Open toolSplit a PDF without uploading it anywhere
Split a PDF into individual pages or page ranges directly in your browser. No uploads, no servers, completely private.
Open toolA browser-based PDF editor you can trust
Edit PDFs in any modern browser. No installer, no extension, no servers. Pure browser-based PDF editing.
Open tool