Secret Santa Generator
Free Secret Santa generator with exclusions, budget and private reveal links. Everything runs in your browser and nothing is stored.
π Runs entirely in your browser β nothing is uploadedA Secret Santa draw nobody can spoil
Secret Santa is a gift exchange where every participant buys a present for one other person, chosen at random and kept secret until the big day. The traditional method of pulling names out of a hat breaks down as soon as there are rules: couples who should not draw each other, a spending limit, or a team spread across several offices. This generator handles those rules for you and gives every participant a private link that reveals only their own match.
The draw is a true derangement, which means nobody can draw themselves and every person gives exactly one gift and receives exactly one. Your exclusions are respected in both directions, and the search uses backtracking with random choices drawn from the browser's secure random generator, so the pairings are unpredictable. If your rules make a draw impossible, the tool says so rather than quietly breaking a rule.
How the private links work without a server
After the draw, each person gets a link to this same page. The result is encoded into the part of the address after the # sign, known as the fragment. Browsers never send the fragment to a web server, so your names are not logged, stored or uploaded anywhere. When a participant opens their link, the page decodes the fragment locally and shows a single message: "You are buying a gift for" followed by the name, plus the budget, date and note you entered.
The fragment is lightly obfuscated so that a name is not readable in a chat preview or over someone's shoulder. This is not strong encryption. If someone has the full link they can decode it, so send each link privately and only to its owner. The organizer page itself never prints the pairings, which lets the organizer join the exchange like everyone else.
Tips for a smooth gift exchange
Agree a budget before you draw and type it into the budget field so it appears on every reveal. Add the exchange date or location, and a note such as "handmade gifts only" or "wishlist in the group chat". Use exclusions for partners, close family or anyone who already shares gifts, and tick the option that avoids two-way swaps if you want longer chains. If someone drops out, simply redraw with the updated list and send out fresh links. You can also print cards, cut them out and hand them over face down, which works well for in-person events where not everyone has a phone handy.
How to use
- Add participantsType one name per line. Duplicate names are ignored so everyone appears once.
- Add exclusionsList pairs who should not draw each other, such as partners or housemates, one pair per line.
- Draw the namesOptionally add a budget, date and note, then press Draw names to get a valid set of pairings.
- Share private linksCopy each person's private link and send it to them, or print cards to hand out face down.