All tools · Random & try-it

Random number & date generator

Numbers and dates drawn with your browser's cryptographic random generator, every value equally likely.

Numbers

—

Dates

—

How to use

  1. Set the minimum, maximum and count, then press Draw.
  2. With "No repeats" on, no number appears twice.
  3. A date is picked between the two dates, both included.

Questions

Is it truly random?

It uses crypto.getRandomValues with rejection sampling, so there is no modulo bias.

Are the minimum and maximum included?

Yes, both ends can come up.

How large can the range be?

Up to JavaScript's safe integers (about ±9 quadrillion); up to 1,000 numbers per draw.

Is anything saved?

No. Everything happens in your browser.

Related tools

All tools