Yoryantra
← Back to Tools

Base32 Encoder Decoder

Encode text to Base32 and decode Base32 strings directly in your browser. Supports RFC 4648 Base32, padding options, uppercase output, whitespace cleanup, and byte-safe output.

Encode normal text or hex bytes to Base32, or decode Base32 back to text, hex, or byte values.

Options

Base32 is commonly used for secrets, OTP setup strings, compact tokens, and systems where uppercase letters and digits are easier to handle.

Output

Converted Base32 output will appear here.
Base32 conversion happens directly in your browser. Your input is not uploaded to a server.

Encoding and Decoding Base32 Values

Base32 represents binary data using a small alphabet of letters and digits. It is less compact than Base64, but it is easier to read, type, and handle in systems that avoid mixed case or special characters.

This Base32 Encoder Decoder converts text or hex bytes to Base32 and decodes Base32 strings back to text, hex, or byte values. It supports RFC 4648 Base32, Base32hex, padding control, grouped output, and whitespace cleanup.

Using the Base32 Converter

  1. Paste text, hex bytes, or a Base32 string.
  2. Choose encode, decode, or auto detect.
  3. Select the alphabet and output format.
  4. Adjust padding, uppercase, whitespace, or lowercase handling.
  5. Copy the converted Base32, decoded text, hex, or report output.

Common Base32 Encoder Decoder Use Cases

  • Decoding Base32 values found in developer tools or logs.
  • Encoding short text or byte values into RFC 4648 Base32.
  • Working with TOTP or OTP-style secret strings.
  • Checking whether a Base32 value needs padding.
  • Converting hex bytes into a Base32-safe representation.
  • Producing uppercase grouped output that is easier to read.

Example Base32 Conversion

Text:   hello
Base32: NBSWY3DP

Base32 vs Base64

Base64 is more compact, but it can include characters such as plus, slash, and equals depending on the variant. Base32 uses a smaller alphabet, usually uppercase letters and digits, which makes it easier to use in some manual-entry or case-insensitive workflows.

Choose Base32 when readability, typing, or case handling matters more than compactness. Choose Base64 when shorter encoded output is more important.

Frequently Asked Questions

What is Base32 encoding?

Base32 is a way to represent binary data using 32 characters, commonly uppercase letters A-Z and digits 2-7.

What alphabet does this tool use?

It supports standard RFC 4648 Base32 and Base32hex.

Does Base32 require padding?

Some Base32 strings include equals signs for padding. This tool can add or remove padding depending on your setting.

Can this decode TOTP-style secrets?

It can decode Base32 text used in many secret strings, but it does not generate or verify one-time passwords.

Is anything uploaded when I convert Base32?

No. Base32 conversion happens directly in your browser.