This Secret Santa generator draws names for a gift exchange in your browser. Type one person per line, list pairs who should not draw each other, and press Draw names. Nobody gets themselves and every exclusion is respected. Then share each match privately: pass the phone, send private links or print fold-over slips.
How to use the Secret Santa Generator
- List the participantsType one name per line. You can add an email after a comma so you know where to send each link; only you see it.
- Add exclusionsWrite "Alex + Sam" so a couple cannot draw each other, or "Mei > Diego" if only Mei should not draw Diego. Set a budget, date and note if you like.
- Draw namesPress Draw names. If the exclusions make a fair draw impossible, the tool tells you which rule to loosen.
- Reveal in privatePass the phone so each person taps their own name, copy a private link for each person, or print slips to fold and hand out.
How this Secret Santa generator draws names
A fair Secret Santa draw needs two things: nobody may draw their own name, and everyone must be drawn exactly once. Mathematicians call such a shuffle a derangement. This Secret Santa generator shuffles the list with your browser's cryptographic random number generator and keeps only a shuffle that follows every rule, so each valid draw is equally likely.
Exclusions are checked the same way. "Alex + Sam" stops both of them from drawing the other, which suits couples, housemates or people who already swap gifts. You can list a whole household on one line, such as "Ana + Ben + Cleo". Before drawing, the tool checks whether your rules leave any possible draw at all. If someone is blocked from everyone, or too many people are blocked from the same few names, you see a plain message instead of a broken result.
Three private ways to reveal the matches
- Pass the phone. Great at a party or family dinner. Each person taps their own name, reads their match and taps Hide and pass on. Names that have already been looked at are marked.
- Private links. Each person gets a link that opens this page and shows only their match. The match is stored in the part of the link after the # sign, which browsers do not send to any server. It is base64-encoded, not encrypted, so it stops a quick peek but not a determined snoop. We never send emails: the Email button opens your own mail app with the link filled in.
- Printable slips. Print a sheet of slips, cut them out and fold each one so the match is hidden. Hand each person the slip with their name on top.
If you are the organizer and also taking part, use links or slips so you do not see everyone's match. The Full list tab is there as a backup, hidden until you open it. Need inspiration once names are drawn? Try the gift idea generator.
Frequently asked questions
Can a couple be stopped from drawing each other?
Yes. Add a line such as "Alex + Sam" in the exclusions box and neither can draw the other. Use "Mei > Diego" for a one-way rule, or list a whole household on one line.
Does the Secret Santa generator send emails?
No. Nothing is sent by this site. You can copy each private link, or use the Email button, which opens your own mail app with the link ready for you to send.
Are the private links safe?
The match sits after the # in the link, which browsers do not send to a server, so we never see it. It is only base64-encoded, so someone who decodes the link on purpose could read it.
What happens if my exclusions make a draw impossible?
The tool checks first and tells you, for example when one person is excluded from everyone. Remove or loosen one exclusion and draw again.
Is my draw saved?
The last draw is kept in this browser's local storage so a refresh does not lose it. It never leaves your device, and Clear saved draw removes it.
Last updated 28 November 2026 by the TheTechFolk team.