How I Built a 100% Client-Side PDF Powerhouse with WebAssembly and React (Zero Cloud Uploads)
Why Does Every Online PDF Tool Want Your Credit Card and Your Tax Returns? Earlier this month, I had to upload a signed certificate to a government application portal. The portal had one strict requirement: "Uploaded PDF must be strictly below 100 KB." I did what everyone does: searched "compress PDF under 100kb" on Google. Every single top result was a multi-million-dollar SaaS product that:…
In this story, the reporter recounts their frustration with online PDF tools that require credit card information and upload sensitive documents to remote servers. The reporter sought a solution to compress PDF files under 100 KB without using costly SaaS products. After experimenting with modern web browser primitives like WebAssembly, HTML5 Canvas, Web Workers, and pdf-lib, the reporter developed PDFCraft, a completely private, zero-server alternative.
The technical breakdown reveals that PDFCraft operates entirely on the client device, using local memory, local processing engines, and instant download. To meet the strict 100KB target size, the tool extracts binary stream data, uses dynamic binary search quantization for resolution scaling and quantization factors, and performs iterative verification before download. For e-signing, the reporter implemented an in-browser vector signature pad that captures signatures via HTML5 Canvas and embeds them into the PDF page tree.
The ATS Resume Studio feature allows users to create single-page vector PDF resumes compatible with applicant tracking systems, includes a local keyword scanner, and exports the resume as clean, uncompressed vector text for machines to read. The reporter emphasizes that modern browser engines are powerful enough to replace most cloud utilities, and encourages feedback from the developer community on potential additions to the client-side suite. The live web app and open-source repository are linked for further exploration.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.