local/tools
pdf / Native app / v1.0.7

PDF Toolkit

Merge, split, reorder, rotate, compress, stamp, number, encrypt and fill PDF forms, offline.

Install

  • install
    irm https://raw.githubusercontent.com/chayprabs/localtools/main/pdf-toolkit/install.ps1 | iex
  • update
    localtools-pdf-toolkit update
  • remove
    localtools-pdf-toolkit uninstall

Opens at http://127.0.0.1:47102 in your browser. Run localtools-pdf-toolkit --help for the command line. Set LOCALTOOLS_NO_OPEN=1 to install without opening it.

Direct download

PlatformFileSize
Windows x64pdf-toolkit-1.0.7-windows-x64.zip5.5 MB
macOS Apple Siliconpdf-toolkit-1.0.7-macos-arm64.zip4.9 MB
macOS Intelpdf-toolkit-1.0.7-macos-x64.zip5.4 MB
Linux x64pdf-toolkit-1.0.7-linux-x64.zip5.3 MB
Linux ARM64pdf-toolkit-1.0.7-linux-arm64.zip4.8 MB

SHA-256 checksums are in the release notes; the install scripts verify them for you.

See it

How to use

  1. Open PDF Toolkit (it starts at http://127.0.0.1:47102).
  2. Pick the operation: Merge, Split, Pages, Rotate, Compress, Stamp, Numbers, Encrypt, Decrypt, Metadata or Forms.
  3. Drop your PDF (several for Merge, then order them and set page ranges per file).
  4. Set the options shown for that operation and press the button.
  5. Check the page count and size, then download the result. From a terminal: localtools-pdf-toolkit merge a.pdf b.pdf -o out.pdf.

FAQ

Does compress really make files smaller?

Lossless mode removes duplicate and unused objects, which helps on bloated files but not on tight ones (the original is returned if nothing smaller is found). Medium and strong also downsample large photos and re-encode them as JPEG, which is where most of the size goes: a photo PDF went from 1.7 MB to 246 KB in testing. Line art, screenshots, CMYK and 1-bit images are left untouched.

How do I fill a PDF form automatically?

Run localtools-pdf-toolkit export form.pdf > data.json to get every field with its current value, edit the values, then localtools-pdf-toolkit fill form.pdf data.json -o filled.pdf. XFDF and FDF files exported from Acrobat work too, and --flatten bakes the values into the page.

Which encryption does it use?

AES-256. Where the file can be written as PDF 2.0 it uses the PDF 2.0 standard handler (revision 6); otherwise the older AES-256 scheme (revision 5), and the result tells you which. You can set a password to open the file, an owner password, and whether printing, copying, commenting and editing are allowed.

Can it handle large files?

Yes, up to about 400 MB in the app. A 1200-page PDF rotates in under a second and a 200 MB file in about 1.5 s. The whole document is held in memory (about 5x the file size at peak), each job may use up to 2 GiB, and at most two jobs run at once.

Are my PDFs uploaded?

No. The page only talks to the local server on 127.0.0.1, the tool makes no network requests, and uploaded files are deleted as soon as each request finishes.