Random Seating Chart Generator

Paste your class list, choose rows, pairs or group tables, and press Make a seating plan. Keep chosen pupils apart, pin anyone to their seat, then print it or put it on the board.

Keep apart

Saved rosters (this browser only)

Nothing is saved unless you press Save. Saved rosters stay in this browser and are never uploaded.

    Quick answer: students are placed at random, with every seating arrangement equally likely when there are no rules. Add keep apart sets and the generator only produces plans where those students aren’t neighbours, or tells you plainly that it can’t be done with that layout. Pinned students keep their seats when you shuffle again.

    Examples

    RoomSetting
    30 single desks, 6 acrossSingle desks in rows · Desks per row: 6 (five rows of six)
    Double desks, three acrossDouble desks (pairs) · Double desks per row: 3
    Six group tables for group workTables of 4 (or 6) · Tables per row: 3
    A pupil who needs to sit near the frontMake a plan, tap them to pin them, move them by shuffling until they land at the front, or pin them where they are
    Two friends who chatKeep apart: Ben, Finn

    How to use it

    1. Paste your class list, one name per line. Rosters saved in the team generator or student picker load here too.
    2. Choose the layout and how many desks or tables fit across the room. The plan adds rows until everyone has a seat.
    3. Optionally add Keep apart sets. What counts as “together” depends on the layout: the desk in front, behind, left or right for single desks; the same desk for pairs; the same table for group tables.
    4. Press Make a seating plan. Tap a student to pin them, then press it again to reshuffle everyone else; students glide to their new seats.
    5. Tick Teacher’s view to see the room from the front, then Print (landscape), download a CSV, or Present it.

    How the plan is made

    Without rules, students are shuffled with the Fisher–Yates method using your browser’s cryptographic random generator and dealt into the chosen seats. With “Fill the front first”, spare seats are left in the back row, chosen at random within it.

    With keep-apart rules, the generator places the most constrained students first and backtracks whenever a rule would be broken. It never breaks a rule: you get a valid plan, a message that none exists (for example, five students who must all be apart but only four tables), or, for very tangled rules, a message that it ran out of time.

    Privacy

    Names are processed only in your browser and never uploaded. They’re saved on this device only if you save a roster. Present mode hides your list and settings, so the board shows only the room.

    Questions

    Can I choose where a particular student sits?

    Yes. Make a plan, then tap the student to pin them where they are. If they aren’t where you want, shuffle until they land there, pin them, and shuffle the rest as often as you like.

    Why does it say the rules are impossible?

    There aren’t enough separate desks or tables for everyone who must be kept apart, or two pinned students are next to each other but set to be kept apart. Try more desks across, a different layout, or fewer rules.

    What if I have more desks than students?

    Extra seats show as empty. With “Fill the front first” on, they collect at the back; turn it off to scatter them.

    Does it work for weddings or events?

    It’s designed for classrooms, but “Tables of 6” works for any event where you want a fair random table plan.

    References

    1. W3C. Web Cryptography Level 2: Crypto.getRandomValues(). World Wide Web Consortium specification.
    2. Richard Durstenfeld. Algorithm 235: Random permutation. Communications of the ACM 7(7), 1964.
    3. Donald E. Knuth. The Art of Computer Programming, Volume 2: Seminumerical Algorithms (3rd ed.), §3.4.2. Addison-Wesley, 1997.

    Page reviewed 1 December 2026.