Base32 Encoder Decoder
Instantly encode text to Base32 or decode Base32 back to text. 100% browser-based, zero data upload. RFC 4648 compliant. Ideal for TOTP secrets, OTP keys, QR code data, and binary-to-text conversion.
What is Base32 encoding?
Base32 is a binary-to-text encoding scheme that represents binary data using 32 ASCII characters (A-Z and 2-7) as defined in RFC 4648.
When should I use Base32 instead of Base64?
Base32 is useful when you need case-insensitive encoding, or when the data may be processed by systems that are not 8-bit clean (like some email systems).
What is the padding character in Base32?
Base32 uses "=" as the padding character to make the encoded output length a multiple of 8 characters, as required by RFC 4648.
Is Base32 encoding reversible?
Yes, Base32 encoding is fully reversible. You can decode any valid Base32 string back to its original binary data without loss.
What are TOTP secrets and why use Base32?
TOTP (Time-based One-Time Password) secrets are used for two-factor authentication. Base32 is the standard encoding format for TOTP secrets because it's case-insensitive and easy to read.
Can Base32 encode Unicode text?
Yes, but you need to first convert Unicode text to bytes (UTF-8 encoding), then encode those bytes to Base32.
How does Base32 compare to Base64 in efficiency?
Base32 is less efficient than Base64 - it increases data size by about 20% compared to Base64's 33% increase. However, Base32 is more human-readable and case-insensitive.
What is the Base32 alphabet?
Base32 uses A-Z (26 letters) and 2-7 (6 digits) for a total of 32 characters. The characters 0, 1, 8, and 9 are not used to avoid confusion.
Is this tool safe for sensitive data?
Yes, this tool runs 100% in your browser. Your data never leaves your device and is never sent to any server.
Can I decode Base32 without padding?
Yes, most Base32 decoders including this tool can handle Base32 strings with or without padding characters.
What is Base32Hex encoding?
Base32Hex is a variant of Base32 that uses 0-9 and A-V instead of A-Z and 2-7, designed to preserve the numerical order of the encoded data.
How is Base32 used in QR codes?
Base32 is sometimes used to encode data in QR codes because it's compact and case-insensitive, making it easier to scan and decode.
How to Use Base32 Encoder Decoder
Encode text to Base32 or decode Base32 back to readable text instantly. It follows RFC 4648, runs entirely in your browser and never uploads anything.
- Type or paste your text into the field that says Type or paste text here...
- With Auto encode enabled, the tool figures out whether to encode or decode, and the output appears in the Result will appear here... field.
- Under Variant, choose RFC 4648 for standard Base32 or Base32hex for the alternate hex-style alphabet.
- Copy the converted result for TOTP secrets, config files or QR payloads.
Only switch to Base32hex when the other system explicitly expects it — the two alphabets are not interchangeable.
Related Tools
- Base64 Encode/Decode Free online Base64 encoder and decoder. Convert text to Base64 and Base64 to text instantly. No server upload, 100% private - runs entirely in your browser.
- Text to Hex Converter Free online text to hexadecimal converter. Instantly encode ASCII and Unicode text into hex values with space-separated or continuous output. Browser-based, no installation needed.
- Hex to Text Converter Convert hexadecimal strings to readable text instantly. Decode hex values into ASCII or UTF-8 text with support for multiple formats.
- Text to Binary Converter Convert text to binary code instantly. Free online UTF-8 binary translator with real-time conversion.
- Binary to Text Convert binary code to readable text. Decode binary strings (0s and 1s) into ASCII text instantly.
- Hex Viewer View file contents in hex dump format with search, offset navigation, and virtual scrolling
- AES Encryption / Decryption AES encrypt/decrypt with CBC, CFB, CTR, OFB, ECB modes, Pkcs7/ZeroPadding/NoPadding, 128/192/256-bit keys, Base64 output, auto-detect key/IV format
- Brotli Compressor Free online Brotli compressor. Compress files to .br with quality 0–11 or decompress .br back to the original. Runs entirely in your browser — no upload, no install.