Embed a small picture directly in a web page or stylesheet by turning it into a Base64 data URL. Choose your files and copy the result as a data URL, an HTML image tag or a CSS background. Everything is done in your browser.
Files never leave your device
Free, no sign-up
No watermark
How to use the Image to Base64: Choose one or more pictures. The Base64 text appears at once. Copy it as a data URL, an HTML tag or CSS. It is free, needs no sign-up and runs in your browser, so your files are never uploaded.
Loading the tool...
How it works
How to use the Image to Base64
1
Choose one or more pictures.
2
The Base64 text appears at once.
3
Copy it as a data URL, an HTML tag or CSS.
Tips
Tips for the best result
Base64 makes files about one third larger, so use it for small icons only.
Large images are better as normal files.
The data URL already includes the file type.
Questions
Frequently asked questions
What is Base64?
A way to write binary data as plain text, so a picture can sit inside HTML, CSS or JSON.
Is there a size limit?
No limit here, but very large data URLs are slow and are not a good idea in web pages.
Are my files uploaded to a server?
No. The work happens inside your browser on your own device. Your files are never sent to us or to anyone else, and they are gone when you close the page.
All tools
Every tool on ReelGrab
Resize, trim, merge, compress and convert. Pick any tool below, it opens right here in your browser.
63 free tools
Files stay on your device
No sign-up
Image tools
Resize, crop, compress, enhance and convert pictures.