Secret Santa generator: draw names in your browser
This Secret Santa generator pairs 2 to 100 people without sending a name anywhere. Paste the list, add the people who must not draw each other, and press Draw. A 12-person draw usually settles in under four shuffles, and in 10,000 test draws no one ever drew their own name. Copy the pairs or print them when you are done.
Optional. Write "Ann - Ben" if those two should not draw each other. Rules work both ways.
Nothing is sent to a server. The draw runs in this tab.
This year’s pairs
- No draw yet
How this Secret Santa generator draws names
The draw is a random order of the same people. Everyone in the list gives one gift and receives one gift, so the pairs always form a closed loop, and no one appears twice on the same side. Before a pair is accepted, two checks run: the giver cannot be the receiver, and the pair cannot be on your no-pair list. Both checks are per pair, so the rule "Ann does not draw Ben" also stops Ben from drawing Ann.
Each attempt is a fresh shuffle, and the page keeps shuffling until every pair passes. That sounds wasteful, but a plain draw of n people already fails about 63% of the time on the no-self-draw check alone, and the retry costs microseconds. When the rules get tight (say six people and one person barred from three of the other five), the page stops shuffling after 2,000 failures and switches to a backtracking search, which either finds a valid arrangement or tells you the rules make one impossible. You get a message instead of a broken draw.
Measured: what 30,200 test draws showed
The numbers below come from running this page's draw code 30,200 times on 2026-11-13 with a fixed random seed, then checking every result. The measurement script lives outside the page; the counts are what it reported.
| People | Draws tested | Drew own name | Broke a no-pair rule | Average shuffles to a valid draw |
|---|---|---|---|---|
| 6 | 10,000 | 0 | 0 | 2.71 |
| 12, with 2 no-pair rules | 10,000 | 0 | 0 | 3.89 |
| 60, with 2 no-pair rules | 2,000 | 0 | 0 | 2.93 |
| 100 | 200 | 0 | 0 | 2.85 |
The 12-person run finished all 10,000 draws in 35 milliseconds, and the slowest single draw needed 37 shuffles before it passed. The six-person list with one person barred from three others averaged 17.95 shuffles and peaked at 151, still far below the 2,000-shuffle ceiling before the fallback search takes over. Two people is the floor, and that draw is fixed by arithmetic: each draws the other.
What the table means in practice: the size of the group changes the result, not the fairness. There is no bias toward handing someone an easy or hard name, because the receiver assignment is decided by the shuffle alone and every failing shuffle is thrown away whole.
Secret Santa generator vs DrawNames and Elfster
Both of those services were opened on 2026-11-13 for this comparison. The table records what their own pages state that day, plus what this page does. Features not stated on a page are not listed.
| Tool | How names get paired | Wish lists | Cost as stated | Accounts and apps |
|---|---|---|---|---|
| DrawNames (drawnames.com) | You enter the group, add exclusions for who should not draw whom, then send invitations by email, text message or WhatsApp | Yes, each person builds a wish list | Free: “And it’s free!” | Site says “Draw names – no account needed”; iOS and Android app rated 4.8/5 from 312K ratings |
| Elfster (elfster.com) | Start an exchange from the homepage: your name, then add friends; the draw runs on their site | Yes, wish lists are the core feature | “Free, fun, and easy to use” | Site has Log In and Get Started; iOS, Android and a Chrome extension |
| ZomZam (this page) | Paste the names, paste no-pair rules, press Draw; pairs appear in the same tab | No | Free, no account, no email | None needed; copy the list or print the slips |
The difference is what you hand over. DrawNames and Elfster both collect email addresses because invitations and wish lists are the product; that is also why they can host wish lists and reminders. This page does one job: it pairs names and prints the result. If the group wants wish lists and reminders in December, use one of those services. If the group already has a group chat and just needs fair pairs in the next minute, use this page.
Running an office Secret Santa in fifteen minutes
- Write the list with full names as people know each other, not payroll names. Matching "Alex" to "Alexandra" is the most common source of confusion later.
- Add the rules you already know: partners, a manager with a direct report, two people who carpool and would rather not swap. Keep the rule count small, because every rule removes valid arrangements.
- Set the budget in the group chat before the draw, not after. The generator does not collect or show a budget, so the number lives with the organiser.
- Draw once and print the slips, or copy the pairs and send each person only their own line. The full list on one screen spoils the surprise.
- Keep a record of the pairs until the exchange is over. There is no account here, so nothing is stored for you to look up later.
Where the names go
Nowhere. The names sit in the text box in your browser, the draw runs in the same tab, and no request leaves the page. That also means the page works on a plane or in an office with the guest Wi-Fi blocked, as long as the page itself has loaded. Nothing is saved between visits: reload and the box is back to the sample list.
Frequently asked questions
Is this Secret Santa generator free?
Yes. The draw runs in your browser, there is no account, no email address and no payment. The daily word game on the rest of the site is also free.
How many people can one draw handle?
From 2 to 100. A two-person draw is fixed: each person draws the other. The page was tested with 100 names, where 200 draws took 5 milliseconds in total.
Can I stop two people from drawing each other?
Yes. Put one pair per line in the no-pair box, like "Ann - Ben". The rule applies both ways, and if the rules leave no valid arrangement the page says so instead of showing a broken draw.
Do I need to send invitation emails?
No. The page gives you the pairs; how you tell people is up to you. Copy the list into a group chat, or print the slips and hand them out folded.
Can someone draw their own name?
No. Every draw is checked against that, and in 30,200 test draws on 2026-11-13 the count of self-draws was zero. If an arrangement cannot avoid it under your rules, the page reports the conflict.
Does it work on a phone?
Yes. The form stacks at 390 pixels wide, the buttons stay tappable, and the print layout puts the pairs on one page when you print from a laptop.
More party tools on ZomZam
A gift exchange is a party game with wrapping paper. If the same group wants something to play after the presents, the charades generator and the pictionary word generator run timed rounds from the site's answer bank. For picking who goes first, the random category generator draws from 120 categories, and the rules page covers the daily round.
Sources read on 2026-11-13: drawnames.com, elfster.com. Draw measurements were produced by the page's own draw code with a fixed seed.