Random seat generator

Paste a roster and shuffle students into rows at random, with optional rules for who sits apart or together. Names stay in your browser.

Free · No account · Names stay in your browser · Print the chart

0 students detected · 0 rows of 6

Names stay in your browser. If the keep-apart and keep-together rules can't all be met, the chart is placed at random, so check it and shuffle again.

GradeWithAI is used by 21,000+ teachers, including teachers at

What the seating chart generator does

Paste a roster
One name per line, or names separated by commas.
Keep apart, keep together
List groups that shouldn't sit next to each other and groups that should.
Seats per row
Set 1 to 20 seats per row to match your room, such as 4 for tables of four.
Shuffle and print
Shuffle as many times as you like, then print the chart or copy it as text.

What is a random seat generator?

A random seat generator assigns students to seats by chance, with no alphabetical order or teacher choice involved. This one shuffles a pasted roster into rows of the width you set and can keep listed students apart or together.

How random seating works here

Each shuffle puts students in a random order and checks your rules. It retries up to 50 times and shows the first arrangement that meets every rule.

  • Random order from a Fisher-Yates shuffle

  • Keep-apart groups: not side by side, or directly in front or behind

  • Keep-together groups: side by side, or directly in front or behind

  • After 50 failed tries: a plain random arrangement, with no warning

When to use random seating

Random seats help in the first week of school, before you know the class, and on test days, to break up usual partners. They also mix students for group work and give a substitute a chart when there isn't one.

What the rules can and can't do

The rules control who sits next to whom. There's no fixed-seat or front-row option, so for a student who needs a seat near the board or door, shuffle until they land there or adjust the printed chart. Each rule you add makes a valid arrangement harder to find.

When to shuffle again and when to stop

If the first arrangement meets your rules and looks reasonable, use it; more shuffles won't make it more random. Shuffle again when it clusters students you'd rather spread out, or when a rule looks broken.

How to make a seating chart

  1. 1

    Paste the roster

    One name per line, or separated by commas.

  2. 2

    Add the rules

    Set seats per row, then list who should sit apart and who should sit together.

  3. 3

    Shuffle and print

    Check the chart, shuffle again if a rule didn't hold, and print.

Grading what this class turns in?

GradeWithAI grades essays, tests, math, and handwritten work in any subject, and syncs with Canvas, Google Classroom, and Google Forms.

Grading the finished assignments? See how the AI assignment grader works

Seating chart generator FAQ

Questions about this tool? Email john@gradewithai.com.

A tool that assigns students to seats at random. This one also lets you keep some students apart or together while placing everyone else at random.

Yes. It uses a Fisher-Yates shuffle and retries up to 50 times to meet your rules. If no arrangement meets every rule, it shows an unconstrained random arrangement without a warning, so check the chart and shuffle again.

No. The chart is made in your browser, and names aren't sent anywhere or saved.

The generator tries 50 random arrangements. If the keep-apart and keep-together rules can't all be met after 50 tries, the chart is placed at random. Check it and shuffle again.

No. There is no fixed-seat or front-row rule. Shuffle until the chart works, or move names by hand after you copy or print it.

Any class size. Set 1 to 20 seats per row and the chart adds as many rows as it needs.

A maker. A template is a blank grid you fill in by hand; this tool fills the grid from your roster at random. To use the result as a template, print it and write over it, or copy it as text and edit it in a document.

Yes. Set seats per row to the table size, such as 4, and treat each row of the chart as one table. Keep-together rules can place a pair or a small group side by side.

Yes. Print it or save it as a PDF, or copy it as text. Nothing is saved, so print or copy it before you close the page.

Yes, with no account.

Grade your next assignment with GradeWithAI

21,000+ teachers use GradeWithAI to grade essays, tests, and handwritten work, and report saving 10+ hours a week.

The free plan grades 25 submissions every 30 days. No credit card.

10+hours saved per week

Reported by teachers using GradeWithAI, with feedback on every submission they grade.

  • Erin Nordlund
  • Rebecca Ford
  • Ken Brenan
Teachers at 1000+ schools