Random String & Token Generator
Generate random alphanumeric strings and tokens in your browser using the Web Crypto API (crypto.getRandomValues). Adjust String Length from 4 to 128 characters (default 32), set Quantity from 1 to 25 strings (default 5), toggle A–Z, a–z, 0–9, and Symbols (!@#$%), and copy individual strings or the entire batch.
Random String & Token Generator
Generate cryptographically secure random alphanumeric strings, API tokens, and secret keys.
How to Use Random String & Token Generator
Use the **String Length** slider to choose a length between **`4` and `128` chars** (default `32`) and the **Quantity** slider to generate between **`1` and `25` strings** at once (default `5`). Check any combination of the four character set checkboxes—**A-Z (Uppercase)** (checked by default), **a-z (Lowercase)** (checked by default), **0-9 (Numbers)** (checked by default), and **Symbols (!@#$%)** (`!@#$%^&*()_+-=[]{}|;:,.<>?`, unchecked by default; if all four checkboxes are unchecked, the generator falls back to lowercase letters and digits `a–z, 0–9`). Click **Generate** to draw fresh random strings via `crypto.getRandomValues(new Uint32Array(length))`, then click the copy button next to any individual row or click **Copy All** to copy all generated strings separated by newlines. Need a single password with strength scoring or standard 36-character v4 UUIDs? Use our Password Generator and UUID Generator.
- 1
Set String Length (4–128 Chars)
Drag the String Length slider between 4 and 128 characters (defaults to 32 characters).
- 2
Set Batch Quantity (1–25 Strings)
Drag the Quantity slider to generate between 1 and 25 random strings per batch (defaults to 5).
- 3
Toggle Character Set Checkboxes
Check or uncheck A-Z (Uppercase), a-z (Lowercase), 0-9 (Numbers), and Symbols (!@#$%).
- 4
Click Generate & Copy Strings
Click Generate to create a new batch via Web Crypto and click a row copy button or Copy All.
Generating a Batch of 5 Alphanumeric 32-Character Strings (Default)
By default, A–Z (26), a–z (26), and 0–9 (10) form a 62-character alphanumeric pool sampled via crypto.getRandomValues.
62-character alphanumeric alphabet (Symbols !@#$% optional).
For each of the 5 strings: crypto.getRandomValues(new Uint32Array(32)) maps indices across the 62-char pool.
Copy any individual string or click Copy All for a 5-line list.
Related Free Tools
Explore more browser-based tools in Daily & Text Utilities or browse the complete All Tools Directory.
Generate random passwords from 6 to 64 characters with uppercase, lowercase, number, symbol, and ambiguous-character controls.
Generate RFC 4122 Version 4 UUIDs (GUIDs) in batches of 1, 5, 10, or 25 with uppercase and hyphen formatting toggles.
Generate 1 to 500 random integers between any minimum and maximum range with unique or duplicate draws and sorting.
Encode plain text to Base64 or decode Base64 strings back to UTF-8 text online with live validation and swap.