RANDOM STRING GENERATOR

Generate random strings with any combination of lowercase, uppercase, digits, and symbols. Choose your length and count, copy and go.

In short

Generate random strings of any length with a custom character set — lowercase, uppercase, digits, and symbols. Set the length and count, and copy results instantly. Runs entirely in your browser.

4128

How to generate random strings

  1. 1

    Use the length slider to set how many characters each string should have (4–128).

  2. 2

    Choose how many strings you need: 1, 5, 10, 20, or 50.

  3. 3

    Toggle the character types you want included: lowercase, uppercase, digits, and/or symbols.

  4. 4

    Click Generate, then copy individual strings or use Copy all to grab the full list.

Questions

Is the output cryptographically secure?
Yes. Every character is drawn from crypto.getRandomValues(), the Web Crypto API's cryptographically secure random number generator, with rejection sampling so each character in the set is equally likely. That makes the output suitable for tokens, API keys, and passwords — at 16 characters from letters and digits you get about 95 bits of entropy.
What characters are included in each type?
Lowercase: a–z (26 characters). Uppercase: A–Z (26 characters). Digits: 0–9 (10 characters). Symbols: !@#$%^&*()-_=+[]{}|;:,.<>? (26 characters). Selecting multiple types pools all the selected characters into a single alphabet.
Can I generate a string with only digits?
Yes — deselect lowercase, uppercase, and symbols, leaving only digits checked. You'll get a numeric-only random string of the chosen length.
Does anything leave my browser?
Nothing. All generation is pure client-side JavaScript — no data is sent to any server.

Related tools

All Generators →

Updated