Base64 Encode/Decode
Encode and decode text using Base64 encoding for secure data transmission
How to Use Base64 Encode/Decode
Select whether you want to encode or decode
Enter your text in the input field
Get instant results as you type
About Base64 Encoding & Decoding
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). Each group of 3 bytes of input becomes 4 Base64 characters, making encoded data approximately 33% larger than the original.
Why Use Base64?
Many text-based systems — email, JSON, XML, HTTP headers — cannot safely carry raw binary data. Base64 encoding converts any binary content into plain ASCII text so it can travel through these systems without corruption. Common uses include data URIs, JWT tokens, and MIME email attachments.
Frequently Asked Questions
Does Base64 encrypt my data?
No. Base64 is encoding, not encryption. It simply changes the representation of data. Anyone with the encoded string can decode it instantly. Do not use Base64 to secure sensitive information.
How much larger is Base64 output?
Base64-encoded output is approximately 33% larger than the original. For every 3 bytes of input, 4 Base64 characters are produced. Padding characters (=) may be added to make the length a multiple of 4.
Where is Base64 commonly used?
Base64 is used in email attachments (MIME), data URIs for embedding images in HTML and CSS, storing binary data in JSON payloads, JWT token payloads and signatures, and HTTP Basic Authentication headers.