Base64 to Image
Decode any Base64 string or Data URL back to an image. Preview the result in-page, check exact pixel dimensions, and download as PNG, JPEG, or WebP — all in your browser.
Base64 to Image
Paste Base64, preview the image, download original or convert format.
Decoded locally in your browser — files are not uploaded to any server
Image preview will appear here
Paste Base64 and click Preview Image
Need to convert an image to Base64?
Convert an image file to Base64, Data URL, HTML, CSS, or Markdown.
How to Decode Base64 to an Image
Paste Base64
Paste a raw Base64 string or a full Data URL (data:image/png;base64,...). The image type is auto-detected from the Data URL prefix.
Click Preview Image
The decoded image renders immediately in your browser with exact pixel dimensions shown. No upload, no server.
Download in Any Format
Download in the original format, or convert to PNG, JPEG, or WebP — all conversions are done locally via the Canvas API.
Supported Image Formats
All of the following image formats can be decoded from Base64 and previewed.
Lossless compression with transparency (alpha channel). Best for logos, icons, screenshots, and graphics with sharp edges.
Lossy compression without transparency. Best for photos and complex images where file size matters more than perfect quality.
Modern format with better compression than PNG and JPEG, with transparency support. Best for web delivery.
Vector format — scales infinitely with tiny file size for simple graphics. Downloads as the original SVG file after decoding.
Supports animation and 256 colors, commonly used for animated images. Downloads in the original format after decoding.
Next-generation format with excellent compression, HDR, and transparency support. Downloads in the original format after decoding.
Frequently Asked Questions
Which image formats are supported?
PNG, JPEG, GIF, WebP, SVG, and AVIF. The format is auto-detected from the Data URL prefix. For raw Base64 strings, select the format manually.
Can I convert from PNG to JPEG or WebP?
Yes. After decoding the Base64 string, you can download the image as PNG, JPEG, or WebP regardless of the original format. Conversion is done via the browser Canvas API.
Why does the JPEG download look different from the original?
JPEG is a lossy format that discards some image data to reduce file size. Transparent areas in PNG or WebP images are filled with white before converting to JPEG, since JPEG does not support an alpha channel.
Is SVG Base64 supported?
Yes. SVG images are decoded and previewed inline. Canvas-based format conversion (PNG/JPEG/WebP) rasterises the SVG at its declared dimensions. Download as original SVG to keep the vector data.
Is there a file size limit?
No hard limit, but very large images (over 10 MB) may decode slowly. Canvas format conversion may also be slow for very high-resolution images.
Are images uploaded to a server?
No. All decoding and format conversion runs entirely in your browser — nothing is sent to any server.