Skip to content
ToolZone

Random Text Generator

Generate random text strings of any length and character set, useful for generating test data, sample passwords, or filler content for a mockup.

Runs in your browser. Nothing you enter or upload leaves your device.

How many

Generated in your browser with the Web Crypto API (62 possible characters, about 95 bits of randomness per string).

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the Random Text Generator

The Random Text Generator produces random strings from the characters you choose: lowercase, uppercase, digits and symbols, with an option to skip look-alike characters. Generate up to 100 strings at once, each up to 1,000 characters long.

How it works

The generator builds an alphabet from the sets you tick: 26 lowercase letters, 26 uppercase letters, 10 digits and 26 symbols, minus look-alikes if you ask. For each position it picks a character with the browser's Web Crypto API, rejecting values that would make some characters more likely than others.

With letters and digits, each character carries about 5.95 bits of randomness (log2 of 62), so a 16-character string has roughly 95 bits; the line under the results shows the figure for your settings.

How to use

  1. 1

    Set the Length and how many strings you want.

  2. 2

    Tick the character sets to include.

  3. 3

    Click Generate. Your settings are kept in the page link, but generated strings never are.

  4. 4

    Copy one string, copy all, or download the list.

Worked examples

Default length

A short sample ID.

Input
Length: 16
Result
A 16-character string such as 7gQk2LmZp9XcR4tB

Layout stress test

Checking that a card handles a long unbroken word.

Input
Length: 200
Result
A single 200-character run of letters and digits with no spaces.
Limitations
Each string is generated independently, so duplicates are possible, though very unlikely for longer strings. Strings are limited to 1,000 characters. For passwords, the Random Password tool adds strength checks.
Assumptions
Uppercase, lowercase, and digits are equally likely.
Privacy
Strings are generated in your browser and are not stored or transmitted.

Frequently asked questions

Is this text safe to use as a password?+

The randomness is cryptographically secure, so a long string with symbols makes a strong password. The Random Password tool adds strength checks if you want them.

Can I generate multiple strings at once?+

Yes. Choose 1, 5, 10, 25 or 100, then copy them all or download them as a text file.

Which characters can appear?+

Whatever you tick: a to z, A to Z, 0 to 9 and symbols such as ! @ # $ %. Spaces are never included.

What is the maximum length?+

1,000 characters. Values above that are capped at 1,000, and values below 1 become 1.

Related tools