Tink, the Tinkkit robotTinkkit
← All toolsSecurity›Encryption & Keys

Secure Random Key & Token Generator

Generate cryptographically secure random keys and tokens in hex, Base64 or API-key style for apps, JWTs and sessions.

Tip from Tink: 32 bytes (256-bit) is the standard for app secrets.

Good for session secrets, JWT signing keys and API tokens. 32 bytes (256-bit) is the usual choice. Only the length settings go in a share link, never the keys.

Advertisement

How to use the Secure Random Key & Token Generator

  1. Choose length and format.
  2. Copy a key.
  3. Press New keys for more.

Everything runs in your browser. Nothing you enter is uploaded.