Binatomy
Convertisseur

Image en Base64

Chargez ou glissez une image et obtenez instantanément son Data URI Base64, avec des extraits HTML et CSS prêts à l'emploi. Tout dans le navigateur, sans envoi

Glissez une image ici

ou

Parcourir les fichiers

PNG, JPG, GIF, SVG, WebP...

FAQ

Questions Fréquentes

Tout ce que vous devez savoir sur les images Base64

Qu'est-ce qu'un Data URI Base64?

A Data URI is a string that embeds the content of a file (an image in this case) directly into the code, with no need for an external file. It has the format data:image/png;base64,XXXX where XXXX is the Base64-encoded image.

Pourquoi l'image encodée est-elle plus grande que l'originale?

Base64 encoding represents every 3 bytes of binary data with 4 text characters, so it increases the size by about 33%. That is why inlining in Base64 is only worthwhile for small images (icons, logos): it reduces HTTP requests, but for large images a normal file is better.

Mes images sont-elles téléchargées sur un serveur?

No. The conversion happens entirely in your browser using the JavaScript FileReader API: the image never leaves your device and is not sent to any server. This makes the tool private and very fast, and it even works offline once the page is loaded.