Skip to content

Secret Santa Generator

Type the names, hit draw and send each person their own private link. Each link only shows its owner who they buy for, so even you, the organizer, stay in the dark.

6 people
Exclusions and settings
One group per line, like "Emma - Liam" or "Ava, Noah, Ethan". Nobody on the same line will draw each other (couples, siblings, roommates).
Possible valid matchings–
People–
Pairs kept apart–

Updated: December 1, 2026Sources and method ↓

How does this Secret Santa generator work?

It's December, and someone in the group chat finally asks: "Are we doing Secret Santa this year?" The old way means names on scraps of paper, a hat, and at least one person who pulls out their own name so everyone has to start over. Or you all have to be in the same room. Here the whole thing happens on your phone, and nobody needs to meet up.

  1. Type the names: One person per line. If two people share a name, add a last initial ("Emma K.", "Emma T.").
  2. Set the budget and the date: Both show up on everyone's card, so nobody has to ask "wait, how much are we spending?"
  3. Keep people apart if you need to: Don't want partners, siblings or roommates to draw each other? Write "Emma - Liam" under exclusions.
  4. Draw: Every person gets a separate private link.
  5. Send the links: Text, email or message each person their own link. When they open it, they see a gift box. One tap and it reveals who they're buying for.

Can the organizer see who got who?

No, and that's the best part. The matches are never saved on a server. Each person's match is tucked inside their own link. Your screen only shows names and "Copy link" buttons, so the pairings aren't written anywhere you can see. That means the organizer can join in too without spoiling their own surprise.

There's one rule: don't open other people's links. Whoever opens a link sees who its owner is buying for. That's why each card says "This link is only for Emma." To be honest about it, this is scrambling, not encryption. The match is mixed with a random key so you can't read it by glancing at the link, but a curious person with some tech skills could decode it. The goal is to protect the surprise, not to guard a bank vault.

Example: A group of 6 has 6! = 720 ways to hand out names, and 265 of them leave nobody with their own name. Draw from a hat and the chance that at least one person gets themselves is 1 βˆ’ 265/720, about 63.2%. With this generator it's zero.

How do you keep the draw fair?

The matching uses your browser's cryptographic random number generator (crypto.getRandomValues). The method is simple and solid: shuffle all the names at random, and if the result breaks a rule (someone got themselves, or two people you kept apart got each other), throw it away and shuffle again. Because bad results are simply rejected, every matching that follows the rules is exactly as likely as any other. If your rules are very tight, the tool switches to a smarter search, and if no valid matching exists at all, it tells you.

The "no gift swaps" setting

In small groups, two people often end up buying for each other: Emma gets Liam and Liam gets Emma. Some groups don't like that, because it feels like a plain swap. Tick "No gift swaps" and it can't happen.

Example: 4 people have 9 matchings where nobody gets themselves. In 3 of those, the group splits into two swapping pairs (Emma and Liam buy for each other, and so do Olivia and Noah). With "No gift swaps" on, you're left with the 6 matchings that form one big loop through all four people.

Why are the budget and date on the card?

Everyone sees the spending limit and the exchange day right on their own card. You don't have to send a separate reminder, and everyone shops with the same information. Leave the date empty and it won't appear. The budget field takes any short note, like "$20 to $30", "Β£15" or "homemade only".

Secret Santa traditions and tips

The name changes depending on where you live. Secret Santa is the usual name in the US and the UK. In Australia and Ireland you'll often hear Kris Kringle, and around Philadelphia some families call it a Pollyanna. A White Elephant or Yankee Swap is a different game: everyone brings one gift and people can "steal" from each other, so nobody is assigned a person.

  • Pick a budget and stick to it: Without a limit, one person brings perfume and another brings a keychain, and it gets awkward. Round numbers like $20, $25 or Β£10 are easy to remember.
  • Announce the draw code: Every card shows a 4-character code. Post "our code is K7QX" in the group chat so nobody gets confused by an old link.
  • Send links one by one: Don't drop all the links into the shared chat, or everyone can open everyone else's. A green check appears next to each link you copy, so you can see who you've missed.
  • Ask for wish lists: Have everyone post three things they like in the group chat. Givers get hints without anyone giving away who drew whom.
  • Make the reveal a game: Guessing who bought each gift is half the fun. Pick the opening order with the random order generator.

Need just one winner instead of a gift exchange? Try the random name picker or spin the wheel for party games. Counting down to the big day? There's a countdown timer too.

Frequently asked questions

How do you do Secret Santa online?
Type everyone's name, add a budget and a date, then hit "Draw names". Each person gets their own private link, and opening it shows who they're buying for.
Can the organizer see the Secret Santa results?
No. The matches aren't saved anywhere or shown to the organizer. Each match is hidden inside that person's own link, so as long as you don't open other people's links, you won't know.
Can someone draw themselves in Secret Santa?
Not here. The generator only accepts matchings where nobody gets their own name. You can also keep couples apart and block two people from buying for each other.
How do I stop couples from getting each other in Secret Santa?
Open "Exclusions and settings" and write one pair per line, like "Emma - Liam". Put three names on one line and all three are kept apart.
How much should you spend on Secret Santa?
Whatever the group agrees on. Many groups pick a round number like $20, $25 or Β£10 so it stays fair for everyone. Write it in the budget field and it appears on every card.
How many people do you need for Secret Santa?
At least 3, and this generator handles up to 200. With only two people, each one already knows who has them.

Sources: MDN Web Docs: Crypto.getRandomValues(); derangement numbers, OEIS A000166.

Last updated: December 1, 2026

Every draw uses your browser's cryptographic random number generator. The names you type never leave your device.

You might also need