Decode Base64 image data into an image file
Decode image bytes supplied as Base64 back into an image file. The detected data signature determines the format, so inspect the output extension instead of relying only on a name written alongside the source string.

How to use this tool
- Choose files in TXT, B64 format. Maximum files per batch: 1.
- Check the input format and file order, then start processing.
- Download the output, open it, and check its content and quality.
Choose the right settings
Choose a TXT file containing a complete Base64 value without extra options. For a Data URL, ensure the encoded image data is included; an ordinary web address by itself is not an encoded picture.
- Supported input
- TXT, B64
- Output
- Image
Before you start
Prepare a representative source
Start with a copy of the source and decide where the result will be used. A picture for later editing, an upload with fixed dimensions and a printed page have different requirements. Check the supported input and intended output in this guide; a new filename extension alone does not convert the file.
Where size, quality, background or crop controls are available, change one choice at a time on a representative image. Include small lettering and an important edge in your comparison. If the task extracts information rather than changing the picture, decide which source region and values you need to inspect.
Write down the recipient’s requirements and the choices used for a trial, including output type and any size or background setting that applies. If a detail is already blurred, cropped or absent in the original, changing an output setting will not supply the missing evidence. Compare an intermediate copy separately from the original: it may already contain changes from a previous step. This record helps you decide whether to correct the source, revise one choice or use a different supported operation.
Compare the result with its source
Open the downloaded output in the program that will actually use it. For image outputs, compare the same area at the same zoom, inspect all edges and read the saved dimensions and file size. For extracted text, measurements or color values, check sample entries directly against the visible source; a plausible-looking result can still be wrong.
If the output differs from the preview or cannot be created, check the input format, this tool’s limits and the selected settings before changing the source. Repeating compression or enlarging a small image cannot restore detail already lost. Keep the original so another trial starts from the same evidence.
Example input and output
Base64 image data → validated image fileExamples describe the workflow. Results depend on the source file and settings.
Check the saved result before using it
Open the saved image to confirm that it is the expected picture. Inspect format, dimensions and transparent areas, and check the source string for signs that it was truncated during copying.
If the result is different from what you expected
Valid Base64 can still contain unsupported non-image data. Executable SVG output is blocked, and this decoding workflow does not extract the words printed inside the picture.
Limits to keep in mind
- Restores JPG, PNG, WebP, GIF, BMP, ICO or AVIF image data. SVG is not supported. The decoded bytes must form a valid image.
Continue with a related tool
This guide explains the public browser tool. Keep a copy of the original and inspect the result before sharing it.