Random Number Generator

Generate random integers or floats in any range. Bulk output, allow-repeats toggle, seeded mode for reproducible runs.

Min
Max
Count
Press Generate

Set a range and hit Generate.

01 — Overview

How it works

A focused random number generator with the controls you actually need: range, count, integer vs float, decimal places, allow-repeats. Optional seed for reproducible output across runs — useful for fixtures and tests. Cryptographically random by default.

02 — Use cases

When to use it

  1. 01

    Generate a list of unique IDs for a small test dataset

  2. 02

    Draw lottery or raffle picks (with a seed if you want auditability)

  3. 03

    Get a single random number in a range without firing up a REPL

  4. 04

    Sample N values from a distribution for quick experimentation

03 — Examples

Real input, real output

100 × integers, 1-1000, no repeats

ex 01

742, 18, 903, 256, 411, ...

Unique integers drawn from a 1000-wide range.

1 × float, 0-1, 6 decimals

ex 02

0.418273

A single float, useful for quick sampling.

04 — FAQ

Frequently asked

By default, yes — it uses window.crypto.getRandomValues. If you provide a seed, it switches to a deterministic PRNG (mulberry32) so the output is reproducible. Seeded mode is not suitable for security use.

05 — More

Tools that pair well