Base64 to Base32 Converter
Paste a Base64 string and instantly get the equivalent Base32-encoded output, decoded and re-encoded entirely in your browser.
0 characters
0 characters
Quick Examples
Summary
Paste a Base64 string and instantly get the equivalent Base32-encoded output, decoded and re-encoded entirely in your browser.
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-06-09 ·
Reviewed by Nham Vu