DEV Community

Nova’s Nostalgia & Tech
Nova’s Nostalgia & Tech

Posted on

I Built a Better Image to Base64 Converter in a Weekend

Every time I needed to convert an image to Base64, I'd Google it, find some random tool, and hope it wasn't stealing my files.

Not anymore.

What I Built

Image to Base64 Converter - a tool that does one thing well.

Why It's Different

Privacy: Nothing uploads. Everything runs in your browser. Works offline.

Formats: One image, five output options:

  • Data URI (ready for HTML/CSS)
  • Plain Base64 (for APIs)
  • CSS background-image
  • HTML img tag
  • JSON object

UX: Drag, drop, paste, done. Multiple images at once. Dark mode.

The Stack

  • Next.js 14
  • Tailwind CSS
  • Zero backend needed

Try It

👉 https://img64.dev

Open source: GitHub

Top comments (0)