Base 62 Encoder

Encode text to Base62, or decode Base62 back to text — copy and paste the result.

This free online tool lets you base 62 encode any text — alphanumeric output only (0-9, A-Z, a-z), no padding, no symbols, safe to drop straight into a URL. Decode a Base62 string back to text with one click. No signup required, runs entirely in your browser.

Examples:

Mode

Quick reference

1Z
→ "a"
1wJfrzvdbtXUOlUjUf
→ "Hello, World!"
0-9, A-Z, a-z
the full alphabet (62 symbols)
no padding
unlike Base32/Base64

Frequently asked questions

Base62 represents binary data as a big number written in base 62, using the alphabet 0-9, A-Z, then a-z (62 symbols total). Unlike Base32/Base64, there's no official RFC — Base62 is a de facto convention, most commonly used to shorten numeric IDs into compact, URL-safe strings for things like URL shorteners and database primary keys.
Type or paste your text into the input above with the mode set to Text → Base62. The encoder treats the UTF-8 bytes of your input as one large number and converts it to base 62, so the output uses only letters and digits — no symbols, no padding.
Base32 and Base64 pad their output to a fixed block size because they process data in fixed-width bit groups. Base62 works differently — it converts the entire input into one big integer and writes that integer in base 62, so there's no block size to pad to. The output length simply reflects the size of the number.
Base64 uses a 64-character alphabet that includes '+' and '/' (or '-' and '_' for the URL-safe variant), and processes data in fixed 3-byte/4-character blocks with '=' padding. Base62 uses only alphanumeric characters (0-9, A-Z, a-z) — no symbols at all — which makes it naturally safe to drop into a URL path, filename, or database column without any escaping, at the cost of being a big-integer conversion rather than a simple byte-group mapping.
The most common use is URL shorteners and short ID generators — converting a large numeric database ID into a compact alphanumeric string so links look clean and are easy to share. It's also used to obfuscate sequential IDs without needing a lookup table.
No. Everything is encoded and decoded locally with JavaScript in your browser. Nothing is uploaded or stored on a server.