Tools95

MAKE SOMETHING GREAT

Base64 to Image.

Decode Base64 or an image data URL to PNG, JPG, WebP and more. Preview the picture and download the original image bytes without recompression or upload.

Advertisements
Your image workspace
On your device
Paste Base64 image data to get started.IMAGE
Advertisements
Blog How to convert Base64 to an image Read the guide

Turn Base64 code back into an image

Paste a plain Base64 string or a complete image data URL to preview and download its original image. Base64 to Image checks the file contents and decodes the data in your browser.

Decode image data, check the picture and save the original file.
QUICK VIDEO TUTORIAL How to convert Base64 code into an image Paste a Base64 image or data URL, preview the decoded picture, choose Start and download the image in its original format. English narration Watch the video

How to convert Base64 code into an image

Features and controls

Paste a Base64 string or data URL

Start with encoded image data, without uploading a file.

Which text can I paste?

Paste plain Base64 or a data URL beginning with data:image/ and containing ;base64,. Spaces and line breaks in the encoded data are ignored. If you copied HTML or CSS, use only the data URL inside the src or background-image value; the full HTML element or CSS declaration is not accepted.

Check the decoded image

Select Continue to inspect the picture before saving.

How the preview is checked

The converter checks Base64 syntax, detects the image from its file signature and checks that your browser can decode it. A declared MIME type must match the actual file contents. In the editor, Preview image checks a changed string before export.

Download the original image format

Save PNG, JPG, WebP, GIF, BMP or AVIF according to the encoded file.

What happens to quality and animation?

Start prepares the image download in the format detected from the original bytes. The tool does not resize, recompress or redraw the picture. Existing metadata and GIF animation remain in the saved file. Use an image conversion tool afterward if you need another format.

Decode on your device

The pasted code stays in your browser during conversion.

How data is handled

Decoding, file checks, preview preparation and export run in the browser. The encoded image is not sent to the server for conversion. Download the result before refreshing or leaving the workflow.

Understand input limits

Decode one raster image up to 25 MB.

Supported formats and size limits

The decoded image must be no larger than 25 MB, 60 megapixels or 16,000 pixels per side. PNG, JPG, WebP, GIF, BMP and AVIF are supported if your browser can preview them. The text input has a separate length limit. SVG markup and arbitrary files are not accepted.

Files and processing

Input
Plain Base64 or a Base64 image data URL
Output
Original PNG, JPG, WebP, GIF, BMP or AVIF file

25 MB maximum per file. One input file per run.

One decoded image up to 25 MB, 60 megapixels and 16,000 pixels per side; the Base64 text length is also bounded.

Pasted data is decoded in your browser without uploading it for conversion.

This tool processes and exports files in your browser. The downloaded image is a separate file; the source on your device is not overwritten.

For an image result, use Continue to below the download results to choose a compatible next step. You can select which images to carry over; the next tool starts with its own settings.

Refreshing an editor or download page returns you to the tool page. Download the result before starting a new workflow. See our Privacy Policy for file handling.

FAQ

Good to know.

A few answers before you get started.

On your device
How do I convert Base64 to an image?

Paste a plain Base64 string or image data URL, select Continue, check the preview, then select Start and Download.

Can I paste a complete HTML image tag?

Use only the data URL inside its src attribute. A complete HTML element or CSS declaration is not accepted.

Will the picture lose quality?

No. Decoding recovers the original image bytes without resizing or recompression.

Can I choose JPG instead of PNG?

This tool restores the encoded file in its original format. Use an image converter afterward to change formats.

Why is my data URL rejected?

The data may be incomplete, exceed a limit, contain an unsupported format or declare a MIME type that does not match the actual image.

Is the Base64 data uploaded?

No. The converter decodes and previews the image locally in your browser.

Advertisements

Language38

English العربية Français Italiano Deutsch Español Português Nederlands Русский Türkçe 日本語 中文 हिन्दी Bahasa Indonesia Bahasa Melayu 한국어 Tiếng Việt ไทย Polski Svenska Українська Norsk বাংলা Ελληνικά فارسی اردو Čeština Dansk Magyar Română Suomi Български Filipino ქართული Slovenčina Azərbaycanca עברית Slovenščina

Choose your language. Video tutorials currently use English narration.