Secret Santa Generator
Draw names with exclusions for couples and send everyone a personal link that shows only their own match. No sign-up, no emails.
Type the names, mark who must not draw whom (couples, for example), and draw. Every participant gets a personal link that reveals only their own match, so the organiser can take part too. Nothing is sent to a server and no email addresses are needed. Free. No sign-up. Runs in your browser, nothing is uploaded.
No names yet. Add at least three people, the organiser included if you take part.
Add at least 3 names to draw.
Your list, the details and the last draw are remembered in this browser only. Nothing is sent to a server.
Type the names, add a rule for each couple, press Draw names and send every person their own link. Each link shows that person, and only that person, who they are buying for, together with the event name, budget, date and a note if you set them. The organiser sees a list of links, not the matches, so you can draw for a group you are part of without spoiling your own surprise.
Paper slips in a hat work when everyone is in one room. This is for the family spread across three cities, the remote team, or the organiser who wants to play along.
Setting up the draw
- Add the names. Type one and press Enter, or choose Paste a list and paste from a chat or spreadsheet, one per line or separated by commas or semicolons. Two names that differ only in upper and lower case are flagged and block the draw, because two people called Anna would not know which link is theirs. Add an initial.
- Add rules where they matter. Under Who must not draw whom, pick a person and someone they must not draw. With Both ways ticked the rule works in both directions, which is what couples need. Nobody can draw themselves, so no rule is needed for that.
- Fill in the details (optional). Event, budget, the date of the exchange and a note of up to 200 characters travel inside every link.
- Draw. You get a list of names, each with Copy link and, on phones and browsers that support it, Share. A check mark shows which links you have already copied.
- Send each link privately to its owner. If you are not taking part, Show all matches lists every pair, which helps when someone later asks a question.
How many possible draws are there?
A valid draw is one where everyone gives one gift, receives one, and nobody gets themselves. Mathematicians call that a derangement, and the numbers grow fast:
| People | Valid draws without rules | Share of all orderings |
|---|---|---|
| 3 | 2 | 33% |
| 4 | 9 | 38% |
| 5 | 44 | 37% |
| 6 | 265 | 37% |
| 8 | 14,833 | 37% |
| 10 | 1,334,961 | 37% |
From about five people on, roughly 37% of all random orderings are valid (the share tends to 1/e). That is why a hat draw in a big group so often ends with someone pulling their own name and everyone starting again.
Rules cut the count. With six people and one couple, 97 of the 265 draws have one partner buying for the other, leaving 168. With four people and one couple only 4 of 9 remain, and in every one of them both partners buy for someone in the other pair, so a second couple rule changes nothing.
How the tool keeps the draw fair
The tool picks one valid draw at random, and every valid draw is equally likely. It shuffles the receivers with the browser's cryptographic random number generator (crypto.getRandomValues), checks the shuffle against your rules person by person, and throws it away the moment a pick breaks a rule. Since every shuffle is equally likely and only valid ones survive, the survivor is a fair pick among all valid draws.
That sounds obvious, but the usual shortcut is not fair: drawing for one person after another from whoever is left, and swapping or restarting when the last person is stuck, makes some draws more likely than others. Only with an extreme number of rules, far beyond couples and a few extras, does the tool fall back to a method that is valid but only close to uniform.
Before shuffling, a matching algorithm checks whether any valid draw exists. If not, you get the reason in plain words: who cannot draw anyone, who cannot be drawn by anyone, or which group of people is limited to too few receivers.
Rules worth adding, and when to stop
- Couples and people who live together usually exchange gifts anyway. One Both ways rule per couple.
- Last year's pairs, if you want variety: a one-way rule from each person to the person they bought for last time.
Every rule makes the draw more predictable. In the four-person example above, each person has only two possible receivers, so anyone who knows the rules can make a good guess. In small groups, keep the rules to the ones that really matter.
What the links do and do not protect
The match is stored in the part of the link after the # sign. Browsers keep that part to themselves: it is not sent to our server or any other server when the page loads. The match is also encoded, so it does not appear as readable text in the address bar or in a message preview.
That is not encryption. Anyone who has a person's link can open it and see that person's match, and someone curious enough could decode a link without opening it. Send each link to its owner in a private message, not to the group chat. For a family or office exchange, that is the same level of trust as folded paper slips, without handing a list of names and email addresses to a third-party service.
Your list, the details and the last draw are remembered in this browser only, so you can come back and copy a link you forgot to send. Clear everything at the bottom removes them.
Four ways organisers spoil their own draw
- Opening the links before sending them. Use Copy link or Share without clicking the link yourself, or you will know someone's match.
- Drawing again after links went out. Old links keep working and show the old match. If you must redraw, tell everyone to use only the new link.
- Posting all links into the group chat. Each link belongs to one person.
- Editing the details after sending. A link carries the details from the moment it was copied. Change the date or budget afterwards and the links already shared still show the old values.
Budget and logistics
Put a number in the budget field rather than "small gift": a concrete amount like 20 or 25 is the easiest way to stop one person spending three times as much as everyone else. Say whether it is a limit or a target, and use the note for exclusions that matter to the group, such as no alcohol, no gift cards, or used and handmade welcome. If incomes in the group differ a lot, a low budget with a theme (books, something handmade, the funniest gift) works better than a high one.
For remote teams, set the date of the video call where gifts are opened and put the last shipping day in the note, or agree on digital gifts. For families across cities, draw early and say whether presents are posted or brought along at the holidays.
If one prize or one task has to go to a single person instead, the Random Picker Wheel picks a name in front of everyone. A QR code on the invitation can carry the link to a shared wish list, and the Countdown to Date shows how many days are left until the gifts are due.
Frequently asked questions
Related tools
All Generators tools →- Random Picker WheelSpin a colorful wheel of names to pick a random winner — and share the exact wheel as a link.
- Business & Username Name GeneratorGenerate brandable business names and available-looking usernames from a keyword — instantly and privately.
- Random Number GeneratorGenerate random whole numbers in any range — set a minimum, maximum and count, with options for unique (no repeats) and sorted results.
