Skip to content
Mediawand

Base32 Encoder and Decoder

Base32 writes data with only capital letters and the digits 2 to 7, so it survives being read aloud, typed by hand or used in file names. It's how two-factor authentication secrets are usually shared.

How to encode or decode Base32

  1. 1Paste your text or Base32.
  2. 2Choose Encode or Decode.
  3. 3Copy the result.

The alphabet

Standard Base32 (RFC 4648) uses A–Z and 2–7, which avoids digits like 0, 1 and 8 that look like letters. Encoded text is padded with = to a multiple of eight characters unless you turn padding off.

Forgiving decoding

Lowercase letters, spaces and dashes are accepted when decoding, so keys copied in groups like ABCD-EFGH work.

Binary data

If the decoded bytes aren't text, as with a raw authentication secret, you can download them as a file instead.

Frequently asked questions

Is my data uploaded?
No. The conversion runs in your browser and nothing is sent anywhere.
Base32 or Base64?
Base64 is about 17% shorter; Base32 is easier to read and type and works where case doesn't matter.
Does it support Base32hex or Crockford?
No, only the standard RFC 4648 alphabet, which is by far the most common.

Related tools

Loading tools…