Base64 to Image
Paste Base64 code and see the image right away, then save it to your device.
Decoded Image
Decoded image will appear here
Paste a Base64 string above and click "Decode to Image"
How Base64 to Image works
Decodes Base64 text into an image and shows it right away. Click Decode to Image, then save the picture to your device.
The format is found from the image bytes, not from a label. It knows PNG, JPEG, GIF, WebP, AVIF, HEIC, BMP, ICO and SVG. If the Base64 is valid but is not an image, you get a message.
Input to Base64 to Image
- Paste the Base64 text of an image. Click Sample to try an example.
- Plain Base64 and data URLs like data:image/png;base64,... both work. URL-safe Base64 with - and _ works too.
- Spaces and line breaks are removed, and missing = padding is added for you.
- Up to 20MB of text. Everything runs in your browser, so your data never leaves your computer.
Output from Base64 to Image
- A preview of the image with its format, file size and width and height in pixels.
- Download Image asks for a file name and adds the right extension, like .png or .jpg.
- For the other way around, use Image to Base64.