Your files stay on your device

# Base62 encoder and decoder

Base62 over an explicit alphabet, with duplicate characters refused.
Loading editor…

The result shows up here as you type.

Base62 has no single standard, so the alphabet matters. Use the same one to decode.
OptionsCopy result

## Place values over an alphabet

Each character in base62 is a place value. Index 0 is the first symbol. With 0 to 9, then A to Z, then a to z, index 61 is z. The two-digit number 10 means one 62 and no units, so 62 is written 10. For 100, that is one 62 plus 38, and index 38 is c, so the output is 1c.

## Why duplicate characters break decoding

If two symbols share a value, one string decodes to two different numbers. The tool refuses such alphabets so every string has a single reading. Both ends must agree on the symbol order, or the same text will decode to another number.

## More encoding tools

- [Base58 encoder](/encoding/base58)
- [Number base converter](/text/number-bases)
[All encoding tools](/encoding)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/encoding/base62
Markdown version: https://nutter.tools/encoding/base62.md
Plain-text version: https://nutter.tools/encoding/base62.txt
Agent index: https://nutter.tools/llms.txt

