Secret Santa generator
Draw names, keep couples apart, reveal privately
Type everyone's name and press Draw names. Then reveal each match on this screen, or send each person their own link.
Your Secret Santa
This link is for . Make sure nobody else is looking, then press the button.
Ready to draw
Type the names, then press Draw names. Nothing is sent anywhere and no emails are sent.
Reveal one person at a time, or copy each person's private link and send it to them.
How it is drawn: your browser's crypto.getRandomValues supplies random 32-bit numbers, and any value that would make one result more likely than another is thrown away and drawn again, so every allowed draw is equally likely; draws where someone gets themselves or an excluded person are thrown away and drawn again.
Pass the phone
How the draw works
The page shuffles who gives to whom with your browser's crypto.getRandomValues. If anyone ends up with themselves, or with someone they must not draw, the whole shuffle is thrown away and done again. Starting over each time, rather than patching the problem, keeps every allowed draw equally likely. Before drawing, the page checks that your rules leave at least one possible draw, and says so if they do not.
Small groups
With two people, there is only one possible draw: each buys for the other. With three, there are only two possible draws, both a simple loop, so each person can work out the whole draw from their own name. Swaps are most fun with four or more.
Keeping couples apart
In the second box, put people who should not draw each other on one line, such as "Alex and Sam". Commas also work, and a line can hold a whole household. The rule works both ways.
Telling everyone
Nothing is emailed and nothing leaves your browser. There are two ways to share the result:
- Pass the phone. Press each person's Show button while only they are looking, then Hide.
- Private links. Copy each person's link and send it to them. The name is packed into the link after a # sign, so opening it shows that person's match on this page. Links are scrambled so the name is not readable at a glance, but they are not encrypted: whoever makes or opens a link can see the match.
To play too, the organizer should use links and send them without opening them. Press Draw names again before sending anything if you want a fresh draw.