Developer Tools
Base64 Encoder & Decoder
Use our free Base64 Encoder/Decoder to encode text to Base64 or decode Base64 strings instantly. Perfect for developers working with APIs, data URIs, and encoded data.
Encode & Decode Base64 Instantly
Convert text to Base64 or decode Base64 strings back to plain text. Supports UTF-8 characters. All processing runs locally in your browser — nothing is sent to any server.
0
0
0%
0 B
How to Use
- Enter plain text on the left, click Encode
- Or paste Base64 on the right, click Decode
- Copy the result with the copy buttons
- Stats show size comparison automatically
Common Use Cases
- Encode API tokens
- Data URIs for images
- Email attachments
- Decode JWT payloads
- Embed binary in JSON
- HTTP Basic Auth
Base64 Character Set
| Range | Characters | Count |
|---|---|---|
| Uppercase | A B C ... Z | 26 |
| Lowercase | a b c ... z | 26 |
| Digits | 0 1 2 ... 9 | 10 |
| Symbols | + / | 2 |
| Padding | = | 1 |
| Total | 64 characters + padding | |
FAQ – Base64 Encoder
What is Base64 encoding?
Base64 converts binary data into a text format using 64 printable ASCII characters. It's used to safely transmit binary data through text-only channels like email or JSON.
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it. Never use Base64 to protect sensitive data — use proper encryption instead.
Why does Base64 increase size?
Base64 represents 3 bytes of data as 4 characters, resulting in ~33% size increase. This is the trade-off for text-safe representation.
Is my data safe?
Yes. All encoding/decoding happens in your browser. Nothing is sent to any server.
Does it support Unicode/UTF-8?
Yes. This tool properly handles UTF-8 characters including emojis, accented letters, and non-Latin scripts.
What is Base64URL?
A URL-safe variant that replaces + with - and / with _. Used in JWTs and URLs where standard Base64 characters would cause issues.