Fichier vers Base64

Glissez-déposez n'importe quel fichier pour l'encoder en Base64. Jusqu'à 25 Mo, résultat instantané.

Glissez-déposez un fichier ici, ou choisissez-le depuis le disque.

Taille maximale du fichier : 25MB

Frequently Asked Questions

What file types can be converted to Base64?
Any file type at all — documents, images, archives, audio, video. Base64 works on raw bytes regardless of file format.
What is the maximum file size?
This tool supports files up to 25 MB. For larger files, use command-line tools like base64 on macOS/Linux or certutil on Windows.
Is my file uploaded to a server?
No. All processing happens entirely in your browser using JavaScript. Your file never leaves your device.
Why would I convert a file to Base64?
Common uses include embedding files in JSON API payloads, storing binary data in text-based databases, and attaching files in email via MIME encoding.
How do I embed a Base64 file in JSON?
Store the Base64 string as a value: { "file": "data:application/pdf;base64,JVBERi0xLj..." }. Include the MIME type prefix for proper handling.
File to Base64 Encoder — Any File Type | B64wise | B64wise