A little help goes a long way. Find a tool/

Generators

Secret Santa Pairing

Free Secret Santa generator: pair givers and receivers so nobody draws themselves, with optional exclusions for couples and a seed for reproducible draws. Runs entirely in your browser.

YOUR WORKSPACEFree to use. No sign-up.
—
Enter at least 2 participants, then press Generate pairings.

Deep dive guides

A LITTLE CONTEXT · 4 MIN READDerangements: The Math Behind Secret Santa

How secret santa pairing works

Paste the participant names, one per line, and the tool assigns every person someone to give a gift to. The result is a derangement: a shuffled mapping where nobody draws themselves, every person gives exactly one gift, and every person receives exactly one. Two-person groups get an obvious forced swap; larger groups get a genuinely random pairing rather than a predictable rotation of the name list.

The optional exclusions list handles real-world constraints — couples, flatmates, close relatives who should not draw each other. Write one pair per line like "Alice, Bob" and the exclusion applies in both directions: Alice cannot draw Bob and Bob cannot draw Alice. A backtracking search then finds an assignment satisfying every constraint at once, or reports clearly when the exclusions make a valid draw impossible — for example, two participants who are excluded from each other in a two-person exchange.

Enter a seed to make the draw reproducible: the same names, exclusions and seed always produce the same assignments, which is useful when the organizer needs to re-check who draws whom or re-send a lost message. Without a seed, every draw is fresh. Copy the results as a plain list and message each participant privately, or read them out with each giver's receiver kept secret — nothing is uploaded anywhere, so the draw stays between you and your browser.

Frequently asked questions

What is a derangement, in plain terms?
A shuffle of the group where no person lands in their own spot — nobody draws themselves. The number of possible derangements grows fast: for 4 people there are 9, for 10 people there are 1,334,961. That count is roughly n!/e, which is why a random shuffle has about a 1-in-3 (exactly e-fraction) chance... more precisely, the probability a random permutation is a valid draw approaches 1 − 1/e ≈ 63%.
Can two people be assigned to each other?
Yes — in a random draw, mutual pairs (Alice gives to Bob, Bob gives to Alice) happen regularly and are perfectly legal. If your group treats mutual pairs as a giveaway (couples obviously shopping together), add both names as an exclusion line and the generator will avoid pairing them in either direction.
What if the exclusions make a draw impossible?
The tool says so instead of returning a broken assignment. The classic impossible case is two participants with a mutual exclusion in a two-person group; with three people, excluding both other members of the group for one person also dead-ends. Loosen an exclusion or add participants and a valid draw will exist.
What does the seed do?
It makes the randomness reproducible. The same names, the same exclusions and the same seed always generate the identical assignment set, so an organizer can regenerate and verify a draw weeks later. Leave the seed blank for a fresh, unrepeatable draw every time.
How do I distribute the results?
Copy the assignment list, then tell each person only their own receiver — by direct message, a folded note, or one-at-a-time whispers. Keep the full list to the organizer only; if participants see the whole mapping, the "secret" part of Secret Santa is gone. Nothing you enter leaves your browser.