列表随机打乱
使用Web Crypto无偏打乱完整列表,并可截取随机子集;支持五类字面量输入/输出分隔符、修剪、空项处理、重复洗牌、复制和TXT下载。
使用步骤
如何使用
- Paste a comma-separated or multi-line list up to 100,000 characters.
- Choose cleanup, duplicate, output separator, and optional result-length settings.
- Shuffle the list, run it again for a new order, then copy or download the result.
Unbiased browser randomness
The tool applies a Fisher–Yates shuffle using crypto.getRandomValues. Rejection sampling discards out-of-range 32-bit values before taking a remainder, so every valid swap position has the same probability. Run Shuffle again for another independent order; randomness can occasionally return the same order by chance.
English list input and duplicate controls
Paste comma-separated or multi-line text, then choose newline, comma, tab, semicolon, or one to 20 literal custom characters. Optional trimming, empty-item removal, and case-sensitive exact duplicate removal happen before shuffling. Input is limited to 50,000 items and output to 500,000 characters. Processing stays local in your browser.
常见问题
你可能还想知道
Can the same item appear twice in the result?
Each input position is used at most once. Turn on Remove exact duplicate items to keep only the first occurrence of each case-sensitive value.
Does a shorter result choose items fairly?
Yes. The tool shuffles the complete retained list before taking the requested number of positions, so it samples without replacement.
Will every click produce a visibly different order?
Usually, but randomness can return the same order again, especially for very short lists. Select Shuffle again for another independent result.