Image to Base64
Convert an image file to a Base64 data URL for HTML or CSS.
Result
Local processingYour result will appear here.
How to use it
Choose a small image and copy its full data URL to use as an HTML image source or CSS background. Large images will produce longer strings.
Worked example
A PNG data URL starts with “data:image/png;base64,” followed by the encoded image.