Base62 Encoder Decoder

Encode text into a Base62 string using the characters 0-9, A-Z and a-z, or decode a Base62 string back to text. Everything runs in your browser.

1 Paste your text and pick the options

2 Your answer

Your answer shows here as you type.

How to use the Base62 Encoder Decoder

  1. Choose Encode to turn text into Base62, or Decode to turn Base62 back into text.
  2. Paste your text or Base62 string into the input box.
  3. Copy the result from the output box.

Frequently asked questions

What is Base62?

Base62 is a way of writing numbers and bytes using 62 characters: the digits 0-9, uppercase A-Z and lowercase a-z. It has no punctuation, so the output is safe in URLs, filenames and identifiers.

How is Base62 different from Base64?

Base64 uses 64 characters including + and /, and often ends with = padding. Base62 uses only letters and digits, so it needs no escaping in URLs, but its output is slightly longer for the same data.

Why is the Base62 output longer than the input?

Each Base62 character holds about 5.95 bits, while each byte holds 8 bits. As a result, the output is roughly 1.34 characters for every byte of input.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.