Image ⇄ Base64 Converter
Convert images to Base64 (and back again) directly in your browser.
Output format
Image preview
Select an image file to see a preview and Base64 output.
Base64 output
Notes:
- This tool runs entirely in your browser — nothing is uploaded.
- Use the Image → Base64 tab to generate Base64 or Data URLs for images.
- Use the Base64 → Image tab to quickly check or preview decoded images.
Common use cases
- Embedding small icons or logos directly in HTML or CSS.
- Storing image data inside JSON or configuration files.
- Testing APIs that accept or return Base64-encoded images.
- Quickly inspecting Base64 payloads from logs or responses.