Base32 to Base64 Converter
Paste a Base32 string (A-Z and 2-7) and instantly get the equivalent Base64-encoded output.
Base32 Input
Examples:
Base64 Output
Enter a Base32 string and click Convert
Input chars
0
Decoded bytes
0
Base64 chars
0
Standard Base64 (with padding)
URL-safe Base64 (no padding)
Copied!
Summary
Paste a Base32 string (A-Z and 2-7) and instantly get the equivalent Base64-encoded output.
How it works
- Enter or paste a Base32 string (letters A-Z and digits 2-7) into the input field.
- Padding characters (=) and whitespace are stripped; the input is uppercased automatically.
- Each Base32 character maps to 5 bits using the RFC 4648 alphabet, building a full bit string.
- The bit string is packed into bytes (8 bits each); any trailing partial byte is discarded.
- The resulting bytes are re-encoded as standard Base64 (with = padding) and URL-safe Base64 (- / _ alphabet, no padding).
- Copy either output with one click.
Use cases
- Convert TOTP/2FA secret keys from Base32 to Base64 for use in different libraries.
- Re-encode binary tokens that arrived in Base32 format into Base64 for JWT or HTTP headers.
- Debug encoding pipelines that mix Base32 and Base64 representations.
- Verify that two encoded strings represent the same underlying bytes.
- Learn the difference between Base32 and Base64 character-set trade-offs.
- Quickly translate key material between encoding schemes during development.
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu