About Base32 Encoder
This tool converts text and bytes to and from RFC 4648 Base32 directly in your browser. You can choose Encode, Encode no padding, Decode, or Decode to hex bytes. The tool treats input text as UTF-8 when encoding. When decoding, it accepts standard Base32 characters and produces text or raw hex bytes. You copy the result with a single click. Nothing you type is uploaded to a server; the code runs entirely on your device. That reduces privacy risk compared with server-side tools, but you still control what you paste. The method follows RFC 4648 for bit grouping and optional '=' padding. You will find the no padding and hex output options handy when working with TOTP secrets or debugging binary formats.
How to use it
- 1Paste or type the text or Base32 string into the input box.
- 2Select a mode: Encode, Encode no padding, Decode, or Decode to hex bytes.
- 3Click Convert to produce the Base32 or decoded output.
- 4Click Copy to copy the output to your clipboard with one click.
Worked example
Input text: Man Mode: Encode Output: JVQW4===
How it works
1Represent the input as an octet stream (bytes)For text, encode as UTF-8.
2Concatenate bits and take 5-bit groups left to right.
3If the final group has fewer than 5 bits, pad with zeros on the right to form a 5-bit group.
4Map each 5-bit value (0..31) to the Base32 alphabet defined in RFC 4648: A..Z then 2..7.
5Optionally add '=' padding characters so the output length is a multiple of 8 characters.
6To decode: strip whitespace, map characters back to 5-bit values, concatenate bits, reassemble 8-bit bytes, and discard extra padding bitsSee RFC 4648 for exact padding rulesSource: RFC 4648 - The Base16, Base32, and Base64 Data EncodingsCrockford Base32 (variant reference). Last checked 5 November 2026.
What it is good for
- Runs entirely in your browser, no uploads.
- Supports no padding and hex-byte output.
- One-click copy for quick use.
- Only the RFC 4648 standard alphabet is used; no Crockford or base32hex variants by default.
- Text input only; you cannot upload files or send data to a server.
Questions people ask
What is Base32?
Base32 is a binary-to-text encoding that maps 5-bit groups to a 32-character alphabet. The standard RFC 4648 alphabet uses A, Z and 2 to 7.
How do I use this tool to encode text?
Paste or type your text in the input box. Choose Encode or Encode no padding and click Convert. The tool treats input text as UTF-8 when encoding.
My TOTP secret has no '=' padding. Will this tool decode it?
Use Decode to paste your secret. If decoding fails, add '=' padding until the string length is a multiple of 8, as described in RFC 4648. Many authenticators omit padding.
Does this tool upload what I paste to a server?
No. The conversion runs in your browser and nothing you type is uploaded. That reduces privacy risk, but you still control what you paste.
Is Base32 encryption or secure storage?
No. Base32 is an encoding, not encryption. Anyone with the encoded string can decode it to the original bytes.
Can I see the raw bytes or convert to hex?
Yes. Choose Decode to hex bytes to get a hex view of the decoded byte sequence. That helps when you debug binary formats or TOTP secrets.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.