Base64 Image Decoder

Base64 input
Paste a data URL or raw Base64. We will tidy common issues automatically.
{{ inputCharCount.toLocaleString() }} chars ~{{ inputSize }} Detected: {{ detectedLabel }} Header based
Auto-fixes applied: {{ fixDetails.join(', ') }}.
Potential issues: {{ warningDetails.join(', ') }}.
Example: {{ sampleSnippet }}
{{ errorMessage }}
  • {{ detail }}

Your preview will appear here.

Converting your Base64 data...

Unable to convert this Base64 input.

Output: {{ outputLabel }} Input: {{ detectedLabel }}
Conversion complete. Download when you are ready.
Keep this tab open until the download finishes.

How to decode Base64 images

1. Paste Base64 input

Paste a data URL or raw Base64 string. We will clean up line breaks and missing padding automatically.

2. Preview and download

Check the preview, then download the converted file when the conversion finishes.

Paste Base64 input

Paste a data URL or raw Base64 to decode the image.

Auto-fix common issues

We remove whitespace, fix padding, and normalize URL-safe Base64 when possible.

Detects file type

We identify the image format from the Base64 data.

Preview included

See the decoded image before you download it.

Download the file

Save the decoded image with the correct extension.

Runs in your browser

The decode process happens in the page.

Frequently Asked Questions

Yes. The decoder will try to detect the image type automatically.

We read the data URL header when available and confirm the file signature from the data.

No. The decoder only reads the Base64 data and saves it as a file.

The Base64 string may be truncated or contain invalid characters. Try copying the full value again.

Image Tips and Ideas

Tip

Paste the full data URL

Include the data:image/...;base64, prefix so the decoder can read the file type.
Tip

Watch for line breaks

Base64 should be one continuous string. Remove extra spaces or newlines before decoding.
Tip

Keep a copy of the source

If you might need the original file, keep it alongside the decoded download.

Learn More

Learn more

What a data URL looks like

A data URL starts with data:, followed by a MIME type and base64, then the encoded data.

Learn more

How file type is detected

The decoder reads the MIME type in the header to choose the correct file extension.

Learn more

When to use Base64

Base64 is handy for embedding small images in HTML or CSS. For large assets, linking to a file is usually better.

JPEGConvert logo

Need a hand with your file?

JPEGConvert.com keeps the workflow simple: upload, convert, and download. For the best results, start with the highest-quality source file you have.

About the team | Contact support


(function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "ihfkf38tbl");