Swelıty
Tools for everyone

Free Online Random String Generator

Generate cryptographically random strings.

Options

Generated strings

How to use

  1. Set the length of each string and how many strings you want.

  2. Switch the character sets on or off: A-Z, a-z, 0-9 and symbols. At least one must stay on.

  3. Press Generate. Each press makes a new set.

  4. Copy the list, or download it as a text file with one string on each line.

Why use this tool

  • Secure random source

    Characters come from the browser's cryptographic random number generator, not from Math.random.

  • Even chances

    Every character in the sets you chose is equally likely to be picked.

  • Many at once

    Make up to 10,000 strings in one go and download them as random-strings.txt.

About this tool

The Random String Generator makes strings of random characters for test data, temporary passwords, one-off codes and placeholder keys. Set how long each string is (1 to 100,000 characters) and how many you want (1 to 10,000), and switch four character sets on or off: capital letters, small letters, digits and symbols.

The characters are picked with your browser's secure random number generator, and each one has the same chance of being chosen. Make a single string, or thousands at once.

For a password with checks and guidance, use the Password Generator, and for unique identifiers use the UUID Generator.

Frequently asked questions

The symbol set is ! @ # $ % ^ & * ( ) _ + ~ | } { [ ] : ; ? > < , . / - and =. Switch symbols off if the place you will paste the string accepts only letters and numbers.

Not always. Each character is picked on its own from all the sets together, so a short string can miss digits or symbols by chance. If a site requires one of each, check the result or press Generate again.

There is no setting for that. You can switch off a whole set, such as digits, but you cannot remove single characters.

Yes, if it is long enough for the account it protects. The Password Generator is made for that job, and a password manager is the best place to keep the result.

The tool does not save them. When you reload the page, the old strings are gone and new ones are made, so copy or download what you need first.

Choose the length and the number of strings, tick the character sets you want and press generate. Then copy the result.

Switch on capital letters, small letters and digits and leave symbols off.