# Random String Generator

> Generate random alphanumeric strings with a charset and length you choose. Handy for tokens, test IDs, and dummy keys. Uses local randomness so generated values are not logged by a hosted generator.

Runs in your browser. Nothing is uploaded.

[Generate](https://toolbuddy.dev/categories/generate.md)

## About this tool

Build a random string from letters, digits, dash/underscore, and extra characters you type. Length is capped; values come from crypto.getRandomValues, not Math.random. Hit Generate when you want a new token without changing length. If every charset toggle is off and the extra box is empty, output is empty rather than a fake default.

How to use: set length, toggle charsets, add any extra symbols, copy. Good for test IDs, nonces, and dummy API keys. Do not treat this as a password generator if you need entropy estimates and ambiguous-character filters; use the password tool instead.

Example: length 24 with letters and numbers is a typical test token. Extra '!@' adds those two symbols to the pool. Generated values are not stored and are not shown to anyone else.

RNG is Web Crypto in this browser. Tokens never go to a hosted generator that might log them. Related: UUID generator for RFC identifiers, random number for numeric samples.

## FAQ

### Is this a password generator?

It can make random tokens, but the dedicated password tool adds charset guidance and an entropy hint. Use that for secrets you will type often.

## Related Generate tools

- [UUID Generator](https://toolbuddy.dev/tools/uuid-generator.md): Generate RFC 4122 UUIDs (v4 and v7) in bulk, or validate and reformat pasted IDs. Copy a list for database seeds, test fixtures, and idempotency keys. Uses the Web Crypto RNG so IDs are created on-device with no telemetry.
- [Password Generator](https://toolbuddy.dev/tools/password-generator.md): Create strong random passwords and passphrases in your browser. Tune length, symbols, and ambiguity, then copy once. Generation uses local randomness and never phones home. A private generator for accounts, test users, and sharing secrets over a side channel you control.
- [Random JSON Generator](https://toolbuddy.dev/tools/random-json.md): Generate nested JSON fixtures for mocks and tests. Tune depth and item count, then copy a valid object or array. Built with the Web Crypto RNG so dummy payloads are created on-device.
- [Random Number Generator](https://toolbuddy.dev/tools/random-number.md): Pick random integers or decimals in a min–max range, one at a time or in a list. Simple test data and dice-style rolls without a remote RNG. Generated on your device.
- [QR Code Generator](https://toolbuddy.dev/tools/qr-generator.md): Encode a URL or any text as a QR code in the browser. Tune error correction, size, and colors, then download PNG or SVG. Encoding stays on the device. There is no QR API.
- [Lorem Ipsum Generator](https://toolbuddy.dev/tools/lorem-ipsum.md): Generate Lorem Ipsum placeholder text for mockups and prototypes. Choose paragraphs, sentences, or words. All text is generated locally in the browser.
