Shuffle Lines

Randomize line order while preserving every entry, including repeats.

Loading Shuffle Lines...

How to use

Shuffle uses browser cryptographic randomness by default. Enter an optional seed when you need the same input and seed to produce the same order again.

Example

Input
north east south west
Output
north east west south

Limitations

Random order is not a fairness guarantee. A seeded shuffle is deterministic and is not cryptographically random.

Frequently Asked Questions

Will repeated entries be deduplicated?

No. Each source line occupies one position in the shuffled result.

Why use a seed?

A seed makes a shuffle reproducible for lesson plans, test fixtures, or shared lists.