Base64 to image converter that previews and downloads.
Paste a Base64 data URI or raw Base64 and this tool decodes it back into a viewable image. Detects PNG, JPG, WebP, GIF, and SVG automatically. Nothing is uploaded.
Good fit
Inspecting Base64 received from an API, debugging a data URI, recovering an embedded logo, or verifying an email-safe image.
Bad fit
Working with very large images — Base64 inflates size roughly 33% and is slow to render. Use the original file instead.
Form uploads
If a contact form sent you Base64, decode it here to see what was submitted. For new forms, accept files with multipart/form-data.
Image to Base64
Encode an image into a Base64 data URL — the reverse of this tool.
URL to Base64
Fetch an image by URL and get its Base64 data URL.
Base64 decode
Decode Base64 text back to readable plain text.
HTML form generator
Build a form and copy production-ready HTML.
Need to send a file via a form? See the HTML file input guide or go the other direction with the Image to Base64 converter.
What is a Base64 to image converter?
It takes a Base64 string — either a full data URI like data:image/png;base64,... or raw Base64 bytes — and turns it back into a viewable image. This tool renders the preview, shows the type and dimensions, and lets you download the original file.
Does splitforms upload my Base64 string?
No. Decoding happens entirely in your browser using atob and the Canvas/Image APIs. The string never leaves your device.
How does it know if the Base64 is PNG, JPG, or WebP?
For data URIs it reads the declared MIME type. For raw Base64 it sniffs the first bytes — iVBORw0KGgo for PNG, /9j/ for JPEG, R0lGOD for GIF, UklGR for WebP — and falls back to PNG if no signature matches.
Why does my Base64 not decode to an image?
The string is usually truncated, missing padding (= characters), or contains line breaks and quotes copied from source code. Remove anything outside the Base64 block and paste it again.
Can I decode Base64 received in a form submission?
Yes. If your form submits a file as Base64 (common with FileReader or data URLs), paste the value here to inspect what was actually sent. For real uploads, prefer multipart/form-data with an input type=file.
Is there a file size limit?
This browser tool works best under a few megabytes. Very large Base64 strings slow down the page and are better handled as direct file uploads.
Ship forms that accept real files.
splitforms accepts file uploads on every plan — resumes, screenshots, PDFs, images. 500 submissions per month, free forever.
Try splitforms free →