Secret Santa Generator
Type the names, tap Draw names, pass the phone around. Everyone gets exactly one
person, nobody can draw themselves — guaranteed by the algorithm, not by re-rolling
— and each assignment stays hidden until its owner taps to reveal it. No emails, no accounts, and
the list never leaves the phone.
Why "just shuffle the names" fails more often than it works
The paper-hat method — shuffle names, deal one to each person — has a famous flaw: someone draws
themselves and the whole hat gets redone. How often? For a random shuffle of n names, the
chance that at least one person self-draws is 1 − !n/n!, where !n counts the
derangements (shuffles with no self-draws). The numbers below are computed exactly from
that formula:
The failure rate settles near 63.2% (it converges to 1 − 1/e) — meaning the office hat draw needs,
on average, nearly three attempts. This generator skips the problem entirely: it builds the
assignment as a single cycle through everyone (Sattolo's algorithm), so a self-draw is impossible on
the first and only attempt.
Worked example: six colleagues, one phone
The pre-loaded demo has six names. One possible draw is the cycle Maya → Leo → Sam → Noor → Priya →
Daniel → Maya: six assignments, no self-draws, and notice there is also no pair who simply swap with
each other — a side effect of the cycle construction that people consistently prefer, because mutual
"you got me, I got you" draws feel like a failed shuffle. In the room it looks like this: the
organizer taps Draw, hands the phone to Maya; she taps her row, sees her recipient, taps again to
hide, passes to Leo; ninety seconds later all six know their person and the screen shows six hidden
rows.
What this deliberately doesn't do
- No emails or links to each participant. Email-based tools need everyone's address and a working spam filter; passing one phone needs neither. The trade-off is honest: there is no recovery copy if everyone forgets — see the FAQ for mitigations.
- No exclusion rules (couples, managers). Supporting them properly requires a different algorithm; pretending to support them badly would break the guarantee this page is named after.
- No budget tracking, wish lists or accounts. It draws names. Your group chat does the rest.
After the draw
Splitting the same crowd into party-game teams afterwards is the day job of the
random team generator — paste the same six names and make trivia pairs. Office
parties tend to follow with work project group draws on Monday,
and if the gift exchange is for a class, the
classroom group generator keeps the same roster bookmarked
via share link.