Free online two-way Image ↔ Base64 converter: encode PNG, JPG, WebP, GIF, SVG, AVIF, or ICO to Data URI, raw Base64, HTML, CSS, or Markdown, and decode Base64 back to images. Powered by Web Workers with head/tail preview for large files, processed 100% locally in your browser.
Two-way conversion between images and Base64
One-click Data URI, raw Base64, HTML <img>, CSS url(), and Markdown output
Web Worker codec + head/tail preview keeps large 50MB+ images responsive
Optional pre-compression and resizing before Base64 encoding
Auto-detects image format from magic bytes even without data: prefix
Import .txt / .b64 files directly and copy decoded images to clipboard