Free · No sign-up · Data stays local

Random Number Generator

Free online random number generator: set min, max and count to produce integers, unique draws or decimals with a fixed precision, powered by a cryptographic source for draws and codes.

随机结果
实际个数
—
实际范围
—

How to Use

  1. Set range and count

    Enter the minimum, maximum and how many numbers you need (1–10000).

  2. Choose a mode

    Tick 'No duplicates' for unique draws, or 'Allow decimals' and pick the precision for simulated data.

  3. Generate and copy

    Click 'Generate'; the panel reports the actual count and observed range, and the list copies in one click.

FAQ

Is the randomness real?

It uses crypto.getRandomValues with rejection sampling to remove modulo bias — good enough for draws and codes, weaker than hardware TRNG but far better than Math.random.

How many unique values can I get?

No more than the number of integers in range. For 1–10 the maximum is 10 unique values; beyond that the tool reports the range is too small.

Can it produce decimals?

Yes — tick 'Allow decimals' and pick 1–4 places. Decimals cannot be combined with 'no duplicates' (floats rarely repeat and the space is unbounded).

Can I paste the result into Excel?

Yes. The output is one comma-separated line; paste it and use Text to Columns, or paste directly into cells.

More Online Tools