🎲Random String Generator

Generate random strings by rule and length

chars
items

How to generate random strings

Set the length and the number of strings, tick the character sets you want, and press generate to get a batch of random values at once. It suits temporary passwords, coupon codes, test account names and unique filename suffixes.

Randomness comes from the browser cryptographic generator. The tool calls crypto.getRandomValues rather than an ordinary pseudo random function, and it discards and redraws any byte that falls in the leftover range above an exact multiple of the pool size. That removes the small modulo bias which would otherwise make the first few characters of the set slightly more likely.

The pool size and entropy shown on screen reflect your actual settings. Excluding look-alike characters removes them from the pool and lowers the reported entropy accordingly. Clearing every character set leaves nothing to draw from, so a message appears instead of a result. You can generate up to 128 characters per string and up to 100 strings at a time.

Nothing is sent to a server; the values exist only in browser memory. If you are creating a real password, save it to a password manager immediately and close the page.

Frequently Asked Questions

Are the generated strings stored anywhere?

No. They are created inside your browser and never leave the page. Reloading clears the result, so copy anything you need before you navigate away.

What does the entropy figure mean?

It is a measure in bits of how hard a single string is to guess. It equals the length multiplied by the base two logarithm of the pool size, so both a longer string and a wider character set raise it.

When should I exclude look-alike characters?

Turn it on for codes that a person has to read off a screen or a printout, such as coupon codes or first-time passwords, where zero and capital O or one and lowercase L are easy to confuse. The pool shrinks, so entropy drops slightly.