Convert Base64 to an image
Paste the text, from a data URL, a stylesheet, an HTML tag or an API response, and the image appears as soon as it decodes. Download it with the right file type.
The image appears here as soon as the text decodes to one. A whole data URL, bare Base64 and a pasted CSS or HTML line all work.
Nothing is uploaded. The text is decoded on your device.
- No ads
- No sign-up
- No watermark
- No daily limit
- Nothing uploaded
Several steps, or a whole batch? Chain this with other tools in a Workflow and run them in one go.
The type is checked, not trusted
A data URL says what it holds, and sometimes it’s wrong: a JPG can arrive labelled as a PNG. The file type comes from the image’s own first bytes, and you’re told when the label disagrees.
When it won’t decode
Most failures are a string cut short while copying, or quotes and brackets picked up around it. Leading and trailing quotes, url( ) and line breaks are cleaned off for you; a missing end can’t be put back.
Your files stay with you
Everything happens on your own device. Nothing is uploaded, nothing is stored, and you don’t need an account. Close the tab and it’s gone.
More image tools
- Compress imagesMake JPG, PNG and WebP files smaller, many at once.
- Compress to a file sizeGet every image under 50 KB, 100 KB, 1 MB or any limit.
- Resize imagesScale a batch down to a set width or height.
- Resize to exact sizeMake every image exactly 1920 × 1080, 1080 × 1080 or your own size.
- JPG to PNGTurn JPG photos into PNG files.
- PNG to JPGTurn PNG images into smaller JPG files.
- WebP to JPGOpen WebP downloads anywhere as JPG.
- WebP to PNGConvert WebP and keep transparency.
- JPG to WebPSmaller files for websites.
- PNG to WebPShrink PNGs and keep transparency.
- AVIF to JPGOpen AVIF images in any app.
- AVIF to PNGConvert AVIF and keep transparency.
- GIF to WebPAnimated GIFs as much smaller WebP files.
- WebP to GIFAnimated WebP for apps that only take GIF.
- Image under 1 MBPhotos under 1 MB, usually without losing a pixel.
- Image under 500 KBFit photos under 500 KB at the best quality that fits.
- Image under 200 KBPhotos and screenshots under 200 KB for forms and profiles.
- Image under 20 KBTiny files for strict forms: about 600 pixels for a photo.
- HEIC to JPGOpen iPhone photos on any computer.
- HEIC to PNGEvery pixel of an iPhone photo, in PNG.
- HEIF to JPGOpen .heif and camera .hif photos anywhere.
- HEIF to PNGHEIF photos as PNG, for editors that can’t read them.
- Image to text (OCR)Copy the words out of screenshots, photos, receipts and scans.
- SVG to PNGSharp PNG copies of SVG logos and icons at 1×, 2×, 4× or any width.
- SVG to JPGJPG copies of SVG files on the background colour you choose.
- Favicon generatorfavicon.ico, the Apple icon and app icons from one logo, plus the tags.
- ICO to PNGEvery size inside an ICO file saved as its own PNG.
- PNG to ICOTurn PNG, SVG or JPG images into ICO files with the sizes you tick.
- Colour picker from imageClick any pixel in a photo or screenshot for its HEX, RGB and HSL.
- Colour palette from imageThe main colours of a picture, with their share, as CSS variables.
- Image to Base64An image as a data URL, CSS or HTML, with the size it adds.
- Compress GIFMake an animated GIF smaller and keep it moving.
- GIF makerTurn photos or screenshots into an animated GIF.
- Video to GIFCut a short clip from a video and save it as a GIF.