← Image Tools
š¼️
Image to Base64 Converter
Convert any image file to a Base64 encoded string for embedding directly in HTML, CSS or JSON. Also decode Base64 strings back to a viewable image preview.
Image → Base64
š Click to select image (PNG, JPG, GIF, SVG, WebP)
or drag and drop here
or drag and drop here
Base64 string will appear here
Base64 → Image Preview
How to Use
1
Select an image
Click the drop zone or drag an image file onto it. Supports PNG, JPG, GIF, SVG and WebP.
2
Copy the Base64 string
The full data URI appears in the output box. Copy it to embed in your HTML <img src> or CSS background.
3
Preview any Base64
Paste a Base64 data URI in the second box and click Preview to render it as an image.