File ke Base64
Seret dan lepas file apa pun untuk mengenkode ke Base64. Mendukung file hingga 25 MB.
Seret dan jatuhkan file di sini, atau pilih dari disk.
Ukuran file maksimum: 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.