Image To Base64 in your browser
Encode an image as a Base64 data URL for CSS or HTML. Use image to base64 locally in your browser without an account or file uploads.
How to use image to base64
- Choose a file using the file picker or drop zone.
- Review your selection before processing.
- Create the result, review its preview and download it before leaving the tool.
Before you start
Files stay in this tab. Output is limited to 40 megapixels. Animated images use their first frame unless you choose a GIF tool. PNG and WebP preserve transparency; JPG fills transparent pixels with white.
Selected files are limited to 150 MB total (100 MB for video). Results stay in this tab; download before leaving. Read the privacy policy.
Related image tools
Browse all image tools for format choices, file limits and common questions.