Base32 Encoder & Decoder
Convert text to RFC 4648 Base32 and decode Base32 back to readable text instantly.
Useful for OTP secrets, interoperable text-safe payloads, and learning how binary-to-text encodings work.
Tool not found: Base32EncoderTool
Please check if the component name is correct.
How Base32 Encoding Works
Base32 rewrites binary data with a 32-symbol alphabet. Because 25 equals 32, the encoder groups the underlying bytes into 5-bit values and maps each value to one Base32 character.
Example: encoding the letter "f"
Byte value: `01100110`
5-bit groups: `01100 11000`
Alphabet lookup: `M Y`
RFC 4648 padded result: MY======
Padding characters (`=`) appear when the original byte length does not align to a full Base32 block. That is normal for RFC 4648 output and helps decoders recover the original byte boundaries.
Alphabet and Padding Reference
| Symbol Set | Meaning | Notes |
|---|---|---|
| A-Z | Values 0-25 | Uppercase letters carry most of the alphabet |
| 2-7 | Values 26-31 | Digits extend the set to 32 symbols total |
| = | Padding | Added when the final block is incomplete |
History and Use Cases
Base32 is part of the standardized family of base encodings documented by the IETF. It is primarily chosen for compatibility and readability rather than compactness or security.
OTP secrets
Authenticator apps and provisioning URIs commonly display shared secrets in Base32 for safer manual entry.
DNSSEC NSEC3 records
The DNSSEC NSEC3 family uses a Base32hex representation for hashed labels in signed DNS zones.
Human-readable tokens
Base32 avoids punctuation-heavy alphabets, which makes it easier to copy or read aloud in support workflows.
Authoritative References
These references define or document the Base32 family and its real-world use:
Frequently Asked Questions
Tool Features
Instant Conversion
Encode or decode Base32 in real time as you type.
RFC 4648 Compatible
Uses the standard alphabet and padding conventions used by interoperable Base32 systems.
Privacy Focused
All text stays in the browser while you convert or decode it.
Copy and Download
Quickly reuse encoded payloads in docs, dev tooling, or debugging workflows.