Array & List Sorter / Shuffler
Paste a newline list, CSV row, or JSON array to sort (alphabetical, natural, numeric, or by length), deduplicate, reverse, or shuffle via Fisher-Yates CSPRNG.
About This Tool
Accepts a newline-separated list, a comma-separated list, or a JSON array, then sorts, deduplicates, reverses, or shuffles the items and formats the result as lines, CSV, or JSON.
Shuffling uses the unbiased Fisher-Yates algorithm backed by crypto.getRandomValues so every permutation is equally likely.
Key Features
- Auto-detected input & multi-format output: Paste lines, CSV, or a JSON array and export the processed list as newline text, RFC-4180 CSV, or formatted/minified JSON.
- 10 sort & order operations: Alphabetical (A-Z / Z-A), Natural sort (file2 before file10), Numeric sort, String length sort, Reverse, and Fisher-Yates Shuffle.
- Deduplication & trimming: Remove duplicate items (case-insensitive or case-sensitive), trim whitespace, and drop blank lines.
- Cryptographic Fisher-Yates shuffle: Randomizes item order using rejection-sampled crypto.getRandomValues instead of Math.random().