StringGen

Secure random string generator for code, tokens, salts, keys, and IDs.

Browser-based crypto randomness

Generate security-ready strings in seconds.

Configure character sets, length, quantity, prefixes, postfixes, custom characters, and output formatting. Everything runs locally in your browser using crypto.getRandomValues().

Generator Settings

Customize output
Optional. These are added to the selected character pool.
Strength Estimate Ready
Adjust options to calculate entropy.

Output

Generated results
No strings generated yet.
Tip: for API secrets, tokens, and salts, use longer strings with uppercase, lowercase, numbers, and symbols enabled.