Token generator

Generate random string with the chars you want, uppercase or lowercase letters, numbers and/or symbols.

Enable JavaScript to use the interactive tool. The guide below explains how it works.

Token Generator

What it does

The Token Generator creates random strings from a character set you choose: uppercase letters, lowercase letters, digits and symbols, at any length from 1 to 512. Adjust the switches or the slider and a new token is shown ready to copy. A refresh button produces another one with the same settings.

Why someone uses it

Step-by-step instructions

  1. Toggle the character groups you want: uppercase, lowercase, numbers, symbols.
  2. Drag the length slider (default 64).
  3. Read the token in the box.
  4. Press Refresh for a new one, or Copy to put it on the clipboard.
  5. The settings are kept in the page address, so you can bookmark a configuration.

Examples

Understanding the results

The length is the number of characters, and the strength depends on both length and the size of the character set. A 16-character token drawn from 62 characters (letters and digits) offers about 95 bits of entropy in theory; adding symbols increases the pool and the entropy per character. Important: this generator uses the browser's standard pseudo-random function, not the cryptographic random-number generator. That is fine for test data, identifiers and placeholders, but you should not rely on it to generate production secrets, encryption keys or signing keys. For those, use a cryptographically secure generator such as your operating system's, a password manager, or a tool designed for the purpose.

FAQs

Common mistakes

Use cases

Related tools

All tools

Guides and articles