DEV Community

Cover image for How I Built a Privacy-First Image PDF Converter in less than 48 Hours (No Backend)
Nzuki Mwaniki
Nzuki Mwaniki

Posted on

How I Built a Privacy-First Image PDF Converter in less than 48 Hours (No Backend)

Every time I needed to shrink a PNG for a PR or extract images from a PDF, I ended up on shady sites with ads, tracking, and file uploads. So I built Swiftpix — a dead-simple, client-side tool that does it all in your browser.

What it does

  • Convert between JPG, PNG, WebP PDF
  • Resize images (width/height, %, or fit)
  • Drag & drop or paste files — no login, no server How it works
  • PDF parsing: pdf.js (Mozilla’s open-source library)
  • Image ops: HTML5 Canvas + createImageBitmap
  • File handling: Native File API + Blob URLs
  • Zero external requests — everything runs locally

Why developers love it

  • ✅ No cost to host (static site only)
  • ✅ Works offline after first load
  • ✅ Respects user privacy (files never leave the browser)
  • ✅ Lightweight (~50KB total)

Try it
👉 https://swiftpix.nzuki.com/

(P.S. I’m also available for AI/automation projects — helping startups ship faster. velocity-ai-solutions.nzuki.com)

Top comments (0)