Image to Base64

Image to Base64

Turn a small image into text you can paste into HTML, CSS or JSON, or decode Base64 back into a picture. Runs in your browser.

Make photos smaller for email, uploads and the web. Add as many as you like; they are saved without location or camera data.

Related tools

Resize & compressConvert image

Questions

Are my images uploaded?

No. Encoding happens in this browser tab.

Why is the text so long?

Base64 makes files about a third bigger, so it suits icons and small pictures.

← All tools