TOOL · 70 · Image
Encode an image to a base64 data URL for CSS/HTML, or decode base64 back into a downloadable image.
In short
Image ⇄ Base64 converts any image to a base64 data URL (for pasting into CSS or HTML) or decodes a base64 / data URL back into a downloadable image — done locally with the FileReader API.
Processed 100% in your browser — your files never leave your device.
Drop files here or click to browse
No signup · No watermark · Files never leave your device · Up to ~300 MB recommended
Step · 01
Choose Encode (image → base64) or Decode (base64 → image).
Step · 02
Drop your image or paste a data-URL / base64 string.
Step · 03
Copy the base64 for use in CSS/HTML data-URLs or download the decoded image.