Convert Image to Base64
Get your image as text you can paste into HTML, CSS or JSON.
Your files are processed in your browser and are not uploaded.
How to use Image to Base64
- Add your image.
- Choose Data URI, HTML, CSS or raw Base64.
- Copy or download the text.
About Image to Base64
Base64 turns the file into text. It is about one third larger than the original.
- Files stay on your device – nothing is uploaded
- Free, with no sign-up and no watermark
- Works on several images at once where the tool allows it
Frequently asked questions
When should I use Base64?
For tiny images embedded in code. Large images become bigger and are not cached separately.
Is it uploaded?
No.
Which formats work?
JPG, PNG, WebP, GIF, SVG and HEIC (converted to JPG first).