Base64 Input
Image Preview
🖼
Paste base64 data on the left to preview the image
What is Base64 image encoding?
Base64 encoding converts binary image data into a string of ASCII characters, making it safe to embed in text-based formats like HTML, CSS, or JSON. A base64-encoded image can be used directly as an img src via a data URI: data:image/png;base64,…
Accepted input formats
- Raw base64 — just the base64 string with no prefix (the tool auto-detects the image format)
- Data URI — full
data:image/…;base64,…string - HTML img tag — paste an entire
<img src="data:image/…;base64,…">tag and the base64 is extracted automatically
Supported image types: PNG, JPEG, GIF, WebP, BMP, SVG, and more — any format your browser can display.