Text utilities

Random Number Generator

Free online random number generator

Random Number Generator

Ready

Generated numbers

The result will appear here after you run the tool.
Local processing

Press Ctrl or Command and Enter to run the tool.

About this tool

About this tool

Random Number Generator draws uniformly distributed integers between any two bounds using crypto.getRandomValues with rejection sampling, which avoids modulo bias. It supports counts up to 1000, a unique-values mode, and optional ascending sorting. Numbers are generated entirely in your browser and can be copied or downloaded.

Draw secure random integers for draws, testing, sampling, and game night. Set a minimum and maximum, choose how many numbers you need, and optionally require unique values or a sorted output. The generator uses the browser secure random source, so results are unbiased and never leave your device.

Built for daily work

  • Run a fair raffle or giveaway draw.
  • Pick random sample indices for testing.
  • Create dice rolls or game night numbers.
  • Generate test data values in a fixed range.

How to use this tool

How to use this tool

1

Set the range

Enter the minimum and maximum values. Negative bounds work fine.

2

Choose the count and options

Pick how many numbers to draw, and enable unique or sorted output if your task needs them.

3

Generate and use

Press Generate, then copy the list or download it as a text file.

Key features

Key features

Unbiased integers

Rejection sampling over crypto.getRandomValues produces a uniform distribution without modulo bias.

Unique values

The no-repeats mode suits draws and sampling where duplicates are not allowed.

Large batches

Generate up to 1000 numbers at once for testing and data needs.

Sorting option

Sort the output ascending when order matters, or keep the raw draw order.

Practical use cases

Practical use cases

  • Run a fair raffle or giveaway draw.
  • Pick random sample indices for testing.
  • Create dice rolls or game night numbers.
  • Generate test data values in a fixed range.
  • Choose a random question or task number.

Private by default

For local tools, input is processed in your browser and is not sent to application analytics.

Data processing notice

Technical details

Technical details

Random sourcecrypto.getRandomValues with rejection sampling
Batch sizeUp to 1000 numbers
Unique modeOptional, capped by range size
OutputOne number per line, copy or download

Limitations and important notes

Limitations and important notes

  • The generator produces integers only, not decimals.
  • Unique mode cannot exceed the number of integers in the range.
  • Numbers are not stored, so copy them before leaving the page.

Frequently asked questions

Frequently asked questions

Related guides and solutions

Related guides and solutions

Browse all guides

What local browser processing means for online tools

A transparent explanation of local tool processing, temporary browser memory, local storage, downloads, analytics boundaries, and cases that require remote services.

Learn more

Trust center

Related tools

Related tools

View all tools

Text utilities

Password Generator

Generate strong, secure random passwords with selectable length and character sets, using browser cryptography.

Local processing Focus mode
Open tool

Developer tools

UUID Generator

Generate one or many cryptographically strong UUID version 4 values.

Local processing Focus mode
Open tool