Base64 input
Encode or decode
Ready.
Data converter
Encode UTF-8 text to Base64, decode Base64 back to text, convert URL-safe Base64, control padding, validate input, and inspect byte counts directly in your browser.
Base64 input
Ready.
Validation
| Variant | Characters | Notes |
|---|---|---|
| Standard | A-Z a-z 0-9 + / | Common MIME and general Base64 alphabet |
| URL-safe | A-Z a-z 0-9 - _ | Safer in URLs, filenames, and tokens |
| Padding | = | Fills output length to a multiple of 4 |
| Line wrap | 76 characters | Common for MIME-style encoded text |
No. Base64 is reversible encoding. Anyone can decode it, so it should not be used to hide secrets.
Equals signs are padding. They make the encoded output length a multiple of 4 characters.
URL-safe Base64 replaces + with - and / with _. It often omits padding, especially in tokens.