TXT · Text & Data tools

Base32 Encoder

Variant
Input
Output
EncodemodeBatchinput0items0output lines0output charsRFC 4648variant

Encode plain text into Base32 or perform a base32 decode back to its original UTF-8 string. The tool updates live as you type and runs entirely in your browser.

Base32 maps binary data to 32 safe, printable characters. It survives legacy systems that mangle mixed-case or symbol-heavy strings, providing a reliable way to transmit data.

RFC 4648 and base32hex alphabets

By default, the base32 encoder uses the standard RFC 4648 base32 alphabet A-Z 2-7. It intentionally excludes 0, 1, 8, and 9 to avoid visual confusion with letters like O and I.

You can switch the variant to Base32hex, which uses 0-9 followed by A-V. This alternative alphabet preserves the byte sort order of the original data, but is only used when specifically expected by the receiving system. If you need to reverse this format, you can use the base32hex decode mode.

RFC 4648 padding and formatting

Base32 processes data in 40-bit blocks, padding the final output with = characters if the input doesn’t divide cleanly. Use the Strip padding toggle to drop these trailing characters when your target system accepts unpadded strings.

For text-based environments that require fixed widths, Wrap @ 76 breaks the encoded output into clean 76-character lines.

Batch conversion and line trimming

When converting multiple distinct values, turn on Batch by newline. This treats each line of the input as a separate item, preventing line breaks from being encoded into a single continuous sequence.

Combine this with Trim lines to strip invisible leading or trailing whitespace from each line before it gets encoded or decoded.

Frequently Asked Questions

The standard Base32 alphabet defined in RFC 4648: the 26 uppercase letters A-Z followed by the digits 2, 3, 4, 5, 6, and 7, giving 32 symbols. The digits 0, 1, 8, and 9 are excluded to avoid confusion with the letters O, I, B, and so on. Padding uses the = character.

Base32 encodes in 40-bit blocks of eight characters. When the input does not fill a whole block, = characters pad the output to a multiple of eight. You can strip the padding with the option provided if your target does not need it.

An alternative alphabet (0-9 then A-V) defined in RFC 4648 that keeps the sort order of the encoded data. Choose it only when the receiving system expects base32hex rather than the standard alphabet.

Yes. Switch to decode mode and paste the Base32 string. Decoding ignores case and works with or without padding.

No.

Explore Our Tools

Browse all tools