Base32 to Decimal Converter

Paste a Base32 string (A-Z, 2-7) and instantly see its decimal integer value.

Base32 Input

Alphabet: A=0 B=1 C=2 D=3 E=4 F=5 G=6 H=7 I=8 J=9
K=10 L=11 M=12 N=13 O=14 P=15 Q=16 R=17 S=18 T=19
U=20 V=21 W=22 X=23 Y=24 Z=25 2=26 3=27 4=28 5=29 6=30 7=31

Enter a Base32 string on the left and click Convert.

Copied!

Summary

Paste a Base32 string (A-Z, 2-7) and instantly see its decimal integer value.

How it works

  1. Type or paste your Base32 string into the input field.
  2. Each character is mapped to its 5-bit value: A=0, B=1, ..., Z=25, 2=26, ..., 7=31.
  3. The tool multiplies the running total by 32 and adds each digit value left-to-right.
  4. The final decimal integer is displayed along with the equivalent hex and binary representations.
  5. Click "Copy" next to any result to copy it to your clipboard.

Use cases

  • Decode TOTP secret keys stored as Base32 integers for debugging.
  • Convert Base32-encoded identifiers used in URL shorteners to their numeric IDs.
  • Verify Base32 encoding implementations by checking the expected integer output.
  • Explore positional notation and understand how Base32 relates to binary and decimal.
  • Inspect Base32 values produced by Crockford or RFC 4648 encoders.
  • Convert Base32 hash fragments to decimal for database lookups.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu