Shuffle Lines

Randomize the sequence of lines in any document or list using unbiased cryptographic Fisher-Yates shuffling. Add sequential numbering, strip blank lines, and maintain complete privacy.

Private • In-browser processing • Zero server uploads

Interactive workspace loading...

How to Use Shuffle Lines

1
Paste Your Lines
Enter or paste your text rows into the input panel.
2
Set Options
Toggle line numbering or blank line filtering as desired.
3
Copy Random List
The randomly shuffled list is generated instantly.

Key Features

Cryptographic Shuffling
Driven by Web Crypto API crypto.getRandomValues() for uniform randomness.
Optional Numbering
Prepend sequential 1., 2., 3. numbering to the shuffled output.
Whitespace Trimming
Clean leading and trailing spaces from each row.
100% Client-Side
Zero server communication ensures your lists remain private.

Common Use Cases

  • Drawing random giveaway winners, raffle prizes, and secret Santa assignments.
  • Shuffling audio playlist track sequences or question banks for practice exams.
  • Randomizing team rosters, speaking turns, and interview candidate orders.
  • Permuting dataset rows for machine learning test and training splits.

Frequently Asked Questions

Yes! Toggle 'Prepend Line Numbers' on, and each line will be prefixed with its sequence rank (e.g. '1. Alice', '2. Bob').

Yes! We implement the Knuth/Fisher-Yates shuffle algorithm with high-entropy cryptographic seeds for mathematically uniform permutations.

No, everything runs purely inside your browser sandbox.