首页Home › 随机生成Random Generators
🏆 随机抽奖 / 挑赢家Pick Winner
从名单中随机抽出一名或多名赢家(可设不重复与种子)。本地处理。可设置「赢家数」、「种子」、「不重复」。Pick one or more winners at random from a list (optional unique + seed). Processed locally. Settings: Winners, Seed, Unique.
使用说明与常见问题How-to & FAQ
「随机抽奖 / 挑赢家」是什么?What is the Pick Winner tool?
从名单中随机抽出一名或多名赢家(可设不重复与种子)。本地处理。可设置「赢家数」、「种子」、「不重复」。Pick one or more winners at random from a list (optional unique + seed). Processed locally. Settings: Winners, Seed, Unique.
如何使用「随机抽奖 / 挑赢家」?How do I use the Pick Winner tool?
在「随机抽奖 / 挑赢家」中,把内容粘贴或输入到上方输入框,按需设置「赢家数」、「种子」,结果会实时显示在下方,点击「复制结果」即可复制。In the Pick Winner: Paste or type into the input box, adjust "Winners", "Seed"; the result appears below instantly — click "Copy result" to copy it.
怎样让抽奖结果可以复现?How can I make a draw reproducible?
在「种子」里填写任意文字,相同的名单、赢家数和种子总会抽出同样的结果;留空则每次随机。勾选「不重复」时,重复的名字只算一次,同一个人也不会被抽中两次。Enter any text as the seed: the same list, number of winners and seed always give the same result, while an empty seed gives a fresh draw. With Unique ticked, duplicate names count once and nobody can win twice.
勾选“不重复”时,同名的人怎么处理?With Unique on, how are repeated names handled?
先去掉重复的名字再抽,所以同一个人不会被抽中两次。比较时忽略大小写、全角/半角差别和多余空格(“Alice”“alice ”“ALICE”算同一人),保留第一次出现的写法;结果下方会提示去掉了几个重复名字。如果去重后的人数少于赢家数,会提示最多能抽几人。不勾选时每一行都是一张“票”,同一人写几次就有几次机会,也可能被抽中多次。Repeated names are removed before the draw, so nobody can win twice. Names are compared ignoring letter case, full-width/half-width forms and extra spaces ("Alice", "alice " and "ALICE" are the same person), and the first spelling is kept; a note below the result says how many duplicates were removed. If fewer different people remain than the number of winners, the page tells you the maximum. With Unique off, every line is one ticket, so a name listed several times has several chances and can win more than once.
输入和输出是什么样的?What does the input and output look like?
例如在「随机抽奖 / 挑赢家」中输入 Alice ⏎ Bob ⏎ Cara,「赢家数」设为 1,「种子」设为 1,输出为:Cara(⏎ 表示换行)。For example, the Pick Winner turns the input Alice ⏎ Bob ⏎ Cara, "Winners" set to 1, "Seed" set to 1 into: Cara (⏎ marks a line break).
有哪些选项可以调整?What options can I adjust?
「随机抽奖 / 挑赢家」的设置:「赢家数」默认 1;「种子」可留空;可勾选:「不重复」(默认勾选)。每次生成结果都按当前设置处理。Settings in the Pick Winner — "Winners" default 1; "Seed" optional; tick boxes: "Unique" (on by default). The result always uses the current settings.
随机结果真的随机吗?Is the randomness truly random?
「随机抽奖 / 挑赢家」使用浏览器的 crypto.getRandomValues(密码学安全随机数)生成结果,并做了无偏处理,每个结果出现的概率相同。The Pick Winner uses crypto.getRandomValues (cryptographically secure randomness) with unbiased sampling, so every outcome is equally likely.
「随机抽奖 / 挑赢家」免费吗?需要注册吗?Is the Pick Winner free? Do I need an account?
「随机抽奖 / 挑赢家」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Pick Winner is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.