Archivo a Base64
Arrastra y suelta cualquier archivo para codificarlo en Base64. Admite archivos de hasta 25 MB.
Arrastra y suelta un archivo aquí, o elígelo desde el disco.
Tamaño máximo de archivo: 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.