Image to Base64 Converter
Convert images to Base64 data URIs or decode Base64 strings back to images. All processing happens in your browser.
Drop an image here or click to browse
PNG, JPG, GIF, SVG, WebP, ICO, BMP — max 10 MB
About Image to Base64 Conversion
Base64 encoding converts binary image data into an ASCII text string. This is useful for embedding images directly in HTML, CSS, or JSON without separate file requests.
Data URI format: data:image/png;base64,iVBORw0KGgo... — ready to use in <img src="..." /> tags or CSS url(...).
Size overhead: Base64 increases data size by approximately 33%. For small images (icons, logos under ~5 KB), the trade-off of eliminating an HTTP request is usually worth it. For larger images, serving the file directly is more efficient.
Supported formats: PNG, JPEG, GIF, SVG, WebP, ICO, and BMP. All processing runs entirely in your browser — your images are never uploaded to any server.