Gift Exchange

Gift Exchange is a free Secret Santa generator. Enter everyone’s names and press "Draw names" to decide who gives a gift to whom — nobody ever draws themselves. Send each person a private link, or reveal every match together at a party.

How to match
How to reveal

Participants (0)

No one added yet. Add at least 3 names.

Confirm

What is Gift Exchange?

Enter the participants’ names and press "Draw names" to get matches where everyone receives a gift from someone other than themselves.
Choose a shuffle, where gifts go around the whole group, or swap in pairs, where two people trade with each other.
Tell each person their match with a private link, or show everyone’s result together on one screen!

🎅 Secret Santa: tell each person only who they give to

In Secret Santa, each person is told privately who they will give a gift to, then picks a present with that person in mind. Set "How to reveal" to "Send each person a private link": the organizer’s screen never shows the matches, only a list of private links, one per participant.

Each private link contains just two names: the person it is for and the person they give a gift to. When opened, it first shows only "This link is for A"; pressing "Show" reveals "You’re giving a gift to C". No link contains anyone else’s match. In a small group, though, you can work out the rest from your own (with three people, your match settles everyone’s; in a pair of two, you also learn that your partner gives to you).

🎁 Revealing everyone at once at a party

In Japan, a common way to exchange gifts is for everyone to bring a present and draw on the spot to decide whose present each person takes home. Set "How to reveal" to "Everyone sees it together" and gather around one phone or TV. Matches are listed from the receiving side in large text, like "A ← C’s gift".

With "Shuffle", each person receives one other person’s gift, and two people may end up receiving each other’s gifts. With "Swap in pairs", people are paired up and trade within each pair. With an odd number, one group of three is formed, and each of the three receives from another member of the group (for example, B gives to C, C to E, and E to B).

You can also turn the result into a share link for anyone who is not there or wants to look back at it later.

When to use this Secret Santa generator

✨ What makes this Secret Santa generator different

📖 How to Use

  1. Enter the participants’ names (3 to 60 people). With "Bulk entry", you can paste one name per line.
  2. Under "How to match", choose "Shuffle" or "Swap in pairs".
  3. Under "How to reveal", choose "Send each person a private link" or "Everyone sees it together".
  4. If needed, turn on "Set exclusions (couples, family, etc.)", select two people, and press "Exclude these 2 from each other".
  5. Press "Draw names", and the result (or the list of private links) appears at the top.

⚖️ How nobody ends up with their own gift

Gift Exchange first shuffles everyone into a random order to make a set of matches. If anyone would receive their own gift, or two excluded people would be matched, it throws the whole set away and starts over. It repeats this until every condition is met, so every set of matches that meets the conditions is equally likely.

Methods that pick “someone left who isn’t you” one person at a time leave the last people with fewer choices, which makes some matches more likely than others. Starting over avoids that bias. For a shuffle with no exclusions, it takes fewer than three tries on average.

The shuffling uses the random numbers your browser provides for cryptography (the Web Crypto API), drawn in a way that avoids the small bias that comes from taking remainders.

If there are so many exclusions that no matches are possible, it says so, and names the person causing it when that can be identified. If there are so many exclusions that starting over rarely succeeds, it counts every set of matches that fits and picks one of them with equal probability. If there are too many to count and none was found, it asks you to try again rather than showing a biased result.

🚫 When to use exclusions

🔗 How to send private links

⚠️ What private links cannot prevent

🔗 Related tools

❓ FAQ

Can anyone draw their own name in this Secret Santa generator?
No. Whether you shuffle or swap in pairs, the result always has everyone receiving a gift from someone other than themselves.
What happens with an odd number of people when swapping in pairs?
People are paired up, and the last three form one group of three. Each of the three receives from another member of the group (for example, B gives to C, C to E, and E to B). With exactly three people, there is a single group of three.
If I redraw after sending the private links, what happens to the links?
Links you have sent cannot be revoked, and they keep showing the old matches. To match a new result, you would need to send everyone new links. If anyone has already bought a gift, don’t redraw. After you have created private links, redrawing or changing the settings asks you to confirm first.
Can the organizer take part too?
Yes. When you share by private link, the organizer’s screen never shows the matches. However, opening someone else’s link reveals who that person gives to, so open only your own link.
Are the names I enter sent anywhere?
They are never sent to our server. The draw happens in your browser, and the participants, how to match, how to reveal and the exclusions are saved only in your browser on this device (local storage). The draw result is kept on this device only until you close the tab (session storage) and is gone once the tab is closed (if you reopen a closed tab or duplicate the tab with your browser, the browser may bring it back). Share links and private links carry the names after the "#" in the URL. That part is not sent to our server, but anyone who receives the link can see it. Microsoft Clarity (our analytics) is not loaded on a page opened from a private link. If you paste the link into the address bar of a tab where this site is already open, the page reloads itself before showing the link.
Can anyone who opens a private link see what is inside?
Yes. A private link does not verify who opens it, and the "Show" button only keeps the name from being seen by accident. Give each link directly to its person and ask them not to forward it.
Can I avoid getting the same match as last year?
Yes. Past results are not saved, so add last year’s pairs as exclusions.
How many people can take part?
From 3 to 60 people. Each name can be up to 50 characters, and you can add up to 30 exclusions.