Base64 to Image Converter — Free Online Tool
Paste any base64 image string and get a live preview with dimensions and file size, then download it as PNG or JPG — all offline in your browser.
Your decoded image will preview here as soon as you paste a valid base64 string.
Format
PNG
Dimensions
–
File size
–
Instant results — no waiting
No sign-up needed
Free forever
How it works
1Paste your base64 string into the box above — data URL prefix optional.
2See the live preview — format, dimensions and file size appear instantly.
3Download as PNG or JPG with a single tap.
Frequently asked questions
Do I need to include the data:image/…;base64, prefix?
No — the tool accepts both. If your string has a data URL prefix, the image format is read from it; without one, the format is sniffed from the file's magic bytes, defaulting to PNG.
Is my base64 string uploaded anywhere?
Never. Decoding, previewing and conversion all happen with your browser's built-in APIs (atob, Blob, Canvas), so your data never leaves this page.
What happens to transparency when downloading JPG?
JPG doesn't support transparency, so any transparent areas are flattened onto a white background. Download as PNG instead to keep transparency.
100% local decoding · PNG / JPEG / GIF / WebP support · your data never leaves this page.