Skip to main content

Image Base64 Converter

Convert image files to base64 data URLs for inline embedding, or decode base64 strings back into downloadable image files. Supports PNG, JPEG, WebP, GIF, SVG, BMP, AVIF, ICO. Export as data URL, raw base64, <img> tag, Markdown image, or CSS background.

Features

Frequently Asked Questions

What image formats are supported?
PNG, JPEG, WebP, GIF, SVG, BMP, AVIF, and ICO. Maximum file size is 10 MB per file.
What output shapes are available?
Data URL (data:image/png;base64,...), raw base64, HTML <img> tag, Markdown ![image], and CSS background-image.
Is my image uploaded anywhere?
No. Encoding and decoding happen entirely in your browser using the FileReader API. Nothing is sent to any server.