Rand number

Random Number Generator

Generate cryptographically secure random numbers. Set a range, choose integers or decimals, request unique values, and produce several at once.

Options

Secure · local

Numbers

About this tool

About Random Number Generator

The Random Number Generator produces cryptographically secure random numbers within a range, as integers or decimals, optionally unique and in batches. It is for developers, researchers, and anyone needing dependable randomness.

Everyday random functions are predictable enough to matter in some uses. Drawing from the browser’s secure source gives stronger randomness locally, with no server involved.

How to use

Step by step

  1. Set the minimum and maximum of the range.
  2. Choose integers or decimals.
  3. Decide whether the numbers must be unique.
  4. Set how many to generate.
  5. Generate and copy the results.
Key features

What it offers

  • Secure random number generation
  • Integer or decimal output
  • Unique-values option
  • Batch generation
Common use cases

Where it helps

  • Drawing winners for a giveaway fairly
  • Generating sample data within a range
  • Picking unique random selections without repeats
  • Seeding a simulation or test
Best practices

Tips for best results

  • Keep the requested count of unique values within the size of the range.
  • Use the unique option for draws where the same value must not repeat.
  • For regulated draws, rely on a certified system rather than a browser tool.
Common mistakes to avoid

Pitfalls to watch for

  • Requesting more unique numbers than the range can supply, which is impossible to satisfy.
  • Assuming decimals are evenly distributed to unlimited precision; they are bounded by representation.
  • Using these for regulated gambling or lotteries, which require certified systems.
Benefits

Why people use it

Strong randomness

From the secure random generator, not a basic shortcut.

Range control

Bound results to exactly what you need.

Unique option

Avoid repeats when required.

Private

Numbers are generated locally.

FAQ

Common questions

Yes. Numbers come from the Web Crypto secure random source, not Math.random.
Yes. Enable \"unique\" to draw without repeats (the count cannot exceed the range size for integers).
Both. Choose integer for whole numbers or decimal for fractional values with adjustable places.
No. Everything runs in your browser.
Private by design

This runs entirely in your browser

No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.

Install Toolisco Add it to your device for offline, one-tap access.