Image to Base64 turns a picture into text you can paste straight into your code. Drop in a PNG, JPG, WebP, GIF or SVG and copy the data URI, the raw Base64, a ready-made CSS background-image rule or an HTML img tag.
The image bytes are encoded as they are, with no re-compression, so decoding the text gives back an identical file. To turn Base64 back into a picture, use Base64 to Image.
Your data never leaves your device: the work happens in your browser, with no upload and no account. It is free and adds no watermark.
Base64 writes the bytes of an image as plain text. Put in a data URI such as data:image/png;base64,iVBOR…, it can be used in HTML, CSS or JSON without a separate image file.
No. The bytes are encoded as they are, so the result decodes to an identical file. Base64 text is about a third larger than the file it came from.
PNG, JPG, WebP, GIF, BMP, ICO, AVIF and SVG. The type is detected from the file itself, not just its name.
Images up to 50 MB. Long output is cut off on screen so the page stays fast, but Copy always copies all of it.
No. The conversion runs in your browser and the image never leaves your device.