How it works
- Type everyone's names, one per line.
- Under exclusions, put people who shouldn't draw each other on one line, like Alex, Jordan for a couple. A line can hold a whole household.
- Press Draw names, then copy or send each person their own link.
- Each person opens their link and taps to see who they're buying for, with the budget and date.
Nobody draws themselves, and the organizer can play too: the page only shows the links, never the matches. Each match is scrambled inside its link (the part after #), so it's never sent to or stored on our server, and there are no emails or sign-ups. If someone loses their link, resend it from this page; if you closed the page, draw again and send everyone new links.
Planning gifts? The holiday budget calculator keeps the total in check, and the Christmas countdown tells you how long you have.
How the draw works
Type the names, one on each line, then press Draw names. The generator shuffles the names, then gives every person someone else to buy for, so nobody draws themselves. Each person gets a private link. When they open it, they tap to see their match, the budget and the date. The organizer can take part too, because the page shows only the links and not the matches.
You need at least three names, and two people cannot have the same name, so add a last initial where needed. The draw uses your browser's secure random number generator for the shuffle.
Why drawing from a hat can fail
With no rules, a random draw has to avoid everyone picking their own name, and for groups of five or more about 37% of random shuffles work. That means you would redo the draw about two times in three. The number of valid draws is called the derangements, and the chart below shows how it grows.
| People | All possible orders | Draws where no one picks themselves | Share that work |
|---|---|---|---|
| 3 | 6 | 2 | 33.3% |
| 4 | 24 | 9 | 37.5% |
| 5 | 120 | 44 | 36.7% |
| 6 | 720 | 265 | 36.8% |
| 7 | 5,040 | 1,854 | 36.8% |
| 8 | 40,320 | 14,833 | 36.8% |
The generator works around this by building the draw one person at a time and backing up when it hits a dead end, so you always get a valid result when one exists.
Keeping couples apart
Put people who should not draw each other on one line under exclusions, separated by commas, such as Alex, Jordan. A line can hold a whole household, and the draw never pairs two people from the same line. The calculator reports how many exclusion groups it respected.
| People | Couples | Valid draws with no exclusions | Valid draws with couples excluded |
|---|---|---|---|
| 4 | 2 | 9 | 4 |
| 6 | 3 | 265 | 80 |
| 8 | 4 | 14,833 | 4,752 |
When the exclusions are too tight
Exclusions shrink the number of valid draws. Four people in two couples have only 4 valid draws, and six people in three couples have 80 out of 265. If no valid draw exists, the generator tells you to remove an exclusion and try again.
Without an exclusion, two people can draw each other. If you do not want swaps, put the pair on an exclusion line, and keep the group large enough for the rules.
How the private links work
Each person's match is scrambled inside the part of their link that follows the # sign. A browser never sends that part to a web server, so the match is not sent to or stored on ours, and there are no emails or accounts. If someone loses their link, resend it from the page. If you closed the page, draw again and send everyone new links.
The scrambling keeps casual peeking out, but it is not strong encryption: it uses a fixed key in the page, so someone with technical skill could decode a link that was not meant for them. Send each link privately, and do not post them all in a group chat.
Setting a budget and a date
Add a budget and an exchange date and they appear on each person's page, which saves an email. A limit of $20 to $30 is common for office groups, and families often pick a lower one for children. Be clear whether taxes and shipping count toward the limit.
Pick a date a week or so before the event so that online orders can arrive. For a countdown, the days until calculator works for Christmas or any other date.
Making it fun
Ask each person to share two or three interests or a short wish list when they sign up, so that their Santa has something to go on. Keep a rule against anything that embarrasses. Some groups add a small prize for the best guess at who gave a gift.
For a themed version, such as books, homemade gifts or experiences, mention the theme in the group name.
Running a remote exchange
The links work well for friends and teams in different places, since each person can use their own phone or computer. Send them by text or email, set a shipping deadline and ask people to confirm when a parcel arrives.
To split a large group into teams first, use the random group generator, and run one draw per team.
If someone drops out
A late change means a new draw, because a match tied to the person who left would leave someone without a gift. Add or remove the name, draw again and send everyone new links, and tell people to ignore the old ones.
To keep the holiday spending sensible, the holiday budget calculator adds gifts, food and travel.
Etiquette and gift ideas
Treat the match as private until the exchange. Do not ask others who they drew, and do not hint. Stay inside the budget, and if a gift would cost more than the limit, add a handwritten note instead of more money. Gifts that work for most people include food, a good mug, a book, a plant and a small game.
Wrap the gift and put a name tag on it, since the Santa may be a surprise. At the exchange, let each person guess before the gift is opened.
More questions people ask
How do I do Secret Santa online for free?
Enter the names here, press Draw names and send each person their private link by text or email. Opening the link shows only their match. No accounts or emails are needed.
Can I stop couples from drawing each other?
Yes. Put them on one line under exclusions, separated by commas. The draw never pairs people on the same line.
Can the organizer play too?
Yes. The page never shows the matches unless you choose show me all matches, so you can draw and play at the same time.
What if the draw is impossible?
The generator says so and asks you to remove an exclusion. Fewer exclusions leave more valid draws.
Worked examples on this page were calculated with the same formulas as the calculator above. Written and last reviewed by Shaun Longbottom, November 2026.
Frequently asked questions
How do I do Secret Santa online for free?
Enter the names here, press Draw names and send each person their private link by text or email. Opening the link shows only their match. No accounts or emails needed.
Can I stop couples from drawing each other?
Yes. Put them on one line under exclusions, separated by commas. The draw never pairs people on the same line.
Can the organizer play too?
Yes. The page never shows the matches unless you choose "show me all matches", so you can draw and play at the same time.
Was this calculator helpful?