Base64 to Base32 Converter
Paste a Base64 string and instantly get the equivalent Base32-encoded output, decoded and re-encoded entirely in your browser.
Use the Base64 to Base32 Converter
0 characters
0 characters
Quick Examples
Summary
This tool decodes a Base64 string into its raw binary form, then re-encodes those bytes using the standard RFC 4648 Base32 alphabet (A–Z, 2–7). It runs entirely in your browser — no data is sent to any server. Padding characters (=) are included by default and can be toggled off for environments that require unpadded Base32.
How it works
- Paste or type a Base64-encoded string into the input field.
- The tool decodes the Base64 data into raw bytes using the browser's atob() function.
- The raw bytes are then re-encoded using the RFC 4648 Base32 alphabet (A–Z and 2–7).
- The resulting Base32 string appears instantly in the output panel.
- Use the Copy button to copy the output, or toggle padding with the checkbox.
- Click Swap to reverse direction and convert Base32 back to Base64.
Use cases
- Generate Base32 secrets for TOTP/2FA authentication from Base64-encoded keys.
- Convert JWT or Base64 tokens into Base32 for systems that require case-insensitive encoding.
- Encode binary data in Base32 for DNS labels or URL-safe identifiers.
- Debug encoding pipelines by inspecting intermediate Base32 representations.
- Prepare Base32 keys for QR-code-based secret sharing workflows.
- Cross-verify encoding tools during security audits.
Frequently Asked Questions
Last updated: 2026-05-28 · Reviewed by Nham Vu