Convert Base64 to image
Paste a Base64 string (data URL) and get the resulting image ready to preview and download.
Processed on your device. Nothing is sent to any server.
Decodes the Base64 string into binary bytes and builds a file with the MIME type indicated in the string itself.
Use cases
- Recovering an image embedded in a config file or database.
- Visually checking the contents of a data URL.
- Extracting an image from an exported JSON.
How it works
- 1
Paste the Base64 text
Include the data:image/...;base64, prefix so the format is recognized.
- 2
Download the image
The preview appears automatically; download the file whenever you want.
Technical details
- The text must include the full "data:image/…;base64," prefix. A bare Base64 string without that prefix isn't recognized: add it yourself (for example "data:image/png;base64," in front).
- The file downloads with the extension given by the prefix itself (png, jpeg, webp, gif, svg+xml…).
- The data isn't checked to be a valid image: if no preview appears, the Base64 is incomplete or belongs to another file type.
Frequently asked questions
What format should the text have?
It must start with data: followed by the MIME type and ;base64, before the encoded data, e.g. data:image/png;base64,iVBORw0KG...