Base64 Encode/Decode
Convert text to Base64 and back, instantly and privately — everything runs in your browser.
What is Base64?
Base64 is an encoding scheme that represents binary data as ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). It’s widely used to transmit data over media designed for text (email, URLs, JSON).
Common uses
- Embedding images in HTML/CSS (
data:image/png;base64,...) - Authentication tokens (JWT payloads are Base64-encoded)
- Email attachments (MIME)
- Storing binary data in text-based formats
FAQ
Is Base64 encryption? No — it’s encoding, not encryption. Anyone can decode it. Use encryption (e.g. AES) for secrets.
Why does Base64 use more characters than the input? Base64 encodes 3 bytes into 4 characters, adding ~33% overhead.