Convert Data Uri To Bitmap Online
Convert Data Uri To Bitmap online. All processing happens in your browser.
Drop image here or click to upload
Max 50MB • 100% Private
Paste a data URI or drop a file, and get a real bitmap image back — ready to preview and download as PNG. Works with base64-encoded PNG, JPEG, GIF, WebP, and BMP sources pulled from CSS, JSON payloads, or inline HTML.
And everything runs in your browser. Nothing gets uploaded.
How It Works
Your browser reads the data URI header to figure out the MIME type (PNG, JPEG, etc.), strips the base64 prefix, then decodes the binary data. That gets drawn onto an HTML canvas element at full resolution. From there you preview the result and download it as a standard PNG file.
Examples
Extracting a Favicon from CSS
A client sends you their old site's CSS. The favicon is embedded inline as a data URI and they need the actual .png file.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQ...
16×16 PNG bitmap file — ready to download
Recovering a Photo from an API Response
Your API returns user profile pictures as base64 data URIs in JSON. You need to check what the actual image looks like before pushing to production.
data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD...
200×200 JPEG rendered as bitmap — downloadable PNG
Pulling an Inline Image from an Email Template
HTML email templates sometimes embed small graphics directly as data URIs because email clients block external image requests. You want to extract a logo for reuse in a design file.
data:image/png;base64,iVBORw0KGgo... (4.8KB string from <img src="...">)
120×40 logo bitmap — clean PNG download
Who Uses This
Debugging inline images from CSS or JavaScript bundles — fast visual check without writing a script.
Extracting embedded assets from HTML emails or legacy sites to reuse in Figma or Sketch.
Verifying that base64-encoded images in API payloads are the right dimensions and not corrupted.
Pulling inline images out of email templates when the original source files are long gone.
Common Mistakes
A data URI starts with data:image/... — not https://. If you paste a regular URL, the decoder has nothing to work with. Copy the full string starting from data:.
If you copy from a console log that cuts off long strings, you'll get a broken image or nothing at all. Make sure the entire base64 payload is included — these strings can be thousands of characters long.
A valid data URI needs the format prefix like data:image/png;base64, before the encoded data. Without it, the browser can't decode the image correctly. Check that the prefix is intact.
Technical Details
- Processing: 100% client-side — your data never leaves the browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Input Formats: Base64 data URIs (PNG, JPEG, GIF, WebP, BMP)
- Output Format: PNG bitmap download
- Max Size: Limited only by browser memory — most images under 10MB work fine
Frequently Asked Questions
What is a data URI and how is it different from a URL?
A data URI embeds the file content directly in the string using base64 encoding. A regular URL points to a file stored on a server. Data URIs start with data: followed by the MIME type and the encoded data — the entire image lives inside that one text string.
Can I convert a data URI back to JPEG instead of PNG?
The download saves as PNG by default because it preserves quality without compression artifacts. If you need JPEG, download the PNG and convert it with any image editor. The bitmap rendering itself is lossless regardless of the original format.
Why does my data URI show a broken image?
Usually the base64 string got truncated during copy-paste. These strings are often thousands of characters, and some editors or terminals cut them off. Double-check you copied the entire value. Also make sure the data:image/... header is included at the beginning.
Is there a size limit for data URIs?
Browsers don't enforce a strict character limit on data URIs anymore (older IE had a 32KB cap). The practical limit depends on your device's available memory. Images under 10MB decode without issues on most machines. Above that, you might notice a pause.
Does this tool upload my image to a server?
No. The entire conversion happens in your browser using the Canvas API. Nothing gets sent anywhere. You can verify this by opening your browser's network tab — zero requests are made during processing.