Image → Base64

Image to Base64 Converter

Upload, drag-and-drop, paste from clipboard, or import from a URL — instantly get the Base64 string or Data URL. One-click copy.

No upload to server Paste from clipboard Import from URL
Convert Image → Base64
Drop, click, paste from clipboard, or import from a URL
Drop image here, or click to browse
PNG, JPEG, GIF, WebP, SVG, BMP, ICO — max 10 MB — or paste from clipboard
Output Format

Why use this tool?

Fast, private image-to-Base64 with no friction

Paste from clipboard

Hit Ctrl+V anywhere on the page to paste a copied image directly — no file dialog needed.

Import from URL

Paste any public image URL to fetch and convert it instantly. CORS-blocked URLs are retried automatically via multiple proxies. Share links with ?import=<url>.

One-click copy

Copy the entire output to clipboard instantly. Uses navigator.clipboard with a graceful fallback for older browsers.

100% private

Processing uses the FileReader API locally. Your image data is never stored or uploaded anywhere.

Frequently asked questions

Copy any image to your clipboard (e.g. screenshot with Ctrl+Shift+S, or right-click → Copy Image), then press Ctrl+V anywhere on this page. The image will be detected and converted automatically.
A Data URL includes the mime-type prefix, e.g. data:image/png;base64,iVBOR…. Use this for embedding directly in HTML <img src="…"> or CSS. Raw Base64 is just the encoded string without the prefix — use this for APIs or storage that handle the mime type separately.
Yes — click the "Import from URL" tab and paste any public image URL. If the host blocks CORS, the request is automatically retried via multiple proxies. You can also share a shareable link with the ?import=<url> query parameter.
Yes — 10 MB per file. Base64 output will be roughly 33% larger than the original (e.g. a 1 MB PNG → ~1.37 MB Base64 string). The character count and decoded size estimate are shown below the output field.
Yes — use the Base64 → Image tool. Paste any Base64 string or Data URL and it auto-converts with a preview and download button.
Switch to Base64 → Image Tip Jar