Image to Base64
Turn an image into a Base64 data URL, with ready HTML and CSS. Nothing is uploaded.
Loading…
Turn an image into a Base64 data URL, with ready HTML and CSS. Nothing is uploaded.
Runs in your browser — nothing is uploaded; your input never leaves your device. How it works
Quick answer
Drop an image and Tabreon turns it into a Base64 data URL, the raw Base64 text, an HTML <img> tag and a CSS background rule, each with its own Copy button. It works for PNG, JPG, WebP, GIF, SVG, AVIF, BMP and ICO files up to 10 MB, and the image never leaves your browser.
Base64 writes binary data, such as the bytes of an image, using only 64 plain text characters. Put it after a short header like data:image/png;base64, and you get a data URL, which browsers treat like a link to the image. That lets you put a small icon straight into HTML, CSS, JSON or an email template without a separate file. The trade-off is size: Base64 text is about a third bigger than the file it encodes.
Image to Base64 reads the file with your browser and encodes it there. Nothing is uploaded, and the image is not resized or recompressed.