Convert Base64 to an image
Reconstruct an image from Base64 or a Data URI and download it.
Workspace · Convert Base64 to an image
How to use it
Paste the Base64 or the full Data URI into the text box.
You can also upload a .txt file containing the string.
Click ‘Reconstruct image’, check the preview and download the file with the correct file extension.
Examples
Image embedded using CSS
Retrieve the original file from a Data URI copied from a stylesheet.
API response
Converts a Base64 field into a downloadable image so you can view it.
What you need to know
The tool accepts Base64 strings with or without the ‘data:’ prefix. It detects the actual file type from the first few bytes and supports PNG, JPG, GIF, WebP, BMP and SVG. Decoding takes place in the browser, and the limit is 25 MB to prevent the tab from freezing.
Frequently Asked Questions
Related tools
Other tools that can help with similar tasks.
Base64-encoded image
Convert an image to a Data URL for use in CSS, HTML or email.
Text-to-binary converter
Converts text to binary code and binary code to text.
Convert image to SVG
Vectorise logos, icons, drawings or photos to SVG with colour and black-and-white presets.
