Base64 encodes binary data (like an image) as plain ASCII text, which is why it's used for data URIs — embedding a small image directly inside HTML/CSS/JSON without a separate file request.


Image → Base64 reads a selected image file entirely in your browser and shows its data URI. Base64 → Image does the reverse: paste a data URI (or a raw Base64 string, assumed to be a PNG) to preview and download it as a file.


Nothing is uploaded to a server — files are read and encoded locally using the browser's FileReader API. This tool isn't shareable via link, since an image's Base64 data is usually too large for a share link and isn't meaningful to restore as a "session".

Frequently asked questions

Why would I encode an image as Base64?

Base64-encoded images can be embedded directly in HTML, CSS or JSON as a data URI, avoiding a separate file request — useful for small icons or inline previews.

Is there a file size limit?

This tool caps uploads at 10 MB — Base64 encoding inflates size by roughly a third, and very large data URIs are impractical to embed anyway.

Can I share a link to my converted image?

No — this tool isn't shareable via link. Image data is usually too large for a share link and isn't meaningful to restore as a saved session.

Related tools

Word & Character Counter — Count words, characters, sentences and reading time
Gitignore Generator — Build a .gitignore from popular language and tool templates
Time Zone Converter — Convert a date and time between time zones
JWT Encoder — Create and sign JWTs with HS256, HS384 or HS512

Guides & comparisons


Main page