Converters

Base32 Encoder & Decoder


Encode text to RFC 4648 Base32 and decode it back to plain text instantly and free, right in your browser with full UTF-8 support.

0 characters
0 characters

About RFC 4648 Base32

  • Uses a 32-character alphabet: A–Z and the digits 2–7, encoding 5 bits per character.
  • Encoded output is padded with = so its length is a multiple of 8 characters; padding can be turned off.
  • Case-insensitive on decode and free of the +, /, and = ambiguity issues that trip up Base64.
  • Text is handled as UTF-8 via TextEncoder/TextDecoder, so emoji and accented characters round-trip correctly.
  • Everything runs locally in your browser — nothing is uploaded or stored.

A Base32 Encoder & Decoder converts plain text into RFC 4648 Base32 and turns Base32 back into readable text. Base32 uses a 32-character alphabet—the letters A through Z and the digits 2 through 7—to represent binary data as a string that is case-insensitive, free of confusing symbols, and safe to type, read aloud, or embed almost anywhere.

Type into either pane and the other updates live. The tool auto-detects whether you are encoding or decoding, handles Unicode correctly through UTF-8, lets you toggle = padding, and validates Base32 input so malformed data is caught instead of silently mangled.

How to use the Base32 encoder and decoder

  1. Choose a direction with the Encode / Decode toggle, or leave Auto-detect on and just start typing.
  2. Enter or paste your content in the left pane—plain text to encode, or a Base32 string to decode.
  3. Read the converted result instantly in the right pane; the character counts under each field update as you go.
  4. Toggle Use = padding if you need standards-strict output with trailing = characters, or turn it off for compact output.
  5. Click Copy to grab the result, or Swap & flip direction to feed the output straight back in and reverse the conversion.

What is Base32 encoding?

Base32 is a binary-to-text encoding defined in RFC 4648. It groups binary data into 5-bit chunks and maps each chunk to one of 32 printable characters, so every encoded character carries five bits of the original data. Because 5 bits do not divide evenly into 8-bit bytes, the output is padded with = until its length is a multiple of eight characters. The standard alphabet deliberately omits 0, 1, 8, and 9 to avoid visual confusion with the letters O, I, B, and g.

Base32 vs Base64: which should you use?

Both encodings make binary data text-safe, but they trade size for robustness. Base64 Encode and Decode packs six bits per character, so its output is about 33% larger than the input and noticeably shorter than Base32, which packs only five bits per character and grows the data by roughly 60%. Base32 wins when a human has to read or transcribe the value: it is case-insensitive and avoids the +, /, and easily-misread characters that make Base64 awkward on phones, in URLs, or over the phone. Use Base32 for things like TOTP secret keys, DNS labels, and manually entered codes; reach for Base64 when compactness matters more than legibility.

Base32 encoder and decoder features

  • Live two-way conversion with a direction toggle and automatic detection of encode vs decode.
  • RFC 4648 standard alphabet (A–Z, 2–7) with correct = padding you can switch on or off.
  • Full UTF-8 handling via TextEncoder and TextDecoder, so emoji and accented letters survive the round trip.
  • Input validation that pinpoints the first illegal character and flags non-UTF-8 byte sequences on decode.
  • Copy and swap controls to move results around without retyping.
  • 100% client-side—your text never leaves the browser, and the tool keeps working offline.

When to reach for a different encoder

Base32 is one member of a family of text-transformation tools, and picking the right one matters. If you need to make text safe for a web address or query string, a URL Encoder and Decoder escapes reserved characters with percent-encoding instead. To see how characters map to raw bits, a Text to Binary Converter spells out each byte, while a Number Base Converter re-expresses whole numbers in binary, octal, decimal, or hexadecimal. And when your data is a color rather than text, a Hex to RGB Converter translates hexadecimal channel values into RGB. Base32 specifically shines whenever the encoded string will be read, spoken, or typed by a person.

Frequently Asked Questions

What characters does Base32 use?

RFC 4648 Base32 uses 32 symbols: the uppercase letters A through Z and the digits 2 through 7. The digits 0, 1, 8, and 9 are intentionally excluded to prevent confusion with similar-looking letters. Encoded output may also end with one or more = padding characters.

Is Base32 encryption?

No. Base32 is an encoding, not encryption. It simply re-represents data in a text-safe alphabet and anyone can decode it, so it provides no confidentiality. Use it for safe transport and readability, not for protecting secrets.

Why is my Base32 output longer than the input?

Base32 stores only five bits of information per character, compared with eight bits in a raw byte, so the encoded text is about 60% larger than the original. Padding with = characters to reach a multiple of eight adds a little more length.

Can I turn off the = padding?

Yes. Uncheck the padding option to produce Base32 without trailing = characters. The decoder accepts input with or without padding, so unpadded output still decodes correctly here and in most tolerant Base32 libraries.

Does it handle emoji and non-English text?

Yes. Text is encoded as UTF-8 before conversion and decoded back through UTF-8, so emoji, accented letters, and non-Latin scripts round-trip accurately. If decoded bytes are not valid UTF-8, the tool reports an error instead of showing garbled text.

Is my data sent to a server?

No. All encoding and decoding happens locally in your browser with JavaScript. Nothing you type is uploaded, logged, or stored, and the tool continues to work even after you go offline.