Base encoding converts binary data into text using a limited set of characters. This tool supports Base64 (standard and URL-safe), Base32 (five variants), Base58, and custom alphabets—useful for everything from embedding images in HTML to generating cryptocurrency addresses.
Read the comprehensive Base Encoding Guide →
Standard Base64 encoding for general-purpose use. Commonly used in MIME emails, data URIs, and JSON/XML.
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/| Format | Variant | Alphabet | Padding | Best For |
|---|---|---|---|---|
| Base64 | Standard | A-Z, a-z, 0-9, +, / | Yes ( | General purpose, MIME, data URIs |
| URL-safe | A-Z, a-z, 0-9, -, _ | No | JWT tokens, URLs, filenames | |
| Base32 | RFC 4648 | A-Z, 2-7 | Yes ( | TOTP secrets, general use |
| Extended Hex | 0-9, A-V | Yes ( | Hex sort order preservation | |
| z-base-32 | ybndrfg8ejkm… | No | Human readability, Tahoe-LAFS | |
| Crockford | 0-9, A-Z (no I,L,O,U) | No | Error tolerance, short IDs | |
| Bech32 | qpzry9x8gf2t… | No | Bitcoin SegWit (alphabet only) | |
| Base58 | — | 1-9, A-H, J-N, P-Z, a-k, m-z | No | Crypto addresses, IPFS |
| Custom | — | Any (2-256 chars) | Optional | Domain-specific encoding |
Base64
data: URIsBase32
.onion addressesBase58
Custom Alphabets
Base encoding is not encryption. Anyone can decode it instantly. Never use base encoding to protect sensitive data.
The Base Encoding Guide explains how each algorithm works, with examples, performance comparisons, common pitfalls, and RFC specifications.