Image to Base64
Live
Convert images to Base64 strings and Data URIs locally.
Single image · JPG, PNG, WebPOpen toolImage to Base64
Convert images to Base64 strings and Data URIs locally.
Single image · JPG, PNG, WebPOpen toolWhy use Base64 for images?
Base64 embedding eliminates separate HTTP requests for small images and simplifies asset management.
Does encoding upload my image?
No. The FileReader API encodes the file locally.
Is SVG supported?
Yes. SVG files are encoded with the image/svg+xml MIME type.