Random String Generator

Choose the length, how many strings you need and which characters to use. The strings are made with your browser's secure random generator.

Use the tool

Loading the tool…

About Random String Generator

Generate random strings. Choose the length, how many strings, and which character sets to use: lower case letters, upper case letters, digits and symbols. You can add extra characters.

Worked example

Generate 5 strings of 16 characters with letters and digits. Each string is different.

Limits

The tool is for everyday use, such as test data or placeholder codes. For passwords or keys that protect something, use a dedicated password manager or a tool built for security.

How to use Random String Generator

  1. Set the length and how many strings you want.
  2. Choose the kinds of characters, add any extra ones and press Generate strings.
  3. Copy the strings you need.

Good to know

  • Characters are picked with your browser's secure random generator, and every character in the pool is equally likely at each place.
  • Leaving out look-alike characters (i l 1 L o 0 O) makes strings easier to read out or copy by hand, with a slightly smaller pool.
  • Requiring one character from each group lowers the strength a little, because the first picks are forced.
  • For a password for a person to type, the passphrase generator may be easier to use. A password manager is the safest place to keep either.

Frequently asked questions

Can I use these as passwords or tokens?

Yes. The strings are random and the strength is shown in bits. Check what length and characters the service you are using needs.

Why does the strength change with the pool?

Each place in the string picks from the pool, so a bigger pool gives more bits at each place.

Is anything I type saved or sent?

No. The work happens in your browser on this page, and nothing is stored or sent to us.