Unstructured Text
Shuffle Lines
Put the lines of your list into a random order with a fair shuffle.
When to use it
Typical uses: Picking a random winner for a draw; Randomising quiz or survey questions; Setting a fair speaking or presentation order.
In a pipeline
Text InputShuffle LinesText Output
Settings
| Setting | Type | Required | Default or hint |
|---|---|---|---|
| Text column | select | — | Text |
| Generate New Column | checkbox | — | false |
| New Column Name | text | — | Default: <column> Result |
| Insert After | select | — | After the column |
| When a value cannot be converted | select | — | stop |
Example
Shuffle Lines: an example
| Text |
|---|
| Alice Ben Chloe Daniel Emma |
| Text |
|---|
| Chloe Emma Alice Daniel Ben |
One possible result (yours will differ):
Worth knowing
- Is the shuffle truly random? It uses a cryptographically secure random source and an unbiased algorithm, so every order has the same chance.
- Are empty lines shuffled too? Yes. Remove them first with Remove Empty Lines if you do not want them.
- Can I undo a shuffle? No. Keep a copy of your original list if you need it.
- Works on any text column, not only Text Input's: pick it under Text column. Tick Generate New Column to keep the original next to the result.