Base32 Encoder / Decoder

Encode text to Base32 or decode it, using the RFC 4648 alphabet, the extended hex alphabet, Crockford's or z-base-32.

Processed on your device. Files are not uploaded

How to encode or decode Base32

  1. Paste your text or Base32

    Paste or type it into the box, or press Try an example.

  2. Choose the alphabet

    RFC 4648 is the standard one. Others suit specific uses.

  3. Copy or download

    Use it where a case-insensitive code is needed.

Worked example

This is what Base32 Encoder / Decoder gives for its own sample values. Open the tool above and change anything to try your own.

Text or Base32

Hello, Sarva!
Direction
Encode text to Base32
Alphabet
RFC 4648 (A-Z, 2-7)
Add = padding
Yes

Base32

JBSWY3DPFQQFGYLSOZQSC===

About Base32 Encoder / Decoder

Base32 writes data with 32 characters that are easy to read aloud and safe in case-insensitive systems. It is used for TOTP secrets and file names. Four alphabets are supported.

FAQs

Where is Base32 used?

In authenticator app secrets, onion addresses and some identifiers.

Is padding needed?

The standard adds = padding, but many systems leave it out. You can choose.

What is Crockford's alphabet?

A variant that avoids look-alike characters such as I, L, O and U.

Related tools