Random Number Generator

Generate secure random numbers in any range — one or thousands, unique or sorted.

How do I generate a random number?

A random number generator picks numbers in a range so that every value has the same chance. This tool uses the browser's cryptographically secure generator and avoids modulo bias, so results are fair.

How to use the Random Number Generator

    Frequently asked questions

    Are the numbers truly random?

    They come from a cryptographically secure pseudo-random generator, which is unpredictable and suitable for draws.

    What is modulo bias?

    A small unfairness when random values are reduced to a range with %. This tool rejects biased values to keep every number equally likely.

    Can I roll dice?

    Yes, set the range to 1–6.