Open source · 2026

Fifteen PDF tools that do all the work in your browser

Free, open-source PDF tools that run entirely in the browser: merge, split, compress, convert, rotate, number, watermark, protect and unlock PDFs. Files are never uploaded, and the site's security policy stops the page from connecting anywhere else.

For
Open source
Role
Design and engineering
Year
2026
Industry
Developer Tools
Private PDF preview

Overview

Most online PDF tools upload your file to their servers, including the bank statements, contracts and ID scans people use them for most.

Private PDF does the same jobs inside the browser tab instead. The browser downloads the tools, built on pdf-lib, Mozilla's pdf.js and qpdf compiled to WebAssembly, and processes the file in memory on the device.

The problem

  • Popular PDF sites upload private documents to process them.
  • People cannot easily check what a site does with their file.
  • Free tools often add watermarks, sign-up walls or daily limits.

What it had to do

  • Nothing is uploaded, and the site can prove it.
  • Cover the everyday jobs: merge, split, compress, convert, protect and unlock.
  • One search-friendly page per task, each with clear steps and honest limits.

How I built it

  1. The right engine for each job

    pdf-lib handles merging, splitting, page numbers and watermarks. qpdf, compiled to WebAssembly and run in a Web Worker, handles AES-256 encryption, unlocking and repacking. pdf.js turns pages into images and text.

  2. Compression that keeps text sharp

    Only photos and scans are re-encoded, with the browser's own JPEG encoder, then qpdf repacks the file. If nothing gets smaller, the original comes back unchanged.

  3. Locked to its own origin

    A Content-Security-Policy and a Connection-Allowlist header stop the page from connecting to any other site, so even a bug could not send a file elsewhere.

What shipped

  • 15 tool pages: merge, split, compress, JPG and PNG to PDF, PDF to JPG, PNG and text, rotate, remove and extract pages, page numbers, watermark, protect and unlock.
  • Phone photos placed the right way up from their EXIF orientation, without re-encoding.
  • Unit tests for every PDF operation, and end-to-end browser tests run under the production security policy.

What came of it

  • Live at pdf.vivekbhange.tech and open source under the MIT licence.
  • A photo-heavy PDF shrinks by about 70% at the recommended setting.

What it does not do

  • Unlock PDF removes only a password you already know; it does not crack passwords.
  • Watermarks and page numbers support Latin characters only for now.
  • Merging keeps pages but not bookmarks or fillable form fields.

Built with

  • Open Source
  • Astro
  • WebAssembly
  • Privacy

Useful?

Have something like this to build?

Built by Vivek Bhange, Full-Stack AI Engineer in Pune, India. Open for freelance and collaboration.

Easter egg hunt

This site hides 16 surprises. Found ones stay found on this device. On a phone, type secret words into the command bar (the >_ button).

  1. RickrolledNot found yet

    Show hint

    My photo has a secret. Double-click it (on a phone, press and hold).

  2. Impatient clickerNot found yet

    Show hint

    Click anywhere, fast, about 25 times in a row.

  3. Agent of changeNot found yet

    Show hint

    Type the word that means "make it different".

  4. Gravity checkNot found yet

    Show hint

    Type my first name.

  5. Secret wordNot found yet

    Show hint

    Type something friendly, like "chai" or "namaste".

  6. HackerNot found yet

    Show hint

    Type what hackers do (four letters).

  7. The snapNot found yet

    Show hint

    Type the name of a purple villain who snaps.

  8. Sharp eyesNot found yet

    Show hint

    Something almost invisible floats on the screen. Find it and click it (desktop).

  9. Root accessNot found yet

    Show hint

    Open the command bar (press /, or tap >_ on a phone), then try to become root.

  10. Duck hunterNot found yet

    Show hint

    A rubber duck is hiding on the 3D island.

  11. World travellerNot found yet

    Show hint

    Visit all four views.

  12. Night owlNot found yet

    Show hint

    Come back between midnight and 4 a.m.

  13. Arcade regularNot found yet

    Show hint

    Play every quick game in the Arcade (the ones that open on the Arcade page).

  14. Chain reactorNot found yet

    Show hint

    Set off 30 bursts with a single move in Critical Mass.

  15. Last one standingNot found yet

    Show hint

    Win a match of Drop Zone.

  16. Code whizNot found yet

    Show hint

    Get 10 answers right in a row in Code Clash.

zsh — visitor@vivek: ~

Ask about Vivek

AI answers from this site's content. It can make mistakes.