Classroom tool

Random Pair Generator

Paste a list of names. Get fair, random pairs in one click. Odd counts become one trio so nobody is left out.

Keep apart

Pick two names that should never be paired. The generator keeps them in different pairs, trio included.

    Pairs

    1. Paste some names and hit Generate.

    About this tool

    A free random pair generator that runs entirely in your browser. Paste a list of names, click Generate pairs, and the tool shuffles the full list and pairs everyone off in one pass. With an odd number of names, the last group becomes a trio rather than leaving one person on their own — three students working together is almost always better than one student working alone. You can mark students absent without deleting them, keep two students out of the same pair, and reshuffle without repeating last round's partners.

    The names are never sent anywhere. No accounts, no sign-up. Your class list — or whatever list you are working with — stays in the browser tab and never touches a server. The site uses cookieless, privacy-friendly page analytics that never sees the names.

    How to use it

    1. Paste your list of names into the textarea — one name per line. Blank lines are ignored.
    2. Click Generate pairs. Everyone present is shuffled and paired off, displayed as a numbered list, with absent names listed at the end.
    3. The status line above the result tells you how the split came out — for example, 12 names → 6 pairs or 13 names → 6 pairs + 1 trio.
    4. Under Who's here, tap the name of anyone who is out today. They are marked absent and left out of the pairs, but stay in your list for next time.
    5. Optional: under Keep apart, pick two names that should never be paired and click Add. Add as many as you need.
    6. Click Reshuffle for a different random pairing of the same list. With Avoid last round's partners ticked (it is on by default), nobody gets the partner they just had.
    7. Click Copy to grab the pairs as plain text, ready to paste into a document, slide, or message.

    Names can include spaces, hyphens, apostrophes, accents — anything. The generator treats each non-empty line as one entry.

    Absences, keep-apart pairs and fresh partners

    Three controls handle the things a real class list throws at you.

    Absent students. Every name in the list shows up as a chip under Who's here. Tap a chip to mark that student absent for this round; tap it again to bring them back. Absent names are left out of the pairing and listed under the pairs, so the count matches the room. You never have to delete a name and paste it back the next day. Absences live only in this tab: they clear when you load a different saved class or close the page, and they are never saved.

    Keep-apart pairs. Some pairs simply do not work. Pick the two names under Keep apart and click Add, and the generator will never put them in the same pair. The rule covers the trio too, so with an odd count neither student will be folded in with the other. If the rules cannot all be met (two students left and they are kept apart, for example), the tool says so in plain words, shows the closest arrangement it found and names the pairs it could not separate. Keep-apart rules last for this visit only, and a rule is dropped when you load a saved class that does not contain both names.

    Avoid repeats. When you click Reshuffle, the tool remembers the round on screen and tries to give everyone a new partner. It searches a bounded number of arrangements, so it never hangs. With a very small group a repeat is sometimes unavoidable, and it is labeled Repeat rather than hidden. Untick Avoid last round's partners for a plain shuffle. Keep-apart rules always come first.

    Saving your class lists

    Paste a list once, click Save this list, give it a name — Period 3, Homeroom, Chess club — and pick it from the Saved classes menu next time. The same saved classes also appear in the Random Name Picker and Random Group Generator, so you only enter the roster once and can reach for it anywhere a class list is wanted.

    Saved classes live in your browser on this device only. Nothing is uploaded, nothing goes to a server, there is no account to sign into. The list is cleared if you clear the browser's site data, and you can delete classes individually or all at once from the control. Nothing is saved until you press Save — the tool never writes to storage on its own. Because these are children's names, don't save lists on a computer that students also use.

    Why random pairing beats self-selection

    If you let students or teammates pair themselves up, the same partnerships form every time. Friends pair with friends, strong students pair with strong students, the same one or two people are left scanning the room for a partner. The result is comfortable for everyone except the people on the edges, and it caps how much anyone learns from working alongside someone different from them.

    Fixed pairs — assigning partners at the start of the term and keeping them all year — fix the social problem but introduce a different one. Pairings that work in week one stop working in week ten. Personalities shift, friendships change, two students who started off fine begin to grate on each other, and you cannot rotate without rewriting your whole pairing plan.

    A quick random generator splits the difference. You get the benefit of mixed pairings without spending time on the logistics, and the randomness is visible to the room — nobody feels singled out, because the tool made the call. Reshuffle as often as the activity calls for. The pairing is fresh every time, but the chore is gone.

    Tips for partner work

    • Mix abilities deliberately on big tasks, randomly on small ones. For a multi-day project where pair dynamics matter a lot, you might want to hand-pick. For a five-minute think-pair-share, random is faster and the stakes are low enough that mismatches do not matter.
    • Rotate over the week, not over the year. Two students who get matched on Monday will work better together on Wednesday than two new strangers would. A short series of repeat pairings — three or four sessions with the same partner — gives the pair time to find their rhythm, while still rotating often enough that nobody gets stuck.
    • Treat the trio as a feature, not a problem. When you have an odd number of names, the trio is the group that learns the most about collaboration — they have to negotiate three voices instead of two. Rotate which pair gets to be the trio across sessions so the experience spreads around.
    • Show the pairings on the projector. Generate, project the result, give students 10 seconds to find their partner. Faster than walking around assigning pairs by name, and the randomness is obvious to the whole class.
    • Re-roll once if a pairing is genuinely bad, not twice. If you reshuffle until you get a "perfect" arrangement, you have undone the fairness the tool gave you. For a known conflict, add a keep-apart rule instead of re-rolling: the rest of the pairing stays random.

    Privacy and browser-only

    The generator runs entirely in your browser. The list of names you paste in stays on your machine — it is not sent to a server, stored on a remote service, or logged anywhere. No accounts, no sign-up. Absences, keep-apart rules and the last round's partners are held in the open tab only and are gone when you close it. The site uses cookieless, privacy-friendly page analytics that counts visits but never sees the names you enter.

    Saved class lists are the one exception, and they stay local too. When you press Save this list, the names are written to your browser's local storage on this device only. Nothing is uploaded. Classes can be deleted individually or all at once from the control, and are cleared automatically if you clear the browser's site data.

    Frequently asked questions

    What happens with an odd number of names?

    The last group becomes a trio of three names instead of leaving one person on their own. So 13 names produce 5 pairs plus 1 trio. The trio is labeled in the output and in the status line above it, and it follows your keep-apart rules like every other group.

    How do I leave out a student who is absent today?

    Tap their name under Who's here. The chip is marked Absent, the name is left out of the pairs and listed underneath them, and it stays in your list for next time. Tap it again to bring them back. Absences are not saved: they clear when you load a different saved class or close the tab.

    Can I stop two students from being paired together?

    Yes. Under Keep apart, pick the two names and click Add. The generator will not put them in the same pair or the same trio. If the rules cannot all be met with the students present, it says so, shows the closest arrangement it found and lists the pairs it could not separate.

    How is Reshuffle different from clicking Generate again?

    Both make a fresh random pairing from the names present. Reshuffle sits next to the result and, with Avoid last round's partners ticked (the default), it also tries to give everyone a different partner from the round on screen. If a repeat cannot be avoided, for example in a very small group, that pair is labeled Repeat.

    Is the pairing actually random?

    Yes. The tool runs a Fisher-Yates shuffle on the browser's standard random number generator. With no rules set, every possible pairing is roughly equally likely. Keep-apart rules and repeat avoidance only rule arrangements out: the generator still starts from a random shuffle each time and swaps names only as needed to meet them.

    Can I copy the pairs to paste elsewhere?

    Yes. Copy writes the pairs as plain text, for example Pair 1: Avery & Beatrix, Pair 2: Cyrus & Dario, ready to paste into a slide, document or message. Trios show all three names, and absent students are listed on a final Absent line.

    Are saved class lists private?

    Yes. Saved classes live in your browser's local storage on this device only — never on a server, never in an account. They're shared across the AnchorKite tools that take a class list (the pair generator, the Random Name Picker and the Random Group Generator) because those tools run on the same site, but they stay on this device. Saved classes are cleared if the browser's site data is cleared, and you can remove individual classes or all of them from the control at any time. Because these are children's names, don't save lists on a computer that students also use.

    Is my list of names sent anywhere?

    No. The generator runs entirely in your browser, and the names you paste never leave it: they are never sent to a server or logged. The site uses cookieless, privacy-friendly page analytics that counts visits but never sees the names. If you choose to save a class list, it is kept in local storage on this device only. Absences and keep-apart rules are not saved at all.

    Can I use this outside the classroom?

    Anywhere you need fair random pairs: peer code review rotations, secret-santa style gift swaps, doubles tournaments, conference networking, mentor-mentee pair-ups, board-game partner picks. Keep-apart rules work just as well for colleagues who already sit together every day.