Duplicates preserved
Identical lines appear twice in the output.
Fix: Use Remove Duplicate Lines first if you want unique values.
header • up to 320x100 / 728x90
Randomise the order of lines in any multi-line text
Output will appear here...
content bottom • up to 300x250
sidebar • 160x600
Last reviewed:
Line Shuffler uses the Fisher–Yates algorithm to reorder the lines of your text uniformly at random. It preserves each line's content exactly — only the order changes.
It's a frequent ingredient in giveaways, test data generation, icebreaker prompts, and any workflow that needs fair randomisation of records.
alice bob carol dave
carol alice dave bob
Identical lines appear twice in the output.
Fix: Use Remove Duplicate Lines first if you want unique values.
Blank lines are treated as regular lines.
Fix: Run Remove Empty Lines beforehand.
Yes — the tool uses the Fisher–Yates algorithm with Math.random().
No. For raffles or security-sensitive cases, use a CSPRNG.
Yes — they participate in the shuffle like any other line.
Yes — run the tool again to get a different order.
Fully — each line is treated as an atomic string.
Combine shuffling with dedup and sort utilities to craft precise random datasets. You can also browse the full String Utilities category for more options.
Randomly reorder the words in a sentence while preserving spacing
Remove duplicate lines from text
Sort lines alphabetically or numerically
Remove empty lines from text
Generate random numbers
Generate random dates
Count lines in text
Flatten multi-line text into a single line with a configurable separator
Split a single-line string on any delimiter to produce one value per line
Sort text lines alphabetically
Convert binary to readable text
Convert text between different cases (camel, snake, kebab, etc.)