Random String Generator
Choose a length, quantity, and character set to create one or more random strings directly in your browser.
First string preview
—- Length per string
- 0
- Number of results
- 0
- Pool size
- 0
All strings
Copy and download always include the full result.
Current character pool
The characters available for sampling after merging, deduplication, and exclusions.
Each position is sampled independently from the final character pool; results may repeat across the batch, and uniqueness is not guaranteed.
Learn more
Character pool and generation method
How random strings are generated
The page combines the selected uppercase letters, lowercase letters, digits, symbols, and custom characters. It then deduplicates them by Unicode code point before applying the look-alike and custom exclusion rules.
For each character position, Web Crypto supplies a random value and rejection sampling maps it to an index in the final pool. This avoids the bias of taking a simple remainder.
Why exclude look-alike characters
Enabling this option removes 0, O, 1, l, I, and | from the pool, which makes values easier to read or transcribe. It does not make the result a suitable password.
How custom Unicode characters are handled
Custom input is split and deduplicated by Unicode code point. Emoji, variation selectors, and other multi-code-point grapheme clusters may be separated, so complex emoji sequences are not a good custom character set.
Limits and appropriate use
String length is 1–4,096, quantity is 1–200, and the batch can contain at most 100,000 total characters. Custom and excluded input each allow up to 512 distinct code points.
The page expands at most 100 results and 120 pool items. Copying and downloading still include the complete result.
Use this tool for test data, placeholders, game codes, and general development. It does not replace password policy, key derivation, access-token generation, password management, or a formal security review.
Tool information and sources
Generation happens entirely in the current browser. Inputs are not uploaded, and the page does not use third-party runtime APIs, CDNs, online fonts, or local storage.
Frequently asked questions
What is the difference between a random string and a random letter?
A random-letter generator limits its output to A–Z and a–z. This page is for general development use and can also combine digits, symbols, and custom characters.
Why can results repeat in a batch?
Each string is generated independently, and the page does not deduplicate across results. Repeats become more likely when the pool is small or strings are short.
Can I use a result here as a password?
That is not recommended. Passwords also need site-specific rules, length policies, unique storage, and a password-management process; this page is a general random-string tool.