Turn an image into a base64 data URL, ready to paste into CSS, HTML or Markdown. Runs in your browser, so the image is never uploaded.
Free, no sign-up, runs in your browser
Your image is read on your own device and never uploaded.
Drop an image, or click to browse
JPG, PNG, WebP, GIF, BMP, AVIF or SVG, up to 10 MB.
100% private. The image is read and encoded in your browser, never uploaded.
Quick answer
BatchSet turns an image into base64 free and entirely in the browser, with no upload: the file is read on the device with FileReader. The result is offered as a data URL, a CSS background rule, an HTML img tag, Markdown or bare base64, with one click to copy. Base64 writes 3 bytes as 4 characters, so the text is about a third bigger than the file, which the tool shows; inlining is worth it for icons and email images, not for large pictures. JPG, PNG, WebP, GIF, BMP, AVIF and SVG all work.
Three quick steps — free, private, right in your browser.
Drop a JPG, PNG, WebP, GIF, BMP, AVIF or SVG file.
A plain data URL, a CSS background rule, an HTML <img> tag, Markdown, or the base64 on its own.
One click copies the text. The image never leaves your device.
Base64 writes every 3 bytes as 4 characters, so the text is about a third larger than the file, before any quoting. The tool shows both numbers so you can see the trade.
For small things: an icon, a logo, a 1px background, or an image in an HTML email where a linked file would be blocked. It saves a request. For anything large it bloats the HTML or CSS, which has to be downloaded before the page can paint, and it cannot be cached on its own.
No. The browser reads the file and encodes it on your device. Nothing is sent to a server, which is the point when the image is a private document or a screenshot.
Yes. An SVG is text, so it encodes like anything else, and the data URL works in CSS and HTML the same way.
The same browser limit as the rest of the site. Very large images make very large strings, and some editors and email clients choke on them long before that.
Base64 to Image
Paste a data URL or bare base64 and get the image back, ready to download. Runs in your browser, so nothing you paste is sent anywhere.
OpenBulk Image Compressor
Compress many JPG, PNG, WebP and iPhone HEIC images at once in your browser, free, no signup. Set the quality, see the size you saved, and download every image as a ZIP. Nothing is uploaded.
OpenFavicon Generator
Turn any image into a complete favicon package — favicon.ico, 16/32/48 PNGs, Apple touch icon, Android icons and site.webmanifest. Free, no signup, generated in your browser.
OpenUnlock bulk Excel jobs, watermarking, file backup and more. Free to start.
Start for Free — No Card Required