How it works
- 1Choose an image from your device.
- 2The browser reads it locally and creates a Base64 data URL.
- 3Copy the result for HTML, CSS, JSON, or download it as a .txt file.
Convert an image into a Base64 data URL directly in your browser. Copy it or download it as a text file.
Drop an image here
JPG, PNG, GIF, WebP, SVG and other browser-supported images
No. The image is read and converted locally in your browser.
The result includes the MIME type prefix, such as data:image/png;base64,, followed by the Base64-encoded content.