Convert images to Base64-encoded strings or decode Base64 strings back into viewable images with our free online tool. Perfect for embedding images directly into HTML, CSS, JSON, or markdown without external file references. All processing happens entirely in your browser — your files never leave your device.
Drop image here, or click to upload
or press Ctrl+V to paste
Conversion result will appear here
Image → Base64: Convert image files to Base64 encoded strings, which can be directly embedded in HTML/CSS.
Base64 → Image: Restore Base64 encoded strings to images and preview them.
Convert images to Base64-encoded strings or decode Base64 strings back into viewable images with our free online tool. Perfect for embedding images directly into HTML, CSS, JSON, or markdown without external file references. All processing happens entirely in your browser — your files never leave your device.
Choose encode or decode mode
Select whether you want to convert an image to Base64 or decode a Base64 string to an image.
Upload your image or paste Base64
For encoding, drag and drop or select an image file. For decoding, paste your Base64 string into the text area.
View the result instantly
The converted output appears immediately — a Base64 string for encoding, or a rendered image preview for decoding.
Copy or download
Copy the Base64 string to your clipboard or download the decoded image file to your device.