TXT · Text & Data tools

Base62 Encoder

Variant
Input
Output
EncodemodeBatchinput0items0output lines0output charsStandard (0-9 A-Z a-z)variant

Use this base62 encoder to convert plain text into Base62, or use the base62 decoder to turn values back to text. What is base62 encoding? It is a binary-to-text format often used for compact IDs, short links, and tokens because it stays strictly alphanumeric and is URL-safe.

Base62 alphabets

Because base62 encoding is not as rigidly standardized as Base64, the character order can vary between systems. This tool supports the two most common variants:

  • Standard: Digits first, then uppercase, then lowercase (0-9 A-Z a-z).
  • Lower-first: Digits first, then lowercase, then uppercase (0-9 a-z A-Z).

If an encoded value looks valid but the base62 decode produces the wrong text, the alphabet variant is usually the culprit.

Line wrapping and batch mode

When using the base62 encode online tool, you can enable Wrap @ 76 to break long encoded strings into readable 76-character lines. The decoder safely ignores whitespace, so wrapped strings decode perfectly without editing.

For bulk testing, turn on Batch by newline. This evaluates each line independently instead of treating the whole input as one string. You can also use Trim lines to strip leading and trailing spaces from each line before it gets processed.

Frequently Asked Questions

The tool supports a standard 0-9 A-Z a-z alphabet and a lowercase-first 0-9 a-z A-Z alphabet. Choose the one that matches the system you are testing.

Yes. Decode mode converts valid Base62 input back to UTF-8 text.

Base62 has no single universal alphabet order. The same encoded string can decode differently if another system uses a different character order.

No.

Explore Our Tools

Browse all tools