Share
Convert images to Base64 data URIs and decode Base64 back to images instantly.
Convert images to Base64 data URIs for embedding in HTML, CSS, or code — and decode Base64 strings back to viewable images. Supports PNG, JPEG, GIF, WebP, SVG, and all common image formats. Works entirely in your browser with no uploads.
Quickly convert image files into Base64 data URIs for coding or decode strings back into visual images.
Select your conversion mode
Choose whether you want to encode an image to Base64 or decode a Base64 string back into an image format.
Upload an image or paste code
Drag and drop your PNG, JPEG, or SVG file into the browser, or paste your Base64 data URI into the input field.
Process the data locally
The tool converts your data instantly within your browser, ensuring your files are never uploaded to a server.
Copy or download the result
Copy the generated Base64 string for your HTML/CSS code or download the decoded image file to your device.
Estimated time: PT1M
Share this tool
Drop image here or click to upload
PNG, JPEG, GIF, WebP, SVG supported