DEV Community

Akhil Binu
Akhil Binu

Posted on

PDF & Media Studio — 100% Client-Side Privacy Toolkit

I got tired of two things every time I needed to quickly merge a contract, redact a bank statement, or convert an image:

  1. Uploading sensitive documents to random third-party servers just to run a 2-second operation.
  2. Hitting sudden paywalls, watermarks, or "2 free tasks per day" limits halfway through.

So I built PDF, Media & Security Studio — a free, MIT-licensed web app packing 37 browser-only utilities where every byte stays on your machine.

You can open the site, turn on Airplane Mode (or install it as a PWA), and keep using everything offline. There are no backend endpoints, no upload queues, and no telemetry.

How It Works Under the Hood
Modern browser APIs have gotten capable enough to replace most file-upload sites—and keeping everything local makes most workflows faster because there's zero upload/download latency:

  1. Document & PDF Engine (pdf-lib + pdfjs-dist) — 14 Tools
  2. Merge, split/extract page ranges (or burst into a ZIP via jszip), visually reorder thumbnails (@dnd-kit), rasterize pages to PNG/JPG, stamp watermarks/page numbers, and password-protect PDFs.
  3. Redactor & Digital Signer: Draw ink signatures via HTML5 Canvas or place permanent blackout/whiteout vector blocks.
  4. Visual Diff, Form Filler & Sanitizer: Compare two PDF revisions side-by-side/pixel-overlay, fill and flatten interactive AcroForms, strip tracking metadata before sharing, extract text streams, or compile live Markdown into A4 PDFs.
  5. Cryptography, Steganography & Dev Utilities (crypto.subtle + tesseract.js) — 9 Tools
  6. AES-256 File Vault: Uses native Web Crypto (crypto.subtle) with PBKDF2 (SHA-256, 100k iterations, random 16-byte salt & 12-byte IV) to encrypt any file into a .vault binary container.
  7. PNG LSB Steganography: Embeds UTF-8 payloads into the Least Significant Bits of RGB channels in PNG pixels. (Fun browser quirk I ran into: you have to skip the Alpha channel (i + 1) % 4 === 0, otherwise browser alpha-premultiplication corrupts the hidden payload bits).
  8. Local OCR & Dev Tools: Offline text extraction via tesseract.js WebAssembly workers, SHA-1/256/384/512 checksum verifier, QR generator/scanner, RFC 4180 JSON ↔ CSV converter, Base64 MIME sniffer, and Regex debugger.
  9. Images & Design — 10 Tools
  10. Client-side compression (browser-image-compression), multi-photo Image-to-PDF, WebP/PNG/JPEG converter, B&W receipt scanner (strips EXIF), multi-size Favicon + site.webmanifest packager, quantized color palette extractor, SVG bloat stripper, batch watermarker, and meme generator.
  11. Audio & Video (OfflineAudioContext + MediaRecorder) — 4 Tools
  12. Screen & Audio Recorder: Captures display streams (getDisplayMedia) and mixes mic input via AudioContext directly in memory.
  13. Audio Trimmer, Speed/Reverse & Video Frames: Processes waveform edits, speed changes (0.25x–3.0x), and audio reversal offline via OfflineAudioContext (exporting 16-bit PCM .wav), plus HTML5 Canvas video frame extraction to .zip.

Tech Stack & Architecture

  • Stack: React 19, TypeScript, Vite 8, Tailwind CSS v4.
  • Performance & Offline Caching: Configured manualChunks in Vite to isolate heavy WASM/PDF/image libraries (vendor-pdf, vendor-ocr, vendor-img, etc.) so initial load stays fast, paired with vite-plugin-pwa (Workbox) to cache assets for full offline use.

Looking for Feedback & Contributors

Everything is open source under MIT: https://github.com/Akhil-Binu/pdf-browser

Since everything runs inside client-side memory, I'd love feedback on edge cases—especially around weird PDF form encodings, large file memory limits on mobile browsers, or ideas for other everyday utilities that shouldn't require a server upload. Issues and PRs are very welcome!

Top comments (0)