Image & Design
Image to Base64
Encodes an image into a data URL you can embed directly in CSS or HTML — useful for small icons where an extra HTTP request isn't worth it.
FreeNo sign-upRuns in your browser
How it works
- 1Drop an image in
- 2Get its Base64 data URL
- 3Copy it into your CSS or HTML
Who this is for
- Inlining a small icon to avoid an extra request
- Embedding an image in a single-file HTML export
- Quick base64 encoding during development
More tools
More in Image & Design
Base64 to Image
Decodes a Base64 string or data URL back into a viewable, downloadable image.
Image & Design
Image Compressor
Compresses JPG, PNG or WebP images in your browser without uploading them anywhere.
Image & Design
Image Resizer
Resizes an image to a maximum width while preserving aspect ratio.
Image & Design
Image Cropper
Crops an image to a common aspect ratio, centred automatically.
Image & Design
JPG to PNG Converter
Converts JPG images to PNG format in your browser.
Image & Design
PNG to JPG Converter
Converts PNG images to JPG format, reducing file size.
Image & Design
Ask AI about Internet Compass