Upload Image
📁
Click to upload or drag & drop image
PNG, JPG, GIF, WebP, SVG
Base64 Output
Advertisement
728 × 90 — Leaderboard Ad
How to Use
Image → Base64: Upload or drag-and-drop an image to automatically encode it. You can copy the raw Base64 string or the full Data URI (useful for embedding directly in HTML or CSS).
Base64 → Image: Switch to the decode tab and paste a Base64 string. Click Decode to preview and download the converted image file.
What Is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It's commonly used to embed images directly in HTML, CSS, or JSON without needing separate image files. This is useful for small icons, email templates, and reducing HTTP requests. Note that Base64 strings are typically ~33% larger than the original binary data.