Image to Base64

Convert images to Base64 data URI for HTML/CSS embedding.

Drop file here or click to select
To Base64
Copy
HTML/CSS

How Image to Base64 works

Image to Base64 decodes your image with the browser's own image decoder, draws it onto an HTML canvas, applies the change and re-encodes the result. Everything happens inside this tab.

Limits

Check it yourself

Open the Network tab of your browser's developer tools (F12) while you use the tool: no request carries your file. The page's Content-Security-Policy only allows our anonymous error counter (what it receives). Step-by-step: how to check that a tool doesn't upload your file.

Related tools

Invert Colors · Remove Background · Resize Image · Rotate Image · Round Image · All tools