Base62 Converter
Free online Base62 converter. Encode text to Base62 and decode Base62 back to text using the alphanumeric 0-9a-zA-Z alphabet. 100% client-side, no upload.
Loading tool...
What is Base62 Converter?
A Base62 Converter encodes text or binary data into a compact string of 62 alphanumeric characters (0-9, a-z, A-Z), and decodes Base62 back to the original bytes. Because it uses no symbols, the output is URL-safe and can be pasted into emails, URLs, and form fields without escaping. Base62 is the encoding behind short-URL identifiers (like bit.ly and YouTube video IDs), database primary-key obfuscation, and compact hash representations. This tool runs entirely in your browser using BigInt arithmetic, so it can handle long inputs and never uploads anything.
Key Benefits
- Instant two-way conversion: encode to Base62 and decode back
- Standard 0-9a-zA-Z alphabet used by most short-URL services
- BigInt-powered for arbitrary-length input with no truncation
- Shows decoded bytes as both UTF-8 text and raw hex
- 100% client-side - nothing leaves your device
Common Use Cases
- β’Building or debugging short-URL identifiers and compact IDs
- β’Obfuscating sequential database primary keys in public APIs
- β’Encoding hashes or tokens into URL-safe alphanumeric strings
- β’Learning how Base62 compares to Base64, Base58, and hex
How to Use the Base62 Converter
- Pick a mode: Choose Encode (text to Base62) or Decode (Base62 to text).
- Enter your value: Type the text to encode, or the Base62 string to decode. The tool converts and validates automatically as you type using the standard 0-9a-zA-Z alphabet.
- Review the output: In Encode mode you see the Base62 string. In Decode mode you see both the decoded UTF-8 text and the raw hex bytes.
- Copy the result: Click Copy next to the output to use it in your short URL, database ID, or code.
Key Features
- Two-way conversion: encode text to Base62 and decode Base62 back
- Standard 0-9a-zA-Z alphabet used by most short-URL services
- BigInt-powered, handles arbitrary-length input with no truncation
- Shows decoded bytes as both UTF-8 text and raw hex
- Real-time results as you type
- 100% client-side - nothing is uploaded