AscendLab

Math helpers

随机数生成器

Free browser tool

Random Number Generator for Ranges, Lists & Dice

Generate random integers for quick picks, dice-style rolls, classroom examples, test data, and simple sampling workflows.

Loading...
Quick answer

A random number generator picks integers from your selected minimum and maximum range.

Turn duplicates off when you need a no-repeat list, or keep duplicates on for dice-style rolls.

Best inputs for random picks

Use a clear inclusive range

Both the minimum and maximum values can appear in the result.

Match count to range size

For no-repeat generation, the requested count cannot exceed the number of available integers.

Random method
The generator produces integers within your selected inclusive range.

Duplicate mode allows repeated values, like rolling dice multiple times.

Unique mode samples from the range until the requested number of values is reached.

Practical uses

Use it for random picks, small test datasets, raffle-style examples, dice rolls, and numbered lists.

For regulated lotteries, audits, or security workflows, use specialized systems with process controls.

Random number example
Choose a range, count, and duplicate setting before generating.

Example

Generate 10 unique numbers from 1 to 100 for a quick classroom or testing example.

Assumption

The range includes both the minimum and maximum numbers.

Limitation

This is a convenience tool, not a certified lottery or compliance-grade random drawing system.

Common use cases
Use browser-generated numbers for lightweight everyday selection tasks.

Dice rolls

Generate repeatable range-style results such as 1 to 6, 1 to 20, or custom game ranges.

Classroom picks

Choose random student numbers or example rows with optional no-repeat behavior.

Test data

Create small integer lists for demos, documentation, and local development.

Simple sampling

Pick unique numbers from a known range for lightweight planning or examples.

Frequently asked questions

Are the range endpoints included?

Yes. Minimum and maximum values can both appear.

Can I prevent duplicates?

Yes. Turn off duplicate numbers to generate a unique sample.

What happens if I request too many unique numbers?

The count is limited to the size of the selected range.

Does generation use a backend?

No. Numbers are generated in your browser.

Suggested workflow

Random test data path

Generate sample numbers, create identifiers, and hash output when you need repeatable notes.

Related tools