Base64 to Image
Turn Base64 or a data URL back into an image, and save it, in your browser.
- Privacy
- This tool runs in your browser. Nothing you enter is sent to Wayfind.
- Filed under
- Filed under
Turn Base64 or a data URL back into an image, and save it, in your browser.
No. The text is decoded by this browser tab and the picture is drawn there. Nothing you paste reaches Wayfind.
A whole data URL, the Base64 on its own, or the code a data URL sits in: a CSS `url(…)`, an `<img>` tag, a Markdown image or a JSON field, which is every form Image to Base64 writes. Line breaks, spaces, missing = padding and percent-encoding are all handled, and both alphabets are read.
The `data:image/png` at the front of a data URL is a label someone typed; the file itself begins with a signature that says what it really is. When the two disagree the bytes are believed, because they are the picture. It usually means the text was labelled by hand or by a program that guessed.
An SVG is not a picture file but a document, and a document can carry script that runs with the page around it. Showing one here would mean running whatever a stranger pasted, so this page refuses it by name rather than quietly. Open an SVG in a text editor instead.
PNG, JPEG, WebP, GIF and BMP — the formats browsers decode. A file whose first bytes match none of them is refused before anything tries to read it.