Numbers

Random Sequence Generator

Take every integer in a range and shuffle the whole sequence into a random order — useful for running orders, draft picks, or randomized trial conditions.

Cryptographically secure Instant, in your browser Free, no sign-up

Generate

Your result will appear here

How the Random Sequence Generator works

Unlike the number list generator, which can select a subset with or without repeats, the sequence generator always includes every integer in your range exactly once — it randomizes order, not membership. That makes it the right tool whenever you need a complete, fair ordering: who presents first, which participant gets which trial condition, or what order teams pick in a draft.

The shuffle uses the Fisher–Yates algorithm seeded by cryptographically secure random values, which guarantees every one of the n! possible orderings is equally likely — a property naive shuffling approaches (like sorting by Math.random()) do not reliably provide.

How to use it

1
Define the sequenceEnter the first and last number of your sequence, for example 1 to 20 for a class of twenty students.
2
Shuffle itEvery number in that sequence appears exactly once, just in a random order.
3
Apply the orderUse the shuffled sequence to assign presentation order, draft order, or trial conditions.

Frequently asked questions

How is this different from the Random Number List tool?

The list generator can pick a subset of numbers (with or without repeats); the sequence generator always uses the complete range and only randomizes the order.

Can I shuffle a descending range like 20 to 1?

Yes — Xrandom automatically normalizes the range regardless of which value you enter first.

Is every ordering equally likely?

Yes. The Fisher–Yates shuffle used here produces a uniform distribution over all possible orderings, with no bias toward any position.