Free image to Base64 converter — drag and drop or select an image file to encode it as a Base64 string. Get output as a data URI, raw Base64, HTML img tag, or CSS background-image. Supports PNG, JPG, GIF, SVG, WebP, and ICO formats.
How to Use
Select or drag-and-drop an image file.
Choose the output format (Data URI, Raw Base64, HTML, CSS).
Toggle data URI prefix and line wrap options.
Copy the Base64 encoded output.
Drag & drop an image file here, or click to browse