Random Sequence Generator
Random Sequence Generator ordered random number list unique integer sequence maker random range seriesGenerate integers in sequence order
Enter inclusive minimum and maximum integers, choose a length, and decide whether values may repeat. Select Generate sequence for a comma-separated result in the order drawn.
Unbiased range selection
The generator reads unsigned integers from crypto.getRandomValues(). It rejects values above the largest even multiple of the requested range width before using a remainder. This avoids the uneven probabilities produced when a random source range does not divide cleanly by the target range.
Repeated and unique modes
With repeats allowed, every position is an independent range draw and the same integer may appear several times. Unique mode builds the inclusive range and performs only the needed portion of a Fisher–Yates shuffle using the same unbiased Web Crypto selection. Sequence order still matters in both modes.
Worked example
Choose 1 through 6 with length 4. A repeated result might be 2, 6, 2, 1; another run will differ. Turn repeats off and four different values are returned, such as 5, 1, 4, 3. Requesting seven unique values from this six-value range is rejected.
Practical uses
Sequences can assign randomized presentation orders, create test fixtures, choose numbered positions, or shuffle a manageable ID range. Save the output if an exact order must be reused. This page has no seed and cannot recreate an earlier sequence after reload or regeneration.
Limits and randomness
Inputs must be safe integers, range width cannot exceed 100,000, and length is capped at 1,000. Web Crypto provides strong random bytes, but a short sample need not look evenly distributed. The tool does not certify lotteries, regulated drawings, experimental design, or fairness of a process outside this page.
Random Sequence FAQ
Are endpoints included?
Yes. Both minimum and maximum can appear.
Can I reproduce a result with a seed?
No. This generator intentionally has no seeded mode.
Why cap unique ranges?
Unique mode creates an in-browser array, so a cap keeps memory and response time reasonable.
Related tools
Limitations and assumptions
Each position is drawn from the inclusive integer range under the selected repeat rule; sequence generation does not validate an outside drawing or experiment.