Skip to content
Tools

Base32 Encoder & Decoder

Encode and decode Base32 (RFC 4648), as used by TOTP secrets.

Local
Output

What this tool does

Encode text to Base32 and decode Base32 back to text, following RFC 4648 with the standard A-Z and 2-7 alphabet and padding. Text is treated as UTF-8, so accents and emoji survive the round trip. The conversion happens in your browser.

Base32 vs Base64

Base32 uses a smaller, case-insensitive alphabet with no easily confused characters, which makes it safer to type, read aloud or put in a URL or filename. It is less compact than Base64. You will meet it most often as the shared secret for a TOTP authenticator, which is exactly a Base32 string.

Why testers reach for it

When you are testing two-factor flows or debugging a system that stores identifiers in Base32, you need to move between the readable value and the bytes behind it. Decoding a secret to check it, or encoding one for a fixture, is quicker here, and the value never leaves your machine.

Common use cases

  • Reading or building a TOTP secret for an authenticator test.
  • Decoding a Base32 identifier from a log.
  • Encoding a value that needs a case-insensitive, URL-safe form.

Frequently asked questions

Why Base32 and not Base64?
Base32 uses a smaller, case-insensitive alphabet with no easily confused characters, so it is safer to type or read aloud. TOTP authenticator secrets are Base32.
Is my input uploaded?
No. Encoding and decoding happen in your browser.

Learning resources

Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.

Feedback welcome

Found a bug in this tool, or want it to do something it does not? Tell us and we will take a look.