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

  1. Paste or type a Base64-encoded string into the input field.
  2. The tool decodes the Base64 data into raw bytes using the browser's atob() function.
  3. The raw bytes are then re-encoded using the RFC 4648 Base32 alphabet (A–Z and 2–7).
  4. The resulting Base32 string appears instantly in the output panel.
  5. Use the Copy button to copy the output, or toggle padding with the checkbox.
  6. 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