Base32 Encode a String
Encode a string to Base32. Runs entirely in your browser, so your data never leaves your device.
0 chars · 0 lines
Output
The result appears here as you type.
How to use Base32 Encode a String
- 1. Paste the text to encode. Type or paste the plain text you want converted into the input pane, from a short label to a full paragraph.
- 2. Read the Base32 output. The tool converts the text to UTF-8 bytes and re-encodes them using the Base32 alphabet (A-Z, 2-7) immediately, ready to copy from the output pane.
- 3. Copy the encoded string. Copy the Base32 result and use it anywhere a case-insensitive, typeable encoding is expected, such as a TOTP secret or a DNS-safe token.
When to use Base32 Encode a String
Base32 Encode a String converts plain text into the Base32 alphabet, a format designed to be typed by hand and case-insensitive. Use Base32 Encode a String whenever a downstream system expects that specific encoding instead of Base64 or hex.
- Generating a TOTP-style secret. You are building a two-factor authentication flow and need a sample secret encoded in Base32 to test against an authenticator app before wiring up real key generation.
- Building a case-insensitive token. A URL slug or file path needs to be safe regardless of case; encoding the source string in Base32 avoids the mixed-case ambiguity that Base64 introduces.
- Preparing a DNS TXT record payload. Certain DNS verification schemes require values encoded in Base32 because DNS labels are traditionally treated as case-insensitive; this produces that exact format from a plain string.
- Cross-checking a library implementation. You just wrote a Base32 encoder in another language and want a trusted reference output for a known input string to compare against your own result.
Examples
Encode Hello
Input
Hello
Output
JBSWY3DP
About the Base32 Encode a String tool
Base32 Encode a String runs as plain JavaScript in your browser tab, with no server behind it. Encode a string to Base32. Whatever you put in stays on your device from start to finish.
The tool is part of EditSafely's String Tools section, 159 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.
There is nothing to configure. Provide the input and the result appears on its own. A worked example further down the page shows exactly what the tool produces for a real input.
That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.
Frequently asked questions
Does Base32 Encode a String cost anything?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.
How much text can I process at once?
There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.
Do I need to sign up or install anything?
Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.