Base32 represents bytes using 32 letters and digits, avoiding case and ambiguous characters. You will meet it in two-factor authentication secrets, file names and DNS-safe identifiers. Encode text or decode a string, with UTF-8 handled correctly.
Common uses
- Decoding a Base64 value found in a header or config file
- Percent-encoding a query parameter that contains spaces or symbols
- Embedding a small image in CSS or HTML as a data URI
Frequently asked questions
- Why use Base32 instead of Base64?
- It is case-insensitive and safe in file names and URLs, at the cost of being longer.
- What is the equals sign at the end?
- Padding that rounds the output to a multiple of eight characters.