No Login Data Private Local Save

Base62 Encoder & Decoder - Online Shorten IDs

13
0
0
0

Base62 Encoder & Decoder

Encode decimal numbers to short base62 strings, and decode them back instantly. Ideal for shortening IDs, tokens, and URL slugs.

Number ➔ Base62
Base62 ➔ Number

Frequently Asked Questions

Base62 is a numeral system that uses 62 characters: digits 0-9, uppercase A-Z, and lowercase a-z. It's commonly used to represent large integers in a shorter, URL-friendly string. For example, integer 12345 becomes "DNH" in standard Base62.

Traditional numeric IDs can be very long (e.g., 19-digit numbers). Encoding them to Base62 drastically reduces string length while keeping the ID unique and URL‑safe. This is perfect for short links, order references, or API tokens that need to be compact and human-readable.

Base64 uses 64 characters (usually A-Z, a-z, 0-9, + and /) and is designed for binary-to-text encoding. Base62 avoids special characters like + and /, making it completely safe for URLs and file names without any percent-encoding. That makes Base62 ideal for identifiers that appear in URLs or databases.

This tool uses the standard Base62 alphabet: 0-9A-Za-z. That means digits 0–9, uppercase letters A–Z, and lowercase letters a–z. The ordering is exactly as shown, which is the most widely adopted convention.

Yes! It uses JavaScript's BigInt internally, meaning you can encode and decode integers of virtually any size without losing precision. Whether your ID has 10 or 100 digits, the conversion remains accurate.

Yes, uppercase and lowercase letters represent different values. For example, 'A' (10) and 'a' (36) are distinct. When decoding, make sure you preserve the exact casing of the Base62 string.

Shortening UUIDs / GUIDs, generating compact order numbers, building short URL services (like bit.ly), creating human-readable unique identifiers for database records, and obfuscating auto-increment IDs to hide sequence information.