FR

Image → Base64

Convert an image to a Base64 data URI for embedding in HTML, CSS or JSON.

About this tool

Convert an image to a Base64 data URI directly in your browser. Useful for embedding small icons in CSS or HTML to avoid extra network requests, for JSON payloads, and for email templates. The file is read locally and never uploaded.

When should I embed images as Base64?

For small images like icons and logos, embedding avoids a network request. Larger images are better served as normal files because Base64 adds about 33% of size.

Is the conversion private?

Yes - the FileReader API in your own browser does the conversion. No server is involved.