Convert images to Base64 data URIs and Base64 strings back to images.
Drop an image here or click to browse
PNG, JPG, GIF, WebP, SVG, etc.
Convert images to Base64 data URIs for embedding in CSS, HTML, or JSON — or decode Base64 strings back into downloadable image files. All conversion happens locally in your browser.
Upload or paste
Drop an image file, or paste a Base64 data URI.
Copy or download
Copy the Base64 string, or download the decoded image as a file.
No. Base64 adds ~33% overhead and prevents browser caching. Use it only for small icons or inline SVG. For anything larger, reference the image via URL.
Any raster or vector format your browser can decode — PNG, JPEG, WebP, GIF, SVG, and more.