Back to tool

Random String / Token Generator

Generate random strings online: hex, Base64, Base64URL or UUID-formatted random tokens for API keys, salt values and test data. Generated locally.

Random strings are commonly used for API keys, database salts, one-time tokens or test data. This tool uses the browser’s native cryptographic RNG — good enough for non-high-security tokens.

Supports hex, Base64, Base64URL encodings and standard UUIDv4; pick the byte length you need.

For very high-security keys (e.g. long-lived root keys), use a dedicated key-management system rather than a web tool.

Related reading