How to Sign a PDF on Linux

No Preview, no Acrobat: on Linux you sign in the browser, in a pen-friendly app like Xournal++, in LibreOffice Draw, or from the terminal. Here is how each route works and where it trips people up.

Works on all distrosNothing to installNo file uploadsFrom €2.08/month

Loading editor...

1. In the browser (no packages)

The editor above runs in Firefox, Chrome, Chromium, Brave or Vivaldi on any distribution, from a Flatpak or snap browser too.

  1. Drag the PDF from your file manager onto Drop your PDF here, or click the box to pick it.
  2. Sign on the Draw tab with mouse, touchpad or tablet and click Use This Signature, or switch to Type and pick a handwriting style for your name.
  3. Click the signature line on the page. Hover the placed signature to show its resize square and delete button; drag it to adjust.
  4. Use Previous/Next for other pages; Add Initials, Add Date and Add Text fill the remaining boxes of the form. Ctrl+Z undoes, Ctrl+Y redoes.
  5. Click Confirm & Download Signed PDF; the file is saved as name-signed.pdf. A plan is needed for this last step.

Signatures are embedded as images and form fields you fill in are flattened, so the result looks the same in Evince, Okular, Firefox’s viewer or any other reader.

2. Xournal++ (best with a pen tablet)

Xournal++ is an open-source note-taking and PDF annotation app. Per its README, it is in the official repositories of Debian (bookworm and later), Ubuntu 22.04 and later, Fedora, openSUSE Tumbleweed and Arch, and on Flathub:

sudo apt install xournalpp          # Debian, Ubuntu
sudo dnf install xournalpp          # Fedora
sudo zypper in xournalpp            # openSUSE Tumbleweed
sudo pacman -S xournalpp            # Arch
flatpak install flathub com.github.xournalpp.xournalpp
  1. Open the PDF (File → Annotate PDF, or xournalpp file.pdf).
  2. Pick the pen, set width and color, and sign on the line, ideally with a tablet.
  3. Use File → Export as PDF to write a new PDF with the signature in it. Saving normally creates a .xopp project file instead.

3. LibreOffice Draw (often already installed)

Draw ships with a PDF import filter that can open and edit some PDFs. Open the file in Draw, choose Insert → Image and pick a PNG of your signature (transparent background works best), place and size it, then use File → Export as PDF. The catch: Draw rebuilds the page from the PDF’s contents, so fonts and spacing can shift on complex layouts. Compare the export with the original before you send it.

4. From the terminal with pdftk

If you script your paperwork, pdftk can overlay one PDF on another. Its stamp operation lays the first page of a stamp PDF over every page of the document; multistamp applies stamp page 1 to page 1, page 2 to page 2 and so on. To sign a single page you therefore need a stamp PDF with the same page size and the signature already in the right position:

pdftk contract.pdf multistamp signature-pages.pdf output contract-signed.pdf

Getting the position right is trial and error, which is why most people only use this for repeated, identical forms.

Which method to pick

MethodInstallGood for
Browser (SigPDF)NoneTyped or drawn signature, dates, initials, form fields
Xournal++Package or FlatpakHandwritten signatures with a tablet
LibreOffice DrawUsually preinstalledSimple PDFs plus a signature image
pdftkPackageScripted, repeated forms

Common problems on Linux

  • Password-protected PDF. The browser editor rejects encrypted files. Remove the password (for example, open the file and print it to a new PDF with your system’s “Print to File” printer) and sign the copy.
  • Touchpad signature looks rough. Use the Type tab, or photograph your paper signature and add it with Add Photo.
  • Xournal++ saved a .xopp file. That is the project format; export to PDF to get a document you can send.
  • The browser blocks the download. Allow downloads for sigpdf.com in the browser’s site settings and click the button again.

Signing on other systems: Windows, Mac or Android.

Linux signing FAQ

What is the easiest way to sign a PDF on Ubuntu?
Open the editor on this page in Firefox or Chrome, drop the PDF in, draw or type your signature and click where it goes. Nothing is installed. If you prefer a desktop app, Xournal++ is in Ubuntu’s repositories from 22.04 on (sudo apt install xournalpp).
Is there Adobe Acrobat for Linux?
Adobe does not offer a current Acrobat Reader for Linux. Browser tools, Xournal++ and LibreOffice Draw cover signing; for certificate-based digital signatures LibreOffice also has its own signing feature.
Does browser signing work on Wayland and X11?
Yes. The editor only needs a current browser, so the display server and desktop (GNOME, KDE Plasma, Xfce and others) make no difference.
Can I sign a PDF on Linux with a drawing tablet?
Yes. Xournal++ is built for pen input and works well with Wacom-style tablets. In the browser editor a tablet behaves like a mouse, which is still steadier than a touchpad.
Is SigPDF free on Linux?
You can try the whole editor without an account. Saving the signed PDF requires a plan: €2.99 a month or €24.99 a year, with no per-document fees. Xournal++ and LibreOffice are free, open-source alternatives.
Does the PDF leave my machine?
No. With SigPDF the browser opens the file locally and writes the signature into it on your computer; the signed copy is saved to your Downloads directory. Xournal++, LibreOffice and pdftk are local too.

Sources: Xournal++ README (github.com/xournalpp/xournalpp), pdftk manual (pdflabs.com), LibreOffice Getting Started Guide (documentfoundation.org).