Text or files to Base64, Base64url or a data URL, with UTF-8 support
Base32 Encoder and Decoder
Read or write Base32 for 2FA secrets, onion addresses or ULIDs, with the right alphabet and padding.
Loading tool…
How to use base32 encoder and decoder
Choose Encode or Decode and pick the alphabet.
Type text, or turn on hex input to encode raw bytes.
When decoding, paste Base32 with any spacing or case.
Copy the result or download it.
What this tool does
- RFC 4648 (A to Z and 2 to 7), Base32hex and Crockford alphabets.
- Padding on or off; decoding accepts both and ignores spaces, dashes and case.
- Shows decoded bytes as text when readable, otherwise as hex.
- Crockford decoding reads I and L as 1 and O as 0, as the spec says.
How the result is verified
Encoded output is decoded and compared byte for byte with the input. When decoding, the bytes are encoded again and compared with your input to catch cut-off text.
Frequently asked questions
Can I read my authenticator app's secret with this?
Yes. The secret behind a TOTP QR code is RFC 4648 Base32, often in groups of four. Paste it to see its raw bytes as hex. Keep that secret private; anyone with it can make your codes.
Why use Base32 instead of Base64?
Base32 uses only capital letters and digits, so it survives case-insensitive systems and is easier to read aloud or type. It is about 20% longer than Base64.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Text to hex bytes and hex back to text, in five output styles
MD5, SHA-1, SHA-256, SHA-384, SHA-512 and HMAC for text or files
Bulk UUID v4 and v7 with formats, plus a UUID inspector