Base64 Encoder / Decoder
Input
Base64 encodes binary data into text using 64 printable ASCII characters, making it safe to transmit in text-based systems like email and URLs. It is not encryption — just encoding.
- 1Every 3 bytes → 4 Base64 characters
- 2Characters: A–Z, a–z, 0–9, +, / (64 total)
- 3= padding makes output a multiple of 4 characters
- 4Output is ~33% larger than original binary input
Encode "Man"="TWFu"
Decode "SGVsbG8="="Hello"
| Use case | Example |
|---|---|
| Email attachments | MIME encoding |
| Inline images | data:image/png;base64,... |
| JWT tokens | Header.Payload.Signature |
| HTTP Basic auth | Authorization: Basic ... |
References
🔒
100% Free
No sign-up ever
✓
Accurate
Verified formulas
⚡
Instant
Results as you type
📱
Mobile Ready
All devices