Loading...
Loading...
Loading tool...
Encode and decode text or files to and from Base64 format.
Pro includes batch encoding, file encoding, API integration, and 50+ additional developer utilities.
Base64 is a binary-to-text encoding scheme that converts binary data into a string of 64 printable ASCII characters. It is one of the most commonly used encoding methods on the web, appearing in email attachments, data URIs, API authentication, and more.
Base64 takes every 3 bytes (24 bits) of input and splits them into 4 groups of 6 bits each. Each 6-bit group maps to one of 64 characters: A-Z (0-25), a-z (26-51), 0-9 (52-61), + (62), and / (63). If the input length is not a multiple of 3, padding characters (=) are added.
| Input | Binary | 6-bit Groups | Base64 |
|---|---|---|---|
| Hi | 01001000 01101001 | 010010 000110 100100 | SGk= |
| Man | 01001101 01100001 01101110 | 010011 010110 000101 101110 | TWFu |
data:image/png;base64,iVBOR... This eliminates an HTTP request.Base64(username:password) in the Authorization header.Base64 is an encoding, not encryption. It is trivially reversible - anyone can decode a Base64 string. Never use Base64 to "hide" passwords, API keys, or sensitive data. It provides zero security. For actual security, use AES encryption, bcrypt (for passwords), or TLS for data in transit.
Base64 increases data size by approximately 33%. A 1 MB file becomes about 1.33 MB when Base64-encoded. This is because 3 bytes of input become 4 bytes of output. For large files, this overhead is significant - use binary transfer methods instead of Base64 when possible.
Base64 is a binary-to-text encoding scheme that converts binary data into ASCII characters. It's commonly used to embed images in HTML/CSS, encode email attachments, and transmit data in URLs.
No - Base64 is encoding, not encryption. It does not provide security. Anyone can decode Base64 data. Use proper encryption (AES, RSA) for sensitive data.
Base64 Encoder / Decoder is part of BriskTool's collection of free online tools. All processing runs entirely in your browser for maximum privacy and speed.