snaptools
32
Base32 Encode error
⌃⏎ run · clear · / focus input
// about this tool

Base32 Encode Online

Updated 2026-07-09

Encode text to Base32 online for free. Paste any string and SnapTools converts it to standard RFC 4648 Base32 — using only the letters A–Z and digits 2–7 — ready to copy or download. Everything runs in your browser, so your text is never uploaded.

Base32 trades a little length for robustness: its case-insensitive, ambiguity-free alphabet survives DNS labels, file names, and human transcription where Base64 would not. It is the encoding behind TOTP two-factor secret keys, among other systems. Encode here, and reverse it any time with Base32 Decode.

// how to use

  1. 1 Type or paste the text you want to encode into the input panel.
  2. 2 SnapTools encodes it to RFC 4648 Base32 as you type.
  3. 3 Copy or download the Base32 output, or switch to Base32 Decode to reverse it.

// examples

Word to Base32
Input
Hi
Output
JBUQ====
Short phrase
Input
foobar
Output
MZXW6YTBOI======

// common uses

Encoding data for case-insensitive systems Generating or inspecting TOTP/2FA secret keys Producing identifiers safe for DNS and file names Transmitting binary data as readable letters and digits

// faq

No. Encoding runs entirely in your browser, so your text never leaves your machine.
Base32 encodes binary data using 32 characters (A–Z and 2–7). It produces longer output than Base64 but uses only case-insensitive letters and digits, which makes it safer for case-folding systems, DNS labels, and human transcription.
The standard RFC 4648 Base32 alphabet with = padding, the same variant used by TOTP secret keys and many other systems.
Base32 processes data in 40-bit blocks. When the input does not fill a whole block, = characters pad the output so its length is a multiple of eight. They are part of the standard encoding.
Yes. Use the Base32 Decode tool, which accepts the encoded string (padding optional) and returns the original text.

Use this via API

Get a free API key →
curl -X POST https://snaptools.dev/api/v1/tools/base32-encode \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hi"}'
Esc
↑↓ navigate open Esc close