Base32 Encode & Decode
Encode UTF-8 text or binary files into Base32, or decode Base32 / TOTP 2FA secrets back to plain text right in your browser.
Input Text / Base32
Type text, paste Base32, or drop any fileOutput
Encoded or decoded resultBase32 Validation Error
About Base32 Encode & Decode Online
The ValSolution Base32 Encode & Decode tool converts UTF-8 strings and local files into case-insensitive Base32 strings (and back) directly in your browser. Base32 is widely used for 2FA/TOTP authenticator secrets, DNSSEC records, Crockford human-readable IDs, and case-insensitive file systems.
3 Base32 Alphabets
Switch seamlessly between RFC 4648 Standard, Extended Hex (base32hex), and Crockford Base32.
UTF-8 & Binary File Ready
Handles Unicode text, emojis, and raw binary files cleanly without server uploads.
TOTP / Padding Controls
Toggle = padding and lowercase formatting to match Google Authenticator or API specs.
Strict Character Validation
Ignores whitespace/hyphens safely during decode and flags invalid Base32 characters immediately.
How to Use Base32 Encode & Decode
-
1
Enter Text, Base32, or Drop a File
Paste text or a Base32 string in the Input editor, or click Encode File to load raw bytes.
-
2
Pick Variant & Padding
Select RFC 4648 Standard, Base32Hex, or Crockford and choose whether to include
=padding. -
3
Encode or Decode Instantly
Click Base32 Encode or Base32 Decode, then use Copy Output or Download.
Frequently Asked Questions
Is this Base32 Encode & Decode tool safe for TOTP / 2FA secrets?
Yes. All Base32 encoding and decoding runs 100% locally in your browser using JavaScript TypedArrays. Your text, 2FA/TOTP secret keys, and files never leave your device.
Which Base32 variants are supported?
It supports RFC 4648 Standard Base32 (A–Z, 2–7), RFC 4648 Extended Hex (base32hex: 0–9, A–V), and Crockford Base32 (excludes I, L, O, U to avoid human misreads).
Does it support UTF-8 characters like Hindi or emojis?
Yes. Text is encoded and decoded via TextEncoder/TextDecoder UTF-8 bytes, so Unicode, Hindi, and emojis round-trip without corruption.
Can I remove = padding or encode binary files?
Yes. Uncheck Include = Padding for unpadded Base32 strings (common in TOTP/Authenticator URIs), or drag and drop any local file to encode its raw bytes into Base32.