New tool — Image to Base64 / Data URL converter
Encode an image to a Base64 data URL for inlining, or paste a data URL/Base64 to preview and download it.
A new converter just landed: Image to Base64 / Data URL. It goes both ways and runs entirely in your browser — no uploads.
Both directions
- Image → Data URL. Drop a PNG, JPEG, WebP, GIF, SVG, BMP or AVIF and get the
data:URL, with one-click copies for the full data URL, the Base64 payload only, a ready<img>tag, and a CSSbackground-image. - Data URL → Image. Paste a data URL — or just a bare Base64 string — and it detects the type, previews the image, and lets you download it.
Inlining is handy for tiny assets (icons, a 1px texture, small SVGs) where skipping an HTTP request beats the ~33% size bump from Base64. For bigger images, shrink them first with the image compressor.
Now at 33 tools and 25 snippets. Browse tools, snippets, or subscribe via RSS.