Multiple output formats
Copy the raw string or switch straight to HTML, CSS, JSON, or XML-ready output without extra formatting work.
Convert images to Base64, generate ready-to-use code snippets, or decode Base64 text back into an image preview.
Upload a PNG, JPG, GIF, WebP, or SVG to generate raw Base64, Data URL, HTML, CSS, JSON, and XML formats. You can also paste Base64 text to preview and download the decoded image.
or choose a file from your device
Supports PNG, JPG, GIF, WebP, and SVGImage preview will appear here after you paste valid Base64 content.
Copy the raw string or switch straight to HTML, CSS, JSON, or XML-ready output without extra formatting work.
Encoding and decoding happen in your browser, which keeps your image files private.
Check decoded images visually and download them with the detected file type when available.
Use the Encoder tab to upload an image file, or open the Decoder tab if you already have a Base64 string you want to preview.
Generate and copy the raw Base64 text, full Data URL, or ready-made HTML, CSS, JSON, and XML snippets.
Paste a Base64 string into the decoder to render the image and download the decoded file back to your device.
You can upload PNG, JPG, GIF, WebP, and SVG images for encoding.
Yes. The decoder will try to render plain Base64 by assuming a PNG prefix if none is present.
Yes. The tool provides ready-to-copy Data URL and HTML/CSS snippets that can be used in many web and email workflows.
The decoder tries to render it by assuming a PNG image prefix when no data URI prefix is included.
Yes. Encoding and decoding happen locally in the browser, so files are not uploaded for processing.