Image to Base64
Turn an image into a Base64 data URL or raw string.
Loading tool…
About the Image to Base64
Convert an image to a Base64 data URL or raw Base64 string for CSS, HTML and API payloads. Copy the result or download it as a text file.
Everything happens locally in your browser. There is no account, no file upload and no waiting queue, and the tool stays free to use on desktop and mobile.
How to use it
- Choose an image from your device.
- Select output type: Data URL (with prefix) for direct CSS/HTML use, or Raw Base64 for API payloads.
- Optionally include the data URL prefix (data:image/...;base64,).
- Press Convert to Base64, then copy or download the result.