Image to Base64 / Base64 to Image
Convert images to Base64 data URIs for embedding in HTML/CSS, or paste Base64 back to preview and download the image. Detects PNG, JPEG, GIF, WebP, BMP, and SVG automatically. Files never leave your browser.
1 · Choose image (max 15MB)
How to use
- Pick Image to Base64 or Base64 to Image tab.
- Drop an image (max 15MB) or paste Base64 with or without the data prefix.
- Copy the text, or press Decode and preview then download the image.
FAQ
Are images uploaded?
No. Encoding and decoding run locally via FileReader and Blob URLs.
Why is Base64 ~33% bigger?
Base64 uses 4 characters per 3 bytes. Fine for small icons; prefer files or URLs for large photos.