Token Generator (Random String Generator)

Generate secure random tokens locally in your browser. Nothing is uploaded.

All processing happens locally in your browser. Tokens are not sent to any server.

Other languages: en | ja | es

Why this token generator?

How to use (3 steps)

  1. Choose a format (base64url / hex / custom charset).
  2. Set length and count, then generate.
  3. Copy, download, or share settings-only URL.

Generate

Token generator

Pick a format and length, generate a batch, then copy, download, or share settings (never tokens).

Advanced (seeded / charset options)

This tool runs in your browser. Generated tokens are not sent to any server.

Share URL contains settings only (never tokens).

Results

    Frequently asked questions

    Is this secure?

    Secure mode uses crypto.getRandomValues. Seeded mode is for reproducible tests only and is not secure.

    How many bytes should I use for an API key?

    A common baseline is 32 bytes (256 bits). For higher security margins, you can use 48 or 64 bytes.

    What is base64url?

    Base64url is base64 modified for URLs: + becomes -, / becomes _, and padding (=) can be removed.

    Are generated tokens stored or uploaded?

    No. Everything runs locally in your browser. Tokens are not uploaded and are not saved by default.

    Why doesn’t the share URL include tokens?

    Putting secrets in URLs can leak through history, logs, and referrers. This tool shares settings only, never tokens.