Base32 Encode
Developer & Author —Egor VolchenkoThis Base32 encoder converts text or encoded input bytes to RFC 4648 Base32. It returns the standard uppercase alphabet with padding where needed, making byte values convenient to paste into a text field or test fixture.
How to use Base32 Encode
Use the following steps to process a small test input.
Encode data as Base32
- Paste the source into Input text. Use normal text, or supply bytes already represented as Hex or Base64.
- Set Input Encoding: to UTF-8 for ordinary text, Hex for hexadecimal bytes, or Base64 for Base64-encoded bytes.
- Leave Auto / Live on to update the result as you edit. To run manually, turn it off and click Run.
- Read Base32 Encode Result. Keep any trailing padding characters when passing the value to this site’s decoder.
- Click Copy to copy the result. Use Clear where shown, or the field clear controls, to remove the text.
foobar with Input Encoding: UTF-8 becomes MZXW6YTBOI======. Hex input 666f6f626172 produces the same result when Hex is selected.
A rejected request may leave an earlier result visible. Clear the fields and recheck the input before relying on a new calculation.
Use the standard Base32 alphabet
The result uses A–Z and 2–7, with equals signs to complete the final eight-character group when required. This is standard Base32, not Base32hex or Crockford Base32. There is no alphabet or padding switch.
Represent bytes without hiding them
Encoding preserves the bytes in a printable representation. It does not encrypt the data, compress it, or add an authentication check. Anyone with a decoder can recover the represented bytes.
Frequently asked questions
It uses the RFC 4648 standard alphabet A–Z and 2–7. Base32hex and Crockford variants are not exposed.
API — Text to Base32 Converter
Automate this tool directly from your scripts, CI/CD pipelines, or backend applications via HTTP POST.
https://million.tools/api/v1/run/base32-encode Request Parameters (JSON / Form Data)
-
start(orinput)Input text
-
input_encodingInput Encoding
hexhex_ignore_non_hexbase64utf-8utf-16leutf-16bewindows-1251windows-1252
curl -X POST https://million.tools/api/v1/run/base32-encode \
-H "Content-Type: application/json" \
-d '{"start":"foobar"}' const response = await fetch('https://million.tools/api/v1/run/base32-encode', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"start": "foobar"
}),
});
const data = await response.json();
console.log(data.result); import requests
response = requests.post(
'https://million.tools/api/v1/run/base32-encode',
json={
"start": "foobar",
},
timeout=15,
)
data = response.json()
print(data['result']) $ch = curl_init('https://million.tools/api/v1/run/base32-encode');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode([
'start' => 'foobar',
]),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $response['result'] ?? ''; {
"status": "success",
"tool": "base32-encode",
"service": "base32_encode",
"result": "MZXW6YTBOI======",
"results": {
"result": "MZXW6YTBOI======"
}
}
Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience.
Ratings & feedback 0
Share your experience with this tool.
No feedback yet
Be the first to leave a review or rating.