Base64 to Image Converter
See the image inside a Base64 string, find out its format and download it.
Your files are processed on your device and are never uploaded.
Paste a Base64 string or data URI and see the image inside it right away. The tool tells you the format and pixel size, and lets you download the picture with the correct file extension.
Decoding runs in your browser, so the file inside the string never touches a server.
How to Convert Base64 to Image
- Paste your Base64: Use Ctrl+V or the Paste button. A full data URI or just the plain string both work.
- Click Convert: The string is cleaned up and decoded.
- Check the result: You see a preview, the detected type and the file size.
- Download: Save the image with the matching extension. Press Clear to start again.
Messy Strings Are Fixed for You
Base64 copied from logs, JSON, emails or URLs often has extra bits. The tool removes the data:…;base64, prefix, strips line breaks and spaces, converts URL-safe characters back, and corrects the = padding. A note lists what was changed. If the string cannot be decoded – for example because it is cut off – you get a clear explanation instead of a broken file.
How to Recognise What a String Holds
Formats are recognised from the data itself: PNG strings start with iVBORw0KGgo, JPG with /9j/, GIF with R0lGOD, WebP with UklGR and SVG often with PHN2Zy.
Where Base64 Images Come From
You will find them in HTML src="data:image/…" attributes, CSS backgrounds, email sources, API responses, canvas exports and QR code generators. Copy the whole value of the attribute and paste it in – the prefix is handled automatically.
Free, Private, No Upload
There is no sign-up and no limit on how many strings you decode. Because nothing is uploaded, it is safe for invoices, ID documents and other private files.
Base64 to PDF Base64 to File Validator & Repair Base64 to Text Image to Base64 PDF to Base64