Hexadecimal to Base32 Converter
Convert hexadecimal strings to RFC 4648 Base32 encoding — or reverse from Base32 back to hex — instantly in your browser.
Quick Samples
0
Input bytes
0
Output chars
0
Padding (=)
Include Padding (=)
RFC 4648 requires padding; disable only when your target system does not need it.
Copied!
Summary
Convert hexadecimal strings to RFC 4648 Base32 encoding — or reverse from Base32 back to hex — instantly in your browser.
How it works
- Paste or type a hexadecimal string into the Hex input field.
- The tool decodes the hex bytes into raw binary data.
- Each group of 5 bits is mapped to one of the 32 RFC 4648 characters (A–Z, 2–7).
- Padding characters (=) are appended so the output length is a multiple of 8.
- For the reverse direction, switch to Base32 input and the tool decodes Base32 to hex.
Use cases
- Encode cryptographic key material from hex into Base32 for use in TOTP/HOTP secrets.
- Convert hex-encoded identifiers to the Base32 format required by certain APIs.
- Verify that a Base32-encoded value matches a known hex byte sequence.
- Debug encoding pipelines by round-tripping hex through Base32 and back.
- Generate Base32 tokens from random hex for URL-safe identifiers.
- Inspect binary data stored in hex by viewing its Base32 representation.
Frequently Asked Questions
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu