API Token Generator
Generate prefixed, high-entropy API tokens with an optional checksum.
- Input and output stay in memory and are gone when you leave this page.
Nothing saved
Input and output stay in memory and are gone when you leave this page. - Processing happens in this page. No application server receives your input.
Runs in your browser
Processing happens in this page. No application server receives your input.
Tokens
- Entropy
- About 190.5 bits of entropy
- Encoded length
- 43
- Alphabet
- base62
What this tool does
Generates high-entropy tokens in the shapes services actually use: a prefixed random string, a UUID, a hex or base64url block, or a prefixed token with a trailing checksum that lets a secret scanner recognize it.
A fixed, service-specific prefix allows a secret scanner to recognize a leaked credential in a repository or log, and the optional trailing 8-hex-character CRC-32 checksum over the random body lets scanners reject high-entropy false positives without claiming cryptographic integrity. Four of the five formats draw from randomBytes and work in every browser context; only the UUID format depends on the platform UUID generator.
How it runs
Main thread.
Limits and non-goals
Generates tokens; it does not register, store, or revoke them. The checksum makes a token recognizable, not verifiable: anyone can compute it, so it is a scanning aid, not authentication. No JWT issuance (T38 inspects them and does not mint them), no HMAC-signed tokens, no expiry embedded in the token.
Example
Prefix sk_live, 32 bytes, checksum on โ sk_live_9fQ2mXvK4pLnR7wT1yBc6sHdA3jZeUgN_c41a2b90, Entropy About 190.5 bits of entropy, Encoded length 43, Alphabet base62.
Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.