Skip to content

Random String Generator

Generate test strings from your own character alphabet using secure browser randomness and unbiased selection.

Use the random string generator

2–256 input UTF-16 units, no whitespace; length 1–256 Unicode characters, count 1–100. Requires secure browser randomness.

Result

Enter values, then select the action button.

How it works

Deduplicates the supplied Unicode characters, selects each character uniformly using rejection sampling, and repeats for each output. Designed for test data and identifiers; uniqueness is not guaranteed. For account passwords, use the dedicated Password Generator and a password manager.

Worked examples

How to use this tool

Enter your values in the labeled fields, choose the units or mode where shown, and select the action button. Review the method and limits above. Reset restores the example inputs.

What happens to my input?

Calculations run locally in your browser. This tool does not upload your entries, fetch external data, or store input in your URL. See our privacy policy for website-wide details.

Found an issue or need another feature? Suggest an improvement.