Secret Santa Generator

Runs locallyInput stays in your browserFree, no sign-up

Secret Santa is the classic Christmas gift exchange: everyone draws one name, keeps it secret, and buys a gift for that person. The reveal happens on exchange day. Mathematically, a valid draw is a derangement — a permutation of n people in which nobody draws themselves. Drawing names from a hat works until real life gets in the way: couples draw each other, someone draws themselves, or the same pairing repeats two years in a row. An online generator earns its keep by making the draw both random and rule-compliant: the algorithm guarantees everyone draws exactly one person, never themselves, while honoring every exclusion rule you set — computed in milliseconds.

Running an exchange takes five steps. First, paste the participant list — one name per line, at least three people; duplicate names get numbered automatically (two Taylors become Taylor and Taylor (2)). Second, add a budget and an exchange date if you like; both show up on each person’s reveal page so you don’t have to announce them separately. Third, set exclusion rules: pick pairs that must not draw each other — couples, family members, or last year’s repeat pairings. Fourth, hit Start draw and the algorithm computes a valid pairing in milliseconds. Fifth, copy each person’s secret reveal link and send it to them one by one — opening the link shows only that person’s match, nobody else’s. If everyone is in the same room, use pass-the-phone mode instead: hand the phone around, each person taps their own name to reveal, taps Hide, and passes it on.

Exclusion rules are what separate this tool from pulling names out of a hat. Scenario one: couples drawing each other. Two partners already share a holiday — drawing each other removes one surprise from the exchange and can saddle one of them with buying two gifts. Scenario two: repeat pairings. Sam drew Alex last year and draws Alex again this year; the magic fades when you shop for the same person twice in a row. Add both kinds of pairs to the exclusion list and the draw guarantees no self-draws and no excluded pairings. If the rules leave no valid pairing (say, three out of four people mutually exclude each other), the tool tells you plainly that no valid pairing exists instead of silently handing you a rule-breaking result — trim the list and draw again.

Gift ideas by budget, since the budget question always comes up. Under $10: fun socks, a scented candle, a tiny desk plant, a custom keychain, mulled-wine spice sachets, a pocket notebook — right for student groups and casual office swaps. Under $25: a good-looking insulated bottle, a mini Bluetooth speaker, a 1,000-piece jigsaw (anything smaller is over too fast), a diffuser-humidifier, an entry-level board game like Catan, a box of artisan chocolate — the most common office Secret Santa bracket. Under $50: an entry-level film camera, a mechanical-keyboard switch tester, a designer fragrance discovery set, a quality wool scarf, a Switch game cartridge, a crowdfunded desk gadget — better for close friends. These are inspiration only; version one carries no buy links. Links may be considered later, once the page shows indexing and traffic signals.

Edge cases, stated plainly. First, the minimum is three people: two people can only draw each other, so the tool refuses lists shorter than three. Second, exclusion rules can make a draw impossible — with three people, if Alex can’t draw Blake and can’t draw Casey either, Alex has nobody left. The page says so explicitly; remove some rules and re-draw. Third, the secrecy level of the links: each secret link encodes its pairing with obfuscation, not encryption — anyone holding the link can decode it in a browser, so send links one-to-one, never into a group chat. By the same token the organizer holds every link, and the tool deliberately does not hide pairings from the organizer; secrecy depends on the organizer only forwarding each link to its person. Fourth, privacy: names, pairings, link generation and decoding all happen locally in your browser — nothing touches a server, no sign-up, no email. Closing the page wipes the data, so copy the links (Copy all links) before you leave.

How to use

  1. Paste or type the name list above, one name per line (at least 3); use Load example to see the format.
  2. Optionally add a budget and an exchange date — both appear on each person’s reveal page.
  3. In the exclusion section, pick pairs that must not draw each other (couples, family) and add them.
  4. Hit Start draw. If it reports no valid pairing, remove some exclusions and draw again.
  5. Send each secret link privately to its person; for in-person groups, use pass-the-phone mode.

FAQ

How many people do you need for Secret Santa?

At least three. Two people can only draw each other, so the tool refuses shorter lists. Bigger is merrier — a dozen or two coworkers is the classic size, and the algorithm handles hundred-person lists instantly.

It says no valid pairing exists. What now?

Your exclusion rules are too tight — someone has no legal person left to draw. Go back to the exclusion list and drop a few rules (soft ones like last-year repeats before hard ones like couples), then re-draw.

Someone lost their secret link. How do I resend it?

As long as the draw result page is still open, the organizer can copy that person’s link again and resend it — the link carries the full pairing, no account needed. If the page is closed and the links weren’t saved, you’ll have to draw again, so use Copy all links right after drawing.

Can the organizer see everyone’s pairing?

Yes — honestly. The tool does not hide pairings from the organizer: after the draw, the organizer holds every secret link and could open any of them. Secrecy relies on process, not software — the organizer forwards each link only to its person, no forwarding, no screenshots.

Are my names uploaded to a server?

No. Name entry, pairing computation, link generation and decoding all run locally in your browser; nothing touches a server, and there’s no sign-up or email involved. Closing the page wipes everything. One caveat: the pairing inside a secret link is obfuscated, not encrypted — anyone holding the link can decode it, so send links one-to-one, never into a group chat.