Base32 Encoder and Decoder

Encode text to Base32 or decode Base32 to text online (RFC 4648) — free and instant.

About

About the Base32 Encoder and Decoder

Encodes text into RFC 4648 Base32, or decodes a Base32 string back into its original text.

Developers working with two-factor authentication secrets or systems that use Base32 identifiers use it to encode or decode a value by hand while debugging, without reaching for a script. It's one of many free data tools on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.

Choose what to view about this tool

Guide

Using the Base32 Encoder and Decoder

  1. 1

    Step 1

    Type or paste text into the Input box.

  2. 2

    Step 2

    Click "Encode" to convert it to Base32.

  3. 3

    Step 3

    Or paste a Base32 string and click "Decode" to get the original text back.

  4. 4

    Step 4

    Click "Copy" to copy the result, or "Clear" to start over.

  • Encodes text into standard RFC 4648 Base32 (A-Z and 2-7, with = padding)
  • Decodes Base32 back into its original text, ignoring whitespace and case
  • Clear error message if a character isn't part of the valid Base32 alphabet
  • One click to copy the result
  • Works entirely in your browser — nothing you type is sent to a server
  • Free to use, with no sign-up and no limit on how many times you run it
  • Fully responsive, so it works just as well on a phone as on a desktop

Developers

Developers working with two-factor authentication secrets use the Base32 tool for encoding or decoding a TOTP key by hand while debugging.

QA engineers

QA engineers use the Base32 tool for preparing or checking Base32 test values used by a system under test.

System administrators

System administrators use the Base32 tool for decoding a Base32-encoded identifier or filename they encounter in logs or configuration.

Students learning encoding

Students learning encoding use the Base32 tool for comparing how the same text looks in Base32 versus Base64.

Examples

Base32 Encoder and Decoder examples

3 worked examples

01

Encode short text

Encoding "Hi" produces JBUQ====, with its 16 bits padded out into a 40-bit block.

02

Encode a word

Encoding "foo" produces MZXW6===, the standard RFC 4648 test vector for that word.

03

Decode back to text

Decoding MZXW6=== returns foo, since decoding ignores case and whitespace.

FAQ

Frequently asked questions

Quick answers to common questions about the Base32 Encoder and Decoder.

What does the Base32 encoder and decoder do?

It converts text to and from RFC 4648 Base32, the A-Z, 2-7 alphabet commonly used for things like TOTP secret keys.

Is this tool free to use?

Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.

Is my text safe when I use this tool?

Yes. Encoding and decoding both happen entirely on your own device — nothing you type is sent to a server.

How is Base32 different from Base64?

Base32 uses a smaller, 32-character alphabet (A-Z and 2-7) that avoids visually similar characters like 0/O and 1/I/l, which makes it more forgiving when read or typed by hand — at the cost of a slightly longer output.

What happens with lowercase input when decoding?

The decoder normalizes input to uppercase and strips whitespace automatically before decoding, so lowercase or spaced-out Base32 still works.

What if my Base32 string is missing its = padding?

The decoder works from the trimmed alphabet characters directly, so it doesn't require padding to be present to decode correctly.

Can I use this tool on my phone?

Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.

Does this tool have any limitations?

It decodes to UTF-8 text, so Base32 representing arbitrary binary data (rather than text) won't display as something meaningful.

Still have a question? Contact us

Report a problem

Base32 Encoder and Decoder

What went wrong?
    or paste a screenshot