Image → Base64
Upload an image and copy raw Base64, Data URI, HTML img, or CSS background snippets.
Tools / Image ↔ Base64
Free · Browser-side · Private
Encode images to Base64 / Data URI snippets, or decode Base64 back into a downloadable image. Ideal for CSS, HTML, and lightweight embeds — 100% in your browser.
Run Image ↔ Base64 entirely in your browser. Files stay on your device — nothing is uploaded to process this tool.
Launch Image ↔ Base64Free accounts get 3 Collections. Organize icons from the library and your workflow, then unlock bulk export with Pro.
Move between binary images and text payloads without leaving your device.
Upload an image and copy raw Base64, Data URI, HTML img, or CSS background snippets.
Paste Base64 or a data URI, preview the decoded image, and download it.
Generate HTML and CSS fragments for quick embedding in pages and components.
Pull Base64 from the clipboard and decode instantly when permissions allow.
Decoded downloads keep a sensible extension based on the image MIME type.
All encode/decode work stays local. Nothing is uploaded to process conversion.
Convert either direction in three steps
Switch between Image → Base64 and Base64 → Image depending on your task.
Upload an image to encode, or paste Base64 / Data URI text to decode.
Copy encoded snippets, or download the reconstructed image file.
Common questions about Image and Base64 conversion
Base64 / Data URIs are useful for tiny icons you want to inline in CSS or HTML. Larger photos are usually better as separate files.
Paste either a full data:image/...;base64,... URI or a raw Base64 payload. Invalid strings will show an error.
Yes. In encode mode, choose the HTML <img> output style and copy the generated markup.
Yes. Encoding and decoding run entirely in your browser.