How to use the Base64 → Image Preview
1. Paste a Base64 string or a full data URI (data:image/png;base64,...) in the box.
2. Click Preview — the decoded image is shown below.
3. Click Download to save the image file.
What is it?
This tool decodes Base64-encoded image data back to a viewable image. It accepts both raw Base64 strings (where the MIME type is auto-detected from the binary signature) and full data URIs. Common use cases: inspecting Base64 images from API responses, email attachments, or database blobs.
Benefits
Pass data safely through any protocol
Encoded content — Base64, URL percent-encoding, HTML entities, Unicode escapes — travels through email, JSON, HTTP headers, and databases without corruption.
Decode any encoded string instantly
URL percent-encoding, Base64, HTML entities, Unicode escapes, JWT payloads — decode any format to readable text in one click, no library or script needed.
Copy-paste ready output for any context
Whether embedding content in a URL, HTML attribute, JSON string, or HTTP header — the correct encoding for each destination, immediately.
Eliminate encoding bugs before they reach production
Test encoding and decoding logic interactively with real inputs — catch character encoding mismatches and broken escaping before they cause user-facing errors.
Frequently asked questions
What formats are supported?
PNG, JPEG, GIF, WebP, SVG, BMP — any format the browser can display. MIME type is detected automatically from the binary signature if not provided in the data URI prefix.
My image shows a broken image icon — what's wrong?
The Base64 string may be truncated or corrupted. Ensure you copied the entire string including any trailing = padding characters.