Base64 Encoder & Decoder
Encode and decode Base64 strings with full UTF-8 support
Output
Quick Guide
- Paste plain text and click Encode to get Base64
- Paste a Base64 string and click Decode to get plain text
- Fully supports UTF-8 including emoji and non-Latin characters
What is Base64?
Base64 is a binary-to-text encoding scheme that converts binary data into a string of ASCII characters. It uses 64 printable characters (A–Z, a–z, 0–9, +, /) to represent binary data, making it safe to transmit over text-based protocols.
When is Base64 Used?
- Email attachments — MIME encoding encodes binary files as Base64
- Data URIs — embed images directly in HTML/CSS as
data:image/png;base64,... - APIs & JSON — pass binary data in JSON payloads
- JWTs — headers and payloads are Base64URL encoded
- Basic Auth — HTTP Basic Authentication encodes credentials as Base64
Is Base64 Encryption?
No. Base64 is encoding, not encryption. Anyone can decode it instantly. Never use Base64 to secure sensitive data — use proper encryption instead.