Home Token

SECURE token

ready

Generate cryptographically random tokens for API keys, session secrets, password salts, share links, anything. Uses the browser's CSPRNG (Web Crypto API) - never Math.random().


STDINinput

[01] What makes a token "secure"?

A secure token is unpredictable - an attacker can't guess it faster than brute-forcing the entire keyspace. Two requirements:

  1. Cryptographically secure source. Use crypto.getRandomValues() (browser) or crypto.randomBytes() (Node) - never Math.random(), which is predictable from a few outputs.
  2. Enough entropy. A 16-byte (128-bit) random token has 2128 possibilities - about the same as AES-128 keys. Anything below ~80 bits is brute-forceable by motivated attackers.

[02] Length recommendations

[03] About the formats

[04] Privacy

Generation happens entirely in your browser using the Web Crypto API. The tokens never leave the page; nothing is logged or sent anywhere.

STDOUToutput

Common questions

Is Secure Token Generator free to use?

Yes. The tool runs in your browser at no cost, with no signup required.

Where is the math performed?

Calculations run locally in your browser. Your inputs do not leave your device.

Are the rates and rules current?

We update sources when published rates change. For high-stakes decisions, verify against the official source linked on this page.