PDF tools that never upload your files. Merge, split, rotate, compress, delete pages, add page numbers, convert to and from Word/Excel/images/text, OCR scans, and chat with PDFs — everything runs in your browser. No server, no accounts, no file ever leaves your device.
Every "free online PDF tool" uploads your document to someone else's server. For a resume that's annoying; for a contract, medical record, or financial statement it's a compliance problem. AirgapPDF is a static site: the PDF processing happens in your browser via pdf-lib and pdf.js. There is no backend to trust — you can read every line of code in this repo, or self-host it and cut the internet entirely (tools keep working offline after first load).
The one exception is Chat with PDF, which sends the document you choose directly from your browser to the Claude API using your own API key. Nothing routes through us — there is no "us" to route through.
Merge · Split (extract ranges) · Delete pages · Rotate · Compress · Images → PDF · PDF → Word/text/HTML/Markdown/images · Word → PDF · Excel → PDF · Text/Markdown → PDF · PDF → JPG/PNG · OCR scanned PDFs (searchable PDF / Word / text, on-device Tesseract) · Page numbers · Chat with PDF (AI Q&A / summaries, BYO Claude key)
airgappdf.com is ad-supported. Ads are wired in one place, ads.js, which fills the
.ad-slot placeholders on each page; until a publisher id is set there, the slots are
hidden, so self-hosted copies are ad-free by default. Ads never see your files.
See privacy.html.
It's a static site — any web server works:
# Docker
docker build -t airgappdf . && docker run -p 8080:80 airgappdf
# or literally anything that serves files
python3 -m http.server 8080No build step. Edit the HTML/JS, refresh the browser. Libraries load from CDN via
import maps; the same pdf-tools.mjs module is unit-tested in Node:
npm install
npm test # logic self-check
node browser-check.mjs # end-to-end check in headless Chromium (server must be running)Local scripts are referenced with a ?v= stamp (e.g. ./ui.js?v=20260906b) because GitHub
Pages caches files for hours; bump the stamp in every HTML file (and formats.js) when you
change a shared module, or visitors get a new page with stale imports.
Adding a tool = one new HTML page + (usually) one function in pdf-tools.mjs.
Copy rotate.html as a template. Browser-only helpers (pdf.js rendering, DOCX/ZIP output)
live in formats.js.
