UTILS.
Private by default
32

Base32 Encoder/Decoder

Encode text to Base32 or decode Base32 back to text, per RFC 4648.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

About this tool

Convert text to and from standard RFC 4648 Base32 entirely in your browser, with UTF-8 support and = padding.

Encoding turns your text into UTF-8 bytes, regroups the bits into 5-bit values and writes each as a letter from A to Z or a digit from 2 to 7, adding = signs until the length is a multiple of eight. Decoding upper-cases the input, removes whitespace and trailing = signs, and rebuilds the bytes. Leftover bits that do not fill a whole byte are dropped.

Any other character, such as 0, 1, 8 or 9, makes decoding stop with a "not valid Base32" message. The decoded bytes must also form valid UTF-8 text, so Base32 that wraps raw binary data cannot be displayed here.

Frequently asked questions

Which alphabet is used?
The standard RFC 4648 alphabet A–Z and 2–7, with = padding to a multiple of eight characters.
Is decoding case-sensitive?
No — decoding is case-insensitive and ignores whitespace and trailing padding.
Why does my secret key fail to decode?
Either it contains characters outside A–Z and 2–7, or it decodes to raw bytes that are not valid UTF-8 text, which is usual for random binary keys. This tool converts text, so it cannot show those bytes.

More tools