Skip to content

Base32

Encode and decode Base32 in the RFC 4648, base32hex, Crockford and z-base-32 alphabets.

About this tool

Base32 writes binary data with 32 characters. The RFC 4648 alphabet uses A to Z and 2 to 7, so it survives case changes and avoids characters that are easy to confuse. Every 5 bytes become 8 characters. Two-factor authentication secrets are usually shown in Base32.

This page converts both ways between text or hex and the RFC 4648, base32hex, Crockford and z-base-32 alphabets, with or without padding.

Questions

What is Crockford Base32?
An alphabet by Douglas Crockford that leaves out I, L, O and U so codes are easier to read aloud and type. It is common in short IDs.
How do I decode a TOTP secret?
Paste it on the Base32 side and read the bytes in hex. To see the codes it produces, use the TOTP tool instead.
Is my input sent to a server?
No. The page loads a compiled Dart engine into a Web Worker and does all the work in your browser tab. Nothing you type or drop in is uploaded, and the tools keep working offline once the page has loaded.

More tools