Random string generator
Generate random strings of any length from a character set you choose.
Related tools
Random string generator
Generate one random string or a thousand of them at once. Pick the length, pick how many you need, and choose the character set: letters and digits, letters only, lowercase, uppercase, digits, hexadecimal, or your own custom alphabet. Each string lands on its own line, so the output drops straight into a spreadsheet column, a seed file or a test fixture.
Typical uses are throwaway API keys and tokens for a local project, unique identifiers for test records, salts, nonces, cache-busting suffixes, or bulk placeholder data when you need a thousand distinct values that look plausible. Hexadecimal is handy for anything that will end up in a config file or a colour-adjacent field; lowercase-only suits identifiers that must survive case-insensitive systems like DNS or some file systems.
The custom option takes any characters you paste in, and it counts by character rather than by byte — accented letters and emoji work as single units, and duplicates you paste are collapsed automatically. The tally under the output shows how many strings you asked for, their length, the size of the character set and the approximate entropy per string in bits, so you can tell at a glance whether a value is long enough to be unguessable.
Random values come from crypto.getRandomValues with rejection sampling, so every character in the set is equally likely — no modulo bias. Generation happens entirely in your browser and nothing is uploaded, which is what makes it safe to use for values you actually intend to keep. Output is capped at 10 MB so a very large request cannot freeze the tab.