Organising a Secret Santa gift exchange? Drawing names from a hat works, but someone always peeks — or draws their own name. This free Secret Santa generator draws the pairs for you: paste the names, press Draw names, and every person gets someone else to buy for. Nobody draws their own name, and you can shuffle again for a fresh draw. Everything runs in your browser and nothing is saved or sent anywhere.
How to use this Secret Santa generator
Type or paste the names into the box, one name per line — at least 3 names. Press Draw names and the pairs appear below: each line says who buys for whom. Press Shuffle again if you want a fresh draw, and press Copy pairs to copy the full list. To keep it secret, copy the list and send each person only their own line, instead of sharing the whole list with everyone.
How it works
The generator shuffles the names into a random order and pairs each person with the next name in the shuffled list. If anyone is paired with themselves, it shuffles again until nobody is — so a fair draw is guaranteed. Every person appears exactly once as a giver and exactly once as a receiver, which means the pairs form one full circle: A buys for B, B buys for C, and so on until the last person buys for A. Blank lines are ignored, and names that only differ by capital letters, such as Ali and ali, count as duplicates and are rejected so the pairs stay clear.
Worked example
Paste five names — Ayesha, Bilal, Fatima, Hassan and Maryam — and press Draw names. You might get: Ayesha buys for Hassan, Bilal buys for Maryam, Fatima buys for Ayesha, Hassan buys for Bilal, and Maryam buys for Fatima. Nobody buys for themselves, and every person is a giver once and a receiver once. Press Shuffle again and the pairs change, but those two rules always hold.
Frequently asked questions
How many people can join?
You need at least 3 names. There is no upper limit in the tool, but for a group of more than 30 people, paste the names in small batches and check the pairs carefully — long lists are harder to read on a phone screen.
Can two people just swap with each other?
The draw makes one full circle, so with 3 or more people nobody simply swaps with one other person — the pairs always run right round the group. With exactly 2 people a swap is the only possible draw, which is why the tool asks for at least 3 names.
Is the draw really random and fair?
Yes. The names are shuffled with a random order each time you press Draw names or Shuffle again, and any draw where someone gets their own name is thrown away and redrawn. Press Shuffle again as many times as you like — every draw is a fresh random shuffle.
Is my data private here?
Yes. The draw runs entirely in your browser. The names you type are never uploaded, stored or sent to any server, and they disappear when you reload the page.
What other tools can I use?
Try our Random Number Generator for picking a number or a winner, and the Split Bill Calculator for sharing party costs fairly. See all of them on our tools page, use our free calculators, or return to the homepage.
Disclaimer: This generator draws random pairs in your browser and keeps the list private to your device. It does not send the pairs to anyone — share each person's line with them yourself. No personal data is collected or saved.