What is a Secret Santa draw?
Secret Santa (called "amigo secreto" in Brazil and "amigo invisible" in Spanish-speaking countries) is a gift game for groups: everyone is assigned one other person to buy a present for, and nobody knows who will give to them. It is popular in offices, schools, families and friend groups because everyone gives and receives exactly one gift, with a single shared budget, instead of everybody buying for everybody.
The hard part is the draw itself. Names must not give to themselves, couples or siblings often should not draw each other, and the result has to stay secret from everyone, including the person running it. Pieces of paper in a hat work for small groups but fail when someone draws their own name and the whole round has to be redone. This online Secret Santa generator does the draw instantly and in your browser: you enter the names, optionally list the pairs that must not match, and press Draw. A valid assignment is always found when one exists; if none exists, the tool tells you why.
Privacy comes first. No name is sent to a server or stored. The draw uses your browser's cryptographic random number generator, and the results are shown one person at a time: pass the device around, each person picks their own name, reads who they drew, hides it and hands the device over. An organizer view that shows everything is available, with a warning that it spoils the surprise if you are playing too.
How to run a Secret Santa online
- Type the participants, one name per line. The page opens with five example names. You need at least 3 people and at most 200, and every name must be different (add an initial if two people share a name).
- Optionally, in "Pairs that must not draw each other", write one pair per line with a plus sign, such as
Ana + Bruno. The restriction works both ways and is useful for couples and siblings. Names must match the list exactly. - Decide whether to avoid mutual swaps: with that option on, if A gives to B then B does not give to A.
- Press Draw.
- Pass the device around. Each person chooses "Who are you?", presses "Show my draw", reads the name and presses "Hide and pass the device on". The names already seen are marked.
- If you need a new round with the same people, use "Draw again with the same people". To change the names, use "Change people".
- The organizer can see and copy the full list, for example to keep as a backup in case someone loses their result.
Examples
A basic draw
With Ana, Bruno, Carla, Diego and Elisa, one valid result is Ana gives to Elisa, Bruno to Diego, Carla to Bruno, Diego to Ana and Elisa to Carla. Every person appears exactly once as a giver and once as a receiver, and nobody has themselves. Each press of Draw can produce a different result.
A couple who must not match
Adding Ana + Bruno guarantees Ana never draws Bruno and Bruno never draws Ana. With five people there are still plenty of valid draws, so the restriction costs nothing.
An impossible draw
With only three people and the restriction Ana + Bruno, no valid draw exists: Ana can only give to Carla, and so can Bruno, but Carla can receive only one gift. The tool detects this and tells you to remove a pair or add people instead of looping forever.
Avoiding mutual swaps
With three people and "avoid mutual swaps" on, the only possible results are circles, such as Ana gives to Bruno, Bruno to Carla and Carla to Ana. With two people it is impossible to avoid a swap, which is why the minimum is three.
How many draws exist
With no restrictions, the number of valid assignments for n people is the number of derangements: 2 for 3 people, 9 for 4, 44 for 5 and 265 for 6. A random permutation is valid only about 37% of the time for large groups (1/e), which is why drawing from a hat so often needs a redo and the tool builds a valid assignment directly.
Common mistakes
- Duplicate names. Two "Ana" cannot be told apart. Write "Ana S." and "Ana P.".
- Typos in the pairs. The names in the restriction list must match the participants exactly; the error says on which line of the pairs the unknown name is.
- Too many restrictions. If each person excludes several others, an assignment may not exist. Remove pairs or add people.
- Opening the organizer view when you play. It shows who drew whom and spoils your own surprise.
- Leaving the result on the screen. Hide each result before passing the device on.
- Forgetting budget, date and wishlist. Agree on a spending limit and the exchange day before drawing.
Frequently asked questions
Is the draw really random?
Yes. It picks a random assignment among all the valid ones, using the browser's cryptographic random generator rather than a predictable one.
Is it a secret from the organizer too?
Only if the organizer does not open the organizer view. Each participant sees only their own result when the device is passed around.
Can couples be kept apart?
Yes, using pairs such as Ana + Bruno. You can add as many pairs as you want, one per line.
Does it send emails?
No. Nothing leaves your browser, which is why no email address is asked. Pass the device around, or send each person their result privately yourself.
Are there other ways to pick people or shuffle a list?
Yes. The randomizer draws names, numbers and shuffles lists, and the word search generator makes a puzzle you can print for the party.