Base64X tools
Base64 to image
Paste a Base64 image or a complete data URI. See the format and dimensions, then download the decoded file.
Try an image before pasting your own
Choose Load example image to view a small green checkerboard. The input starts with data:image/png;base64,. The decoder skips that prefix and reads the bytes that follow the comma. The example is a 32 × 24 pixel PNG. Use Download .png to save it at its original resolution.
Convert text from a file
In Decode mode, choose a .txt or .b64 file containing the encoded image, or drop it into the file area. The same decoder handles bare Base64 and complete data URIs. A binary image from your camera is already an image file. Dropping that file switches the tool to Encode and gives you its Base64 text.
Check the result
The format comes from the file signature. A JPEG with a PNG label still downloads as a JPEG. If the data contains ordinary text, use the Base64 decoder to read it. If a copied value includes mixed alphabet symbols or missing padding, try the URL-safe Base64 decoder for a closer look.
Common questions
Which image formats can I download?
The tool recognizes PNG, JPEG, GIF and WebP. The download keeps the decoded bytes, including the original dimensions.
Do I need to remove the data URI prefix?
You can paste the entire data URI, including data:image/png;base64, or copy only the payload after the comma.
Why does a file have the right signature but no preview?
A signature identifies a format even when later bytes are missing. Recopy the complete payload and check that its source opens as an image.