Base64 Encode
Encode any file or text to Base64. Free, no signup required.
Drag & drop your file here or click to browse.
Accepted: Any file — Max size: 10MB
No files are
stored on
our servers
Uploading...
Converted successfully!
Download
How to Base64 Encode
Upload a file and click Encode. The file's binary content is converted to a Base64 text string. The result is downloaded as a .txt file containing the encoded data. This is useful for embedding binary data in text-based formats like JSON, XML, HTML, or email.
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It's commonly used to embed images in HTML/CSS, transmit binary data in JSON APIs, and encode email attachments. The encoded output is approximately 33% larger than the input.
Frequently Asked Questions
Base64 encoding increases size by approximately 33%. A 1MB file becomes about 1.33MB of Base64 text.