Free to use, no account

Secret Santa generator

Enter each person on a new line. Add exclusions if needed, then reveal one match at a time on this device.

Example: Alex: Sam, Jo means Alex cannot draw Sam or Jo.

Names and pairings stay on this device.

How do I make a Secret Santa draw?

Add 2 to 30 unique names, one per line. To block a match, enter “Giver: Recipient” on a new line; separate several recipients with commas. The tool checks whether a valid draw exists. Keep the screen private while revealing names one at a time.

Guide

Using Secret Santa generator

The Secret Santa generator draws gift pairs for a group so that everyone gives to one person and receives from one person. Nobody draws themselves, and you can block certain pairs, such as partners or last year's match. The draw happens in your browser and shows one pairing at a time on the screen, so the organiser can pass the device around. No emails are sent and no server is involved, which means you have to share the results yourself.

How to use it

  1. Type each person's name on its own line in the Names box. Names must be different from each other, ignoring capital letters.
  2. Optional: in the blocked matches box write one rule per line as Giver: Recipient, with several recipients separated by commas. For example, Alex: Sam, Jo means Alex cannot draw Sam or Jo.
  3. Press Make the draw. If a valid draw exists, the page says it is ready. If not, it asks you to check the names and rules.
  4. Press Reveal first pair and show the screen to the first giver only. Press Next pair for each following person.
  5. After the last pair, the full list appears and Copy result and Download result become available. Keep that list private if the gifts are meant to be a surprise.

Worked examples

Three people, one blocked match

You enter
Names
Alex; Sam; Jo
Blocked matches
Alex: Sam
You get
Pairs
Alex → Jo; Sam → Alex; Jo → Sam

Alex may not draw Sam or Alex, so Alex must give to Jo. That leaves Sam and Jo to cover Alex and Sam, and Jo cannot draw herself. Only one valid draw exists, so the result is the same each time.

Run through the tool’s own code.

Two people and a rule that makes the draw impossible

You enter
Names
Alex; Sam
Blocked matches
Alex: Sam
You get
Message
Use 2 to 30 unique names. Check each blocked match and make sure a valid draw is possible.

With only two people, each must give to the other. Blocking Alex from drawing Sam leaves no valid pairing, so the tool shows an error instead of a result.

Run through the tool’s own code.

Names that differ only by letter case

You enter
Names
Alex; alex; Sam
You get
Message
Use 2 to 30 unique names. Check each blocked match and make sure a valid draw is possible.

The tool compares names without caring about capitals, so Alex and alex count as the same person. Give them different spellings, such as Alex B. and Alex T.

Run through the tool’s own code.

A rule works in one direction only

You enter
Names
A; B; C
Blocked matches
A: B
You get
A gives to
C every time
B gives to
A every time
C gives to
B every time

The line only stops A from drawing B. B is still allowed to give to A. If you want to stop both directions, write two lines.

Run through the tool’s own code.

When it helps

  • Run a gift exchange for a family, friend group, classroom or office team without anyone pulling names from a hat.
  • Keep couples or housemates from drawing each other by blocking those pairs.
  • Avoid repeating last year's matches by listing them as blocked pairs.
  • Hold a draw when people are in the same room and can pass one phone or laptop around.
  • Create a quick pairing for any other gift or task swap, such as a book swap or a cooking exchange.

Limits to keep in mind

  • Names must be unique ignoring capital letters, at most 80 characters each, with at least 2 people. The code accepts up to 500, but the page's own help text says 30; keep to 30 or fewer unless you have tested a larger group.
  • Each person can have only one rules line, a recipient name cannot contain a comma, and a giver name cannot contain a colon. A rule that names someone not on the list causes an error.
  • If the rules leave no valid draw, you only get a general error message and not the reason. Remove rules one by one to find the problem.
  • Two people may be paired with each other (A gives to B and B gives to A). The tool does not force one big circle.
  • The tool does not send emails or texts, and the finished list shows everyone's match on screen, so the organiser will see all of them.

Tips

  • Do a test run with a few made-up names before the real draw so you know how the reveal buttons work.
  • Let each person look at the screen alone, and press Next pair before handing the device to the next giver.
  • Write blocked pairs in both directions when you want a couple to be kept apart, for example Alex: Sam and Sam: Alex.
  • Download or copy the list only if you need a record, and keep that file away from the group.

Frequently asked questions

How does the Secret Santa generator pick pairs?

It shuffles the people, then assigns each giver a recipient who is not blocked and not themselves, fixing earlier choices when it gets stuck. The shuffling uses the browser's secure random number source. If no valid set of pairs exists, it reports an error.

Can anyone draw themselves?

No. The tool adds a self-match to each person's blocked list automatically. You never need to write that rule yourself, and it also means a single person cannot be drawn, so you need at least two names.

How do I stop partners from drawing each other?

Add two lines in the blocked matches box, one for each direction, such as Alex: Sam and Sam: Alex. A line only blocks the giver on the left from the recipients on the right, so a single line does not block the reverse.

Why do I get an error when I press Make the draw?

The most common causes are fewer than two names, two names that match ignoring capitals, a blocked line with no colon, a rule for someone who is not listed, or rules so strict that no pairing works. Fix them and try again.

Does it email the results to everyone?

No. Nothing is sent. The names and pairs stay on the device and in your browser session. You reveal each match on the screen yourself and pass the device on, or share the final list through your own channel.

Can I save or print the result?

Once every pair has been revealed, you can copy the list as text or download it as a file called secret-santa.txt. The buttons stay disabled until the last pair has been shown, so the organiser cannot export early.

Will the same draw come out each time?

Usually not. The shuffle is random each time you press the button. The exception is a setup with only one possible answer, such as the three-person example in this page, which always gives the same pairs.

Is the draw perfectly fair?

The tool uses a secure random source and the order of names does not decide anything. It does not claim that every valid set of pairs is equally likely once blocked matches are used. For a friendly gift swap nobody can predict the outcome, which is what matters.

Can two people end up giving to each other?

Yes. Unless you block it, A can give to B while B gives to A. If you do not want these swaps, add blocked lines for the pairs concerned and test the draw until you are happy with the shape.

How do I make a Secret Santa draw?

Add 2 to 30 unique names, one per line. To block a match, enter “Giver: Recipient” on a new line; separate several recipients with commas. The tool checks whether a valid draw exists. Keep the screen private while revealing names one at a time.

Are names uploaded or saved?

No. Names and matches stay in this browser session. They are not uploaded. Use the download option only after every match has been revealed.