What the generator needs from you
Days and periods with your bell times. Subjects, teachers, rooms and classes, with groups where a class splits, for example into Band, Choir and Art. Then the lessons: each one names a subject, a teacher, a class or group, how many times a week it meets, and whether it is a single or a double period. Lists you already keep in a spreadsheet can be pasted in.

The rules it keeps
Periods a teacher, class or room cannot have, would rather not have or must have, drawn on their week with the marker. The fewest and most lessons in a teacher's day, the most in a row and the most gaps. No gaps for a class, and a day that starts in first period. A subject at most once a day unless you allow more. A room for each lesson, with alternatives. Lessons that must run at the same time can be clipped together.
An example to try it on
The free master schedule template on this site is a sample US middle school: grades 6 to 8 with three sections each, 18 teachers, 19 rooms and 81 lessons, covering four core subjects, PE, health, Spanish, advisory and three electives per grade on an eight-period day. Paste its sheets into the import windows and you have a whole school to press Solve on, the quickest way to see the generator at work before you enter your own.
Generate, then edit
Press Solve and watch the cards move from the Unscheduled strip into the grid; the solver runs in your browser and you can stop it at any moment. If it ends with problems left, a notification shows each one on the timetable. Usually a rule is too tight, such as a teacher with more lessons than open periods. Loosen it and solve again. Drag any lesson to another period and a clash shows the moment it happens. Pin the lessons that must not move.

Generate again when things change
A teacher resigns in August, or a new section opens in September. Change the lessons, pin what should stay, and press Solve to place the rest again. Solve from Scratch takes every card that is not pinned off the timetable and places them all again, for a whole new draft. Save a copy first if you want to keep the version you had.
Watch a short recording of it building a schedule