How to Use the Base64 to Image Converter: Steps and a Worked Example
Turn Base64 text or a data URL back into an image you can see and download: PNG, JPG, GIF, WebP, SVG and more. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Base64 to Image Converter tool is free, needs no account and runs in your browser.
What you need
- Paste Base64 or a data URL
Step by step
- Open the Base64 to Image Converter tool.
- Fill in Paste Base64 or a data URL.
- Read the result, which updates as soon as the inputs change.
Worked example
the tool returns:
Image type: PNG
Dimensions: 2 × 2 px
Decoded size: 77 bytes
How it works
The text is decoded from Base64 back to bytes; the image type is recognised from the first bytes of the file, not from the label in the data URL. Everything runs in your browser, so nothing you type is uploaded.
Things to keep in mind
Up to 25 MB once decoded. Plain Base64, URL-safe Base64, data URLs and HTML or CSS that contain a data URL all work. Supported types: PNG, JPG, GIF, WebP, SVG, BMP, ICO, TIFF, AVIF and HEIC; some of these may not preview in every browser.
Related tools
If this is not quite what you need, try Image to Base64 Converter, Base64 Encoder and Decoder or SVG to PNG Converter.