Images & documents
Free Image to Base64 Converter
Convert a PNG, JPEG or WebP image to a Base64 data URL in your browser. Copy the string for inline CSS, HTML or email templates.
How to use this tool
- Choose an image file up to 8 MiB.
- Preview it and check the dimensions and file size.
- Copy the data URL or download it as a text file.
Related free tools
Base64 to image converter
Paste a Base64 image data URL to preview it and download the PNG, JPEG or WebP file. Everything runs in your browser.
Open tool ↗Images & documentsImage URL to Base64 converter
Fetch an image from an HTTPS URL and convert it to a Base64 data URL in your browser. Works with hosts that allow cross-origin requests.
Open tool ↗Images & documentsImage resizer
Resize a PNG, JPEG or WebP image to exact pixel dimensions in your browser and convert between formats. No upload, no watermark.
Open tool ↗Frequently asked questions
Image to Base64 converter
questions.
When should I inline an image as Base64?
For small icons, logos in HTML emails, or single-file HTML exports where a separate request is not possible. Large photos should stay as separate files.
Is my image uploaded to a server?
No. The file is read and encoded in your browser and never leaves your device.
Is anything I enter saved or sent to Form Koi?
No. Everything you type or upload stays in this browser tab and is processed locally. Copy or download anything you want to keep before leaving the page.
Start with Form Koi Free