Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 back to text. Perfect for developers working with APIs, data transmission, and encoding.
Text to Encode
Base64 Output
About Base64
Base64 uses 64 characters (A-Z, a-z, 0-9, +, /) to represent binary data in text format. Each character represents 6 bits of data.
Encoding: Converts binary data to text. Output is ~33% larger than input.
Common uses: Email attachments, embedding images in HTML/CSS, API data transmission, JWT tokens.
Padding: Uses = characters for padding when input length isn't divisible by 3.
Frequently Asked Questions
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that converts binary data into a text format using 64 different characters (A-Z, a-z, 0-9, +, /).
When should I use Base64?
Base64 is commonly used for encoding binary data in text-based formats like JSON, XML, or email. It's also used for embedding images in HTML/CSS.
Is Base64 encryption?
No, Base64 is not encryption. It's a reversible encoding scheme that anyone can decode. It doesn't provide security.