Image to Base64
GratuitOutils d’imageEmbed small images straight into HTML, CSS, JSON or emails as Base64 text, with no separate file to host.
- S'exécute dans votre navigateur
- Rien n'est importé
- Sans filigrane
Comment utiliser Image to Base64
- 01
Drop the image for Image to Base64, or pick one from your device.
- 02
Pick data URI, plain Base64, CSS or HTML.
- 03
Copy it or download it as text.
À quoi il sert
Web development
Inline images in CSS or HTML.
Emails
Embedded images.
APIs
Send images as text.
Conseils pour un meilleur résultat
- Base64 is about a third larger than the file.
- Use it for small icons.
- Copy the data URL for CSS.
FAQ
When should I use Base64 images?
For small icons and logos. Base64 is about a third bigger than the file and is not cached separately, so use normal files for photos.
Does Image to Base64 upload my image?
No. Image to Base64 encodes the image in your browser, so the picture never leaves your device.
API SandBase pour cette tâche
Le même type de données dans votre propre code ou Agent : une seule clé API, facturation à l'appel.
Plus de tools
Before and After Image Maker
Put two photos side by side with Before and After labels.
EXIF Viewer
Read supported JPEG EXIF fields: camera, settings, date and GPS.
Image Size Checker
Check a picture's pixel size, file size, aspect ratio and megapixels.
Image to ASCII Art
Turn a picture into ASCII art you can copy and paste.
EXIF Remover
Remove EXIF data, including the GPS location, from a photo.
Image to PDF Converter
Combine JPG, PNG, WebP, HEIC and other images into one PDF, a page per image.
