Base32 Encoder & Decoder

Base32 encodes binary data using 32 ASCII characters (A-Z and 2-7 in RFC 4648). Each 5 bits maps to one character, producing output 60% longer than input. "Hello" encodes to "JBSWY3DP". Base32 is used for TOTP/2FA secrets (Google Authenticator), DNS labels, and filenames on case-insensitive systems. Variants include Base32hex and Crockford (excludes I, L, O, U to avoid ambiguity).

Encode and decode Base32 text online. Supports RFC 4648 standard, Base32hex, and Crockford alphabets. Optional padding. Used for TOTP/2FA secrets, DNS labels, and file names. Bidirectional with swap button.

Presets

Options

Text Input

Base32 Reference

InputStandard (RFC 4648)Base32hexCrockford
fMY======CO======CR
foMZXQ====CPNG====CSQG
fooMZXW6===CPNMU===CSQPY
foobMZXW6YQ=CPNMUOG=CSQPYRG
foobaMZXW6YTBCPNMUOJ1CSQPYRK1
foobarMZXW6YTBOI======CPNMUOJ1E8======CSQPYRK1E8

How to Use

  1. Enter your value in the input field
  2. Click the Calculate/Convert button
  3. Copy the result to your clipboard

Related Tools