Skip to content

About the Image to Base64

Encode an image as a Base64 data URI and copy it as raw Base64, an HTML img tag or a CSS background. Use the exact original bytes or re-encode to WebP for a shorter string.

How to use it

Examples

Free and runs in your browser. Sign in only if you want to save your work.