← Blog

Announcing Basic PDF, a PDF editor that stays in its lane

I really dislike Adobe. Probably because they could be so great. Their software is amazing and has a lot of features, unfortunately they are relentlessly trying to sell me all these features and I don't want them. I just want to open a PDF, maybe delete, add, or rearrange some pages, make some annotations, add a signature, fill out some forms. All in an app that runs locally, is lightweight, and cross-platform. And doesn't overstep its boundaries.

That's why I made Basic PDF.

It's free, MIT licensed, and the code is on GitHub: barrven/Basic-PDF. The current release is v3.1.2.

What it does

The whole feature list is the list of things I wanted, and not much else.

Pages

  • Continuous-scroll preview, with fit-to-width or stepped zoom from 50 to 200%
  • Rearrange pages by dragging thumbnails
  • Rotate, duplicate and delete pages
  • Insert blank pages, or pages from another PDF
  • Undo and redo, up to 50 steps

Marking up

  • Highlight selected text, with Ctrl/Cmd+H
  • Redact selected text. A redacted page is saved as an image, so the covered text can't be recovered from the file
  • A Markup ribbon with text, rectangles, ellipses, lines and freehand drawing, plus a colour and line-thickness picker
  • Select and copy text from pages, and find in the document with Ctrl/Cmd+F

Forms and signatures

  • Fill in forms: text fields, checkboxes, radio buttons, dropdowns and list boxes. Values are saved and the fields stay editable
  • Draw or upload a signature (PNG, JPEG or WebP), place it on any page, then drag and resize it. There's a library of up to 20 saved signatures
  • Optionally add a cryptographic signature on top of the stamp, using a self-signed certificate or one imported from a .p12 / .pfx file. The file shows if it's changed afterwards

Everything else

  • Light, dark or system display mode
  • A sidebar outline built from the PDF's bookmarks, or from headings detected by text size
  • Open a PDF by double-clicking it when Basic PDF is your default reader. Every file gets its own window
  • A prompt before you discard unsaved changes, including when you close the window

Stays responsive

Large PDFs are where a lot of lightweight tools fall over, so pages and thumbnails are rendered on demand, nearest the view first. Nothing renders until you're about to see it.

How it's built

Basic PDF is a Tauri app: a small Rust shell around the system WebView, rather than a bundled copy of a whole browser. That's a big part of why it's lightweight, and Tauri itself runs on Windows, macOS and Linux.

The shell handles the things only the operating system can do: file dialogs, reading and writing files, native prompts, settings, and holding the signing keys. The interface itself is vanilla JavaScript with native ES modules: no bundler and no framework.

Two libraries do the PDF work, each with a separate job:

LibraryJob
pdf.jsDraws pages to a canvas, and builds the text layer for select, copy and find
pdf-libBuilds the output file when you save: page order, rotation, form values, highlights, markup, redactions and signature stamps

All app state lives in one store that changes only through dispatch(action), and a single render() function reacts. It's a boring design, which is exactly what I wanted from it.

Keyboard shortcuts

ShortcutAction
Ctrl/Cmd+OOpen
Ctrl/Cmd+SSave
Ctrl/Cmd+Shift+SSave as
Ctrl/Cmd+ZUndo
Ctrl/Cmd+FFind in document
Ctrl/Cmd+HHighlight the selected text
[ and ]Rotate the page left or right

There are more in the README, and a right-click on any thumbnail gives you delete, rotate, duplicate and insert blank page.

What it deliberately doesn't do

"Doesn't overstep its boundaries" cuts both ways, so here are the limits:

  • XFA forms aren't supported. Standard AcroForm forms are.
  • One cryptographic signature per document, and no timestamp is added.
  • Self-signed certificates aren't trusted by other people's readers. They show the signature as intact but the signer as unverified.
  • Saving a PDF that's already digitally signed removes that signature, because saving rebuilds the file. Basic PDF warns you when you open one.
  • Only a Windows installer exists for now. The signing keys are protected with Windows DPAPI. The Tauri foundation is cross-platform, but I haven't built or tested other platforms yet.

Tested

There's a regression suite for the save pipeline, which is where a PDF editor can quietly lose your work, plus tests for the Rust signing code. Both run in CI on every push, along with a weekly security audit of the npm and Rust dependencies.

Try it

Grab the installer from the releases page, or build it from source with npm install and npm start. If something doesn't behave, or you want a feature that fits the "basic" brief, open an issue.