Toolvito

Works on this device

Random Seat Assignment

Paste a list of names, say how the seats are set out, and choose Assign seats. Every person gets a random seat. You can keep a seat for one person and leave seats out. The names stay on your device.

Enter names and seats

Seats in rows and columns. The plan shows as a table with one line for each row.

Names and seats

One person on each line. Spaces at the ends of a line and blank lines are left out.

Fixed seats and seats not in use

Leave this empty when no seat is special. A fixed person must be in the list of names, written the same way.

This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.

The seats are assigned in this browser. The names are not sent to a server.

Your seating plan will show here

Enter the names, then choose Assign seats.

How to use the seat assignment tool

  1. Choose the kind of seats: seats in rows, seats at tables, or one line of numbered seats.
  2. Type or paste the names, with one person on each line.
  3. Enter the number of rows and the seats in each row. For tables, enter the number of tables and the seats at each table.
  4. If a person must have one seat, add a seat rule: enter the row or table, the seat, and the name. Write the name as it is in the list.
  5. If a seat must stay out of the plan, add a seat rule and choose Do not use this seat.
  6. Choose Assign seats. Choose it again for a new plan.
  7. Use Download CSV for a spreadsheet, Copy seat list, Download seat list or Print.

What each option does

  • Seats in rows makes a table with one line for each row and one column for each seat. Use it for a classroom, a hall, a bus or an exam room.
  • Seats at tables makes one line for each table. You can share the people out evenly, so that the tables differ by at most one person when no seat has a rule.
  • Numbered seats gives each person a seat number, for example seat 1 to seat 30. You can start at any number.
  • Fill the seats in order puts the people into the first seats and leaves the last seats empty. The order of the people is random.
  • Leave the empty seats at random places spreads the people over all seats.
  • Keep this seat for the person named takes this person out of the random order. The plan marks the seat with the word (fixed).
  • Save my entries on this device is off unless you turn it on. It keeps your list in this browser for the next time. Do not turn it on at a shared computer.

How the seats are chosen and what fair means

Fair means two things here. Every way to seat the people who have no fixed seat has the same chance. And a new plan does not depend on the plan before: the tool does not remember where people sat last time.

The tool first places the people with a fixed seat and takes out the seats that are not in use. Then it shuffles the other people with a method called the Fisher-Yates shuffle and seats them in that order. With random places it shuffles the free seats.

Each step of the shuffle uses random bytes from the secure generator of your browser (crypto.getRandomValues). A value that does not fit is thrown away and drawn again. The tool does not use the remainder after dividing, which would favour some seats a little, and it never uses Math.random.

Worked example

A room has 3 rows of 4 seats, which is 12 seats. The list has 10 names. Ana needs row 1, seat 1, and the seat in row 3, seat 4 is broken.

Add one rule that keeps row 1, seat 1 for Ana, and one rule that says do not use row 3, seat 4. Now 11 seats can be used: Ana has one, and the other 9 people share the 10 free seats. One seat stays empty. Filled in order, the empty seat is row 3, seat 3.

At 3 tables of 4 seats, 10 people shared out evenly give tables of 4, 3 and 3.

Limits you should know

  • A list can have up to 1,500 people. A room can have up to 50 rows of 30 seats. There can be up to 100 tables of 30 seats, and up to 100 seat rules.
  • Every row has the same number of seats, and every table has the same number of seats. For a shorter row, add rules that say do not use the extra seats.
  • The tool does not keep people apart or together. It has no rules such as "not next to" or "same table".
  • A fixed person must be written exactly as in the list, with the same capital letters.
  • In the CSV file, a cell that starts with =, +, - or @ gets a leading apostrophe. This stops a spreadsheet from reading a name as a formula.
  • The table on the page shows the first 500 lines of a long plan. The CSV file and the seat list hold every seat.
  • The plan cannot be made again later. There is no seed number. Download or print the plan you want to keep.
  • If your browser has no secure random generator, the tool stops and tells you. It does not fall back to a weaker one.

Related tools