Convert any image to a Base64 string
Encode images into Base64 data URLs.
Frequently Asked Questions
What is a Base64 image?
Base64 is a text representation of binary data. An image encoded as a Base64 data URL can be embedded directly in HTML (img src), CSS (background-image) or JSON without a separate file.
Is a Base64 image larger than the original?
Yes — Base64 encoding adds about 33% to the file size. It's best for small images (icons, logos, thumbnails) where saving an extra HTTP request matters more than file size.
Will my image be uploaded?
Never. The encoding happens entirely in your browser — your image never leaves your device.
Need batch processing or more options? Open full image converter