Skip to content

Convert Base64 to an image

Reconstruct an image from Base64 or a Data URI and download it.

It works in your browser. We do not store or send anything you type.Free · No sign-up required

Workspace · Convert Base64 to an image

Runs in your browser · 100% local
Cargando herramienta…
Files are processed in your browser; if you are signed in with history enabled, text results appear in your history.
Instructions

How to use it

01

Paste the Base64 or the full Data URI into the text box.

02

You can also upload a .txt file containing the string.

03

Click ‘Reconstruct image’, check the preview and download the file with the correct file extension.

Examples

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.

Reference guide

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

Frequently Asked Questions

Check that the Base64 string is complete and does not contain any unusual characters. If the ‘=’ padding is missing, the string may be truncated.

Related tools

Other tools that can help with similar tasks.

More at Images→
Convert Base64 to an image online (PNG, JPG, SVG) · ByTooly