Convert Base64 to an image
Your files are processed on your device. We never upload them.
How to convert Base64 to an image
- 01A ▸Paste the Base64 text or the whole data URI into the box.
- 02A ▸Select Decode image to see the picture.
- 03A ▸Download it, with the right file type picked from its contents.
Questions
What can I paste?
Plain Base64, URL-safe Base64, or a whole data URI such as data:image/png;base64,iVBOR…, with or without line breaks. A CSS url(…) around it works too.
Is my text uploaded?
No. Your files are processed on your device. We never upload them. The text you paste is decoded on your device too.
How does it know the file type?
From the decoded bytes, not the label in the data URI, which is sometimes wrong. A PNG labelled as JPEG still downloads as a .png.
Is it safe to decode an SVG?
The preview shows SVGs as a picture, which never runs scripts inside them. The downloaded file is exactly what was encoded, so open it in an image app rather than a browser tab if you don't trust where it came from.
Why does it say the text isn't a picture?
The Base64 may encode another kind of file, such as a font or a PDF, or it may be cut short. Copying from a long line sometimes misses the end; copy it again.