Image to Base64 Converter
Encode an image as a Base64 data URL.
Choose an image or enter Base64 to begin.
How to use the Image to Base64 Converter
Select an image to read its bytes as a data URL. Copy or download the text. Base64 is encoding, not encryption or compression.
Example
A small PNG can be embedded in HTML using its data:image/png;base64 URL.
Frequently asked questions
Are images uploaded to a server?
No. Image processing runs locally in your browser. Website analytics may record page visits and tool use, but not image contents.
What files are supported?
JPEG, PNG and WebP raster images up to 15 MB and 24 megapixels, with a maximum dimension of 8192 pixels. Animated images are not preserved. Select an image to read its bytes as a data URL. Copy or download the text. Base64 is encoding, not encryption or compression.