Random String Generator
Generate random strings and tokens.
Use on any page (bookmarklet)
Want Random String Generator without leaving the page you're on? Drag the button below to your bookmarks bar, then click it on any website to open Random String Generator right there — it runs entirely in your browser.
Use responsibly: a bookmarklet runs on whatever page you click it on. Avoid sensitive sites such as online banking, payment, or healthcare pages — you run it at your own risk. Everything is processed locally and no data is sent anywhere. See our Terms.
- Show your bookmarks bar if it's hidden — Ctrl+Shift+B (⌘+Shift+B on Mac).
- Drag the button above onto the bookmarks bar.
- Open any website and click the bookmark — the Random String Generator panel appears in the top-right corner. Use ✛ to move it between corners, or ›/‹ to tuck it against the edge and pull it back out.
- Click the bookmark again (or the ✕) to close it.
Note: a few sites with strict security policies may block bookmarklets.
Examples
16-char alphanumeric token
Output
f3Kq9XmZ2aLpV7Rt
API-key style, no look-alikes
Output
h8Tn4kRpY6wQs2Vx
About this tool
This free online random string generator creates random strings and tokens of any length, using a cryptographically strong source. Choose which character sets to include — lowercase, uppercase, digits, and symbols — optionally drop confusing look-alike characters, and generate many at once. Everything runs in your browser with no upload.
How to use
- Set the length and how many strings you need.
- Toggle the character sets (a–z, A–Z, 0–9, symbols).
- Optionally exclude look-alikes, then click Generate and copy.
Common uses
Creating API keys and access tokens, generating test data and unique IDs, seeding coupon or invite codes, and producing one-off secrets for development and configuration.
Frequently asked questions
Is this random string generator free?
Yes — it's a completely free online random string and token generator with no sign-up and no limits.
How random are the strings?
They use the browser's Web Crypto API (with rejection sampling for an unbiased pick), so the output is suitable for API keys, tokens, and other sensitive identifiers.
Can I choose which characters are used?
Yes. Toggle lowercase, uppercase, digits, and symbols, and optionally exclude look-alike characters like i, l, 1, O, and 0.
Can it generate many strings at once?
Yes. Set how many you want and each line in the output is a separate random string of your chosen length.
What's the difference from the password generator?
They're similar; this tool is geared toward bulk tokens and IDs with flexible length and count, while the Password Generator focuses on single memorable-strength passwords.
Is anything sent to a server?
No. Strings are generated entirely in your browser with no upload, so nothing leaves your device.
Learn more
Related tools