Skip to content

Another spelling of the same bytes

Encode text as Base62

Base62 uses digits and both letter cases, which fits tokens that allow mixed case.

The alphabet runs 0–9, then A–Z, then a–z. Decoding rejects any other character.

The work stays in this tab.

This tool runs in your browser. Turn on JavaScript to use it.

Base62

The sample is fixed. It uses the same rule as the form.

Input
Hello
Result
5TP3P3v

How to use it

  1. 1Paste the text.
  2. 2Choose encode or decode.
  3. 3Copy the result.

Good to know

  • It is not Base64, so + and / are not part of the alphabet.
  • This page does not upload the text.
  • Text longer than one hundred thousand characters is rejected.

Questions

Does the result leave this browser?

No. The calculation finishes in the current tab.

What does this page leave out?

It is not Base64, so + and / are not part of the alphabet.

What if the input is huge?

Past one hundred thousand characters, the page stops and asks you to shorten it.

Related tools

  • Encode text as Base58

    Base58 leaves out characters that people mix up when they copy a value by hand.

  • Base64 encode and decode

    Base64 writes bytes as letters, digits, plus, and slash. It is how a token or a file preview survives a text field. It does not hide the contents from anyone who can read the alphabet.

  • Encode text as hexadecimal

    Hex is a way to show raw bytes. This page encodes text as UTF-8 first, then prints each byte. Decoding accepts only an even number of digits and rejects bytes that are not UTF-8.