AnkhKit

Secure Token Generator (Hex & Base64)

Runs 100% in your browser — your files never leave your device.

Session keys, API secrets, CSRF tokens, invite codes — anything security-sensitive needs real randomness, not Math.random(). This generator uses your browser's WebCrypto API and can emit hex or URL-safe base64. Choose the byte length — the matching bit count of entropy is shown right beside the controls.

How it works

  1. 1

    Choose the length

    Bytes of entropy, from 1 to 1024 — 32 bytes (256 bits) is the default.

  2. 2

    Pick the encoding

    Hexadecimal for keys and secrets, URL-safe base64 for tokens in links.

  3. 3

    Generate and copy

    Each click draws fresh randomness from WebCrypto; nothing is stored or sent.

More generators