Secret Santa Generator

WorksheetsFreeNo sign-up

A Secret Santa draw works when everyone gives to one person and nobody draws their own name. Add names, set any rules, and share a private link with each person. No email is needed.

6 people

Use Ana + Ben so a couple or household never draw each other (add more names with another +). Use Ana > Ben so Ana does not give to Ben but Ben can give to Ana. Use Ana => Ben to make Ana give to Ben.

Nothing leaves this page. There is no sign-up and no email.

Your group
6 people, ready to draw
168 possible draws with your rules
People
6
Blocked pairs
2
directed, besides yourself
Chance a shuffle works
23.3%

Press Draw names to make the links. Direct swaps are avoided.

Exact counts are shown for groups up to 18 people. The count does not apply the no swaps option.

How the draw works

The generator makes sure everyone gives to exactly one person and receives from exactly one person, and nobody draws their own name. Your rules, such as couples who should not get each other, are built in. Before showing anything it checks the finished draw again from scratch, so a broken pairing cannot slip through.

For a group with no rules the draw is a uniformly random derangement (a shuffle where nobody stays in place). With rules, every valid arrangement is possible. If your rules leave no valid draw, you get a plain explanation of who is stuck instead of an endless loop.

Sharing without email

Each person gets a private link. The assignment is stored inside the link itself, after the # sign, which browsers never send to a website. Send each link in a direct message. When someone opens theirs, they see a button and nothing else until they tap it.

Be honest about what this means: with no server, the person who runs the draw could decode the links if they tried. If the organizer wants to play too, ask a friend to run the draw, or simply do not open anyone else’s link. Turning on passcodes locks each link with a short code, which helps if a link ends up in a group chat by mistake.

The math of drawing names

If everyone grabs a name at random, the chance that nobody picks their own is about 36.8 percent, which is 1 divided by e. So most simple reshuffles fail at least once. That is why “redraw until it works” feels slow with a hat and is instant here. If names are drawn one at a time from a hat with no redraws, the last person is left holding their own name with probability 1 out of n, where n is the group size.

People Valid draws (no one draws self) All shuffles Chance a random shuffle works
3 2 6 33.3 percent
4 9 24 37.5 percent
5 44 120 36.7 percent
6 265 720 36.8 percent
7 1,854 5,040 36.8 percent
8 14,833 40,320 36.8 percent
9 133,496 362,880 36.8 percent
10 1,334,961 3,628,800 36.8 percent
11 14,684,570 39,916,800 36.8 percent
12 176,214,841 479,001,600 36.8 percent
13 2,290,792,932 6,227,020,800 36.8 percent
14 32,071,101,049 87,178,291,200 36.8 percent
15 481,066,515,734 1,307,674,368,000 36.8 percent

Valid draws are the derangement numbers: D(n) = (n minus 1) times (D(n minus 1) + D(n minus 2)). Each rule you add removes some of them, and the result panel shows the exact count for your group when it has up to 18 people.

Tips for a smooth exchange

  • Agree on a budget before the draw and type it in so it appears on every link.
  • Add wish lists or gift ideas after a bar next to each name. The giver sees only the person they drew.
  • Have everyone confirm they received their link before the party.
  • Use a rule for anyone who should not draw a particular person, such as someone they live with.

Practice questions

Test yourself with 6 multiple-choice questions on this topic. Choose an answer and press Submit to see if you are right and why.
Question 1 of 6
1. In a Secret Santa draw, nobody should…
Found a mistake? Let us know!
2. With 3 people and nobody drawing themselves, how many valid draws are there?
Found a mistake? Let us know!
3. A rule that a couple never draws each other is called…
Found a mistake? Let us know!
4. With 10 people, each person gives how many gifts?
Found a mistake? Let us know!
5. For a big group, the chance a random shuffle has nobody with their own name is close to…
Found a mistake? Let us know!
6. Why does this tool put each assignment in a private link?
Found a mistake? Let us know!

Sources

Common questions

Is every name guaranteed to go to someone else?

Yes. The draw gives each person exactly one recipient and one giver, nobody can draw themselves, and every rule you set is respected. The tool then checks the finished draw again before it makes any links.

How do I stop couples from drawing each other?

Type their names on one line with a plus sign, for example Ana + Ben. You can add a third name for a household, or use a greater than sign to block one direction only.

How do the private links work without email?

Each link carries that person’s assignment after the # sign. Browsers do not send that part to any website, so nothing is stored or uploaded. The person opens the link, taps one button and sees who they drew.

Can the organizer play too?

There is no server hiding anything, so the organizer could decode the links if they tried. If you want to play, ask someone else to run the draw, or send out the links without opening any of them. Passcode links add a second lock.

What if my rules make a draw impossible?

You will see which person has nobody left to give to or receive from. Loosen a rule or add another person. Very small groups with several couples are the usual cause.

What is the minimum group size?

Three people. With two people the only possible draw is that they give to each other. The avoid swaps option needs at least three people.

Can I include a budget and wish lists?

Yes. A budget and a short note appear on every link. Add a wish list after a bar next to a name, and the person who drew that name sees it.

Related calculators and tools

Embed this calculator on your site

Free to use on class pages, blogs and course pages. Copy the code below and paste it into your page:

More worksheets calculators

Browse all 541 calculators

Related to This Article

What people say about "Secret Santa Generator: Free Name Draw with Private Links"?

No one replied yet.

Leave a Reply