← All tools

CSV Shuffler & Random Sampler

Shuffle the rows of a CSV into random order, or sample a random subset of N rows. Fisher-Yates shuffle with optional numeric or text seed for reproducibility. Handles quoted fields, embedded commas and newlines, and auto-sniffs the delimiter. Pairs with the CSV Viewer, CSV Sort, and CSV Merger. Everything runs locally in your browser.

Fisher-Yates shuffle produces an unbiased random permutation. A seed makes the result reproducible — the same seed and input always produce the same shuffle. "Sample N rows" shuffles then takes the first N rows. Pairs with CSV Viewer, CSV Sort, and CSV Merger. Runs locally.