Image to Base64
Encode any image (PNG, JPG, WebP, BMP, TIFF, or AVIF) into a Base64 data URI for embedding in HTML, CSS, or JSON, or decode a data URI back to a downloadable file, all locally via WebAssembly.
What it does
- Encodes PNG, JPG, WebP, BMP, TIFF, and AVIF to Base64 data URIs
- Decodes a pasted data URI back to a downloadable image
- Batch-encodes multiple files and downloads results as a ZIP
- One-click copy to clipboard
- Files never leave your browser
A Base64 data URI encodes raw image bytes as an ASCII string, letting you embed an image directly in HTML, CSS, or JSON without a separate file reference — the encoding and decoding both run via WebAssembly so your image bytes stay local while you build the string your markup or API payload expects.