Home/Random Token Generator

Random Token

A string long enough and random enough to be worth calling a token. Drawn from the browser’s cryptographic generator, not from Math.random.

The token

Press Draw

The draw

Recent tokens

  1. Nothing yet.

Where the randomness comes from

Every character comes from crypto.getRandomValues, the browser’s own cryptographic generator. Math.random is fast and fine for shuffling a list; it is not fine for anything somebody might try to guess.

The draw is rejection-sampled rather than folded with a remainder, so no character in the set is fractionally more likely than another.

It never leaves this page

The token is made in your browser and shown to you. There is no request, no server that saw it, and no log it could appear in.

The recent list is kept in this browser only. Clear it before handing the screen to somebody else.

More generators