What is secret santa generator?
Secret Santa is a gift exchange where each person is assigned someone else to buy a gift for, and keeps it secret until the day. A fair draw means nobody gets their own name and no one is left out.
This generator makes a random draw that follows your rules and can keep couples or housemates from drawing each other.
How to use the secret santa generator
- Type each participant on a new line.
- Add pairs who should not be matched, one pair per line.
- Press Draw and send each person their match privately.
How the secret santa generator works
The tool shuffles the names and checks that nobody draws themselves or an excluded person. If a shuffle breaks a rule, it tries again up to 2,000 times. If no draw exists, it tells you the rules are too strict. The draw uses the secure random generator of your browser.
Worked example
Common uses of the secret santa generator
- Office gift exchanges.
- Family holiday gifts.
- Classroom swaps.
- Friend groups and clubs.
- Online communities.
Tips and common mistakes
Organizers who take part will see the results. Draw on paper or ask a friend if you want to keep your own match secret.
Agree on a price limit before you draw.
Send each match privately by message.
Background: what to know before you rely on it
A valid Secret Santa assignment is a type of mathematical arrangement called a derangement, where no item stays in its own place. For a group of n people, roughly 37 percent of random shuffles are valid, which is why simple retry works well for most groups. Adding exclusion rules reduces the number of valid arrangements, and with very strict rules there may be none. The organizer should always keep the list private, since showing it to the group spoils the surprise.
Private, free and fast
This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all generators, or browse the full list of tools.
Field by field guide
- Names (one per line): Type or paste your text here. Use a new line for each entry where the label says so.
- Pairs who must not draw each other (one pair per line, separated by a comma): Type or paste your text here. Use a new line for each entry where the label says so.
Change one field at a time to see how the result responds, and use the worked example above to check that you get the same answer.
Frequently asked questions
Can I stop couples from drawing each other?
Yes. Add each couple as a pair on its own line.
Can someone draw themselves?
No. The tool prevents it.
Is it really random?
Yes, it uses your browser's secure random generator and checks every rule.
Are the names saved?
No. They stay in your browser and disappear when you close the page.
Related tools
Random Word Generator
Choose how many words you want and whether they should be nouns, verbs or adjectives. The tool picks...
GeneratorsLorem Ipsum Generator
Choose how many paragraphs, sentences or words you need and the generator returns placeholder text you...
GeneratorsPassword Generator
Pick a length and character types and the generator makes strong random passwords with your browser's...
GeneratorsRandom Number Generator
Enter a minimum, a maximum and how many numbers you want. The generator returns fair random integers,...
GeneratorsRandom Name Picker
Enter one name per line, set how many winners you need and press the button. The picker draws fairly...
GeneratorsCoin Flip and Dice Roller
Choose a coin or a die, set how many to flip or roll and press the button. The tool returns fair random...
More free tools people use next
- Hourly to Salary Calculator: Multiply your hourly rate by hours per week and weeks per year to get your annual salary....
- QR Code Generator: Enter a link or text, pick a size and colors and the generator makes a QR code you can...
- Mortgage Calculator: Enter the home price, down payment, interest rate and term. The calculator shows your...
- Favicon Generator: Choose a square or near square image and the generator creates all the common favicon...
- CSS Gradient Generator: Choose two colors, a gradient type and an angle. The tool shows a live preview and gives...
- Zakat Calculator: Enter your cash, gold, silver, investments, business assets, receivables and debts, plus...
- Image Watermark Adder: Choose an image and type your watermark text. Set the position, size, opacity and color,...
- PDF Splitter and Page Extractor: Choose a PDF and enter the pages you want to keep, for example 1 to 3 and 5. The tool...
- Speed Distance Time Calculator: Choose what you want to find, enter the other two values and read speed, distance and...
- Domain Availability Checker: Enter up to 12 domain names. The tool checks public DNS and tells you which are...
- BMR Calculator: Enter your sex, age, height and weight. The calculator estimates the calories your body...
- PDF Page Number Adder: Choose a PDF, pick where numbers appear and the first number. The tool stamps a page...
- MPG Calculator: Enter the distance you drove and the fuel you used. The calculator shows MPG in US and UK...
- Spin the Wheel: Type your choices, one per line, and press Spin. The wheel turns and stops on a random...
- Degree Classification Calculator: Enter your module marks, credits and year weights. The calculator returns your weighted...
- Crypto Profit Calculator: Enter your buy price, sell price, the amount you invested and the fees. The calculator...
- CSS Formatter: Paste your CSS, choose an indent style and press Format. You get readable CSS with each...
- Logo Maker: Enter your brand name, choose a shape and colors, and press Make logo. You get a clean...
- Email Signature Generator: Enter your details and press Create signature. You get a preview and HTML code you can...
- Resume Builder: Fill in your details and press Build resume. You get a clean resume you can print or save...
Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Do not use online generators for regulated draws or critical security keys.