Base62 Encode/Decode

Input
Length: 0
Output
Length: 0

How Base62 works

  • Alphabet: 62 symbols 0โ€“9, Aโ€“Z, aโ€“z (total 62 distinct characters).
  • Encoding: interpret input bytes as a big baseโ€‘256 integer and convert to baseโ€‘62 via repeated division.
  • Decoding: accumulate baseโ€‘62 digits back into baseโ€‘256 bytes (reverse process).
  • Variants: some implementations reorder the alphabet; ensure both sides use the same set.
  • Note: Base62 is a textual representation for compact IDs/short links, not encryption.

How to Use

What this tool does

Converts text to Base62 and decodes Base62 back to text using a 0โ€“9 Aโ€“Z aโ€“z alphabet.

Steps

  1. Enter text โ†’ Encode โ†’ get Base62.
  2. Paste Base62 โ†’ Decode โ†’ restore text.
  3. Swap/Copy/Clear as needed.

Example

Hello โ†’ 3QWa4dV...

Notes