Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

Base64 to Image

Base64 to Image decodes base64 text or a data URI into a picture you can see and download. It runs in your browser, so nothing you paste is sent anywhere.

How to use Base64 to Image online

  1. Paste the text. A data URI or base64 only.
  2. Look at the picture. Type, size and shape are shown.
  3. Check any note. On a type mismatch.
  4. Download. Saved with the right extension.

Why use this free Base64 to Image

  • Data URI or plain base64
  • URL-safe base64
  • Type from the bytes
  • Size and shape shown
  • Clear error messages
  • No upload

Text back to a picture

Pictures in web pages, APIs and emails are often sent as base64 text. This tool takes that text, decodes it and shows the picture, so you can check what it is and save it as a file. Paste a full data URI that starts with data:image, or only the base64 characters.

What it accepts

Plain base64, URL-safe base64 with dashes and underscores, and text with spaces or line breaks are all read. Missing equals signs at the end are fixed. The tool tells you exactly what is wrong if a character does not belong, or if the length cannot be base64, instead of showing nothing.

The type comes from the bytes

A label such as image/png in a data URI can be wrong. The tool looks at the first bytes of the decoded data and decides the type from them: JPG, PNG, WebP, GIF, ICO, AVIF, BMP or SVG. If the label and the bytes disagree, a note says so, and the file is saved with the extension of what it really is.

When it is not a picture

Base64 can hold anything, such as a document or a font. If the decoded bytes are not a picture type the tool knows, it says so, shows how many bytes there are, and offers to download them as a file with a generic name, so nothing is lost. SVG is shown as a picture; scripts in it do not run.

Privacy and limits

Text of up to fourteen million characters is accepted. Decoding is done in your browser and nothing is uploaded, so keys, tokens or private pictures stay on your device. For the other direction, from a file to text, use the image to base64 tool on this site.

Base64 to Image: frequently asked questions

Can I paste a full data URI?
Yes, with or without the data:image part.
What if the text has line breaks?
They are ignored.
Why does it say the type differs?
The label in the text does not match the bytes. The bytes win.
What if it is not a picture?
You can still download the bytes as a file.
How long can the text be?
Up to 14 million characters.
Is my text sent anywhere to be decoded?
No. It is decoded in this tab.

Related searches for Base64 to Image

  • Base64 to Image online
  • free Base64 to Image
  • Base64 to Image online free
  • Base64 to Image for mobile
  • Base64 to Image without sign up
  • convert base64 to image
  • base64 to image converter
  • Base64 to Image – Developer & Web Tools

Base64 to Image is a free online tool on MAITBOX, in the Developer & Web Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Developer & Web Tools →

Search tools