Image tool
Image to Base64
Get a data URL you can paste into HTML, CSS, or JSON. The file is encoded on your device.
- Free to use
- Processed on your device
- No account needed
Related tools
Stay in the browser for the next step — convert, compress, crop, or strip metadata.
- Favicon GeneratorCreate favicon.ico and PNG icons from any JPG, PNG, or WebP image.
- Image ConverterConvert JPG, PNG, and WebP in either direction: JPG to PNG, PNG to JPG, JPG to WebP, WebP to JPG, PNG to WebP, and WebP to PNG.
- Remove Image MetadataStrip EXIF and other metadata by re-encoding the image locally. The original file is not uploaded.
FAQ
Should I use Base64 in production pages?
Small icons can be inlined. Large photos bloat HTML. This tool is for encoding, not a recommendation to inline everything.
Frequently asked questions