Workspace Files stay on your device
images · embed
Image to Base64 Data URI
data:<mime>;base64,… of the exact file bytes (no re-encoding), ready for inline <img>, CSS or email. Decoding the URI gives back the identical file.
A little guidance. A better result.
How to use Image to Base64 Data URI
data:<mime>;base64,… of the exact file bytes — no re-encoding.
Prepare your input
Choose an image.
Use the workspace
Generate a data URI from its original bytes.
Check your result
Test the result where you intend to embed it.
Know the limits
Base64 increases text size and does not compress the image; some applications reject large inline data.
Where does my input go?
This browser tool processes your input on your device. Optional analytics is a separate choice; it is not needed to use the tool. Keep your original until you have checked the result.
Read the privacy details →Made for the work in front of you.Report a problem ↗