logo
logo

Base32 Encoder & Decoder

Encode text to Base32 or decode Base32 to text. RFC 4648 compliant. Instant conversion with copy and swap functionality.

Base32 Encode/Decode

Convert text to Base32 encoding and back

0 chars
0 chars
🔐 RFC 4648 compliant Base32 encoding • Browser-based

Free Base32 Encoder & Decoder – Convert Text to Base32 Online

Encode text to Base32 or decode Base32 to text. RFC 4648 compliant implementation. Instant conversion, copy output, swap modes. Free, fast, browser-based.

What Is Base32 Encoding?

Base32 is a binary-to-text encoding scheme that represents binary data using a set of 32 ASCII characters. Unlike Base64 which uses 64 characters, Base32 uses only uppercase letters A-Z and digits 2-7, making it case-insensitive and avoiding visually similar characters.

Base32 Character Set

CharactersDescription
A-Z26 uppercase letters
2-76 digits (0, 1, 8, 9 avoided)
=Padding character

Why Use Base32?

Case Insensitivity: Works reliably in case-insensitive contexts.

Human Readable: Avoids confusing characters (0/O, 1/I/l).

DNS Safe: Valid for DNS labels and domain names.

URL Safe: No special characters requiring escaping.

How to Use This Tool

To Encode:

  1. Select "Encode" mode
  2. Enter your text
  3. Copy the Base32 output

To Decode:

  1. Select "Decode" mode
  2. Enter Base32 string
  3. Copy the decoded text

Base32 vs Base64

FeatureBase32Base64
Character set32 chars64 chars
Case sensitiveNoYes
Output size60% larger33% larger
Human readableBetterWorse
Use casesDNS, OTPEmail, URLs

Common Uses

TOTP/HOTP Secrets

Two-factor authentication secrets are typically Base32 encoded:

Secret: JBSWY3DPEHPK3PXP

DNS Records

DNSSEC and other DNS extensions use Base32.

File Systems

Some file systems use Base32 for case-insensitive names.

Data Encoding

General-purpose data encoding where case matters.

Frequently Asked Questions

Why does output have padding (=)?

Padding ensures the encoded string length is a multiple of 8.

Is Base32 encryption?

No. Base32 is encoding, not encryption. Anyone can decode it.

Why A-Z and 2-7 only?

This avoids characters like 0/O and 1/I that are easily confused.

Related Tools


Enter text or Base32 above to convert instantly.