Preparing routine using manual method in colleges and schools is very time consuming and tedious task. This ends up with various classes with same teachers having more than one class at a time. Due to manual approach, proper use of resources is neither effective nor efficient. To overcome all these problems, I made an automated system as automatic routine generator. The system takes various inputs like number of subjects, classes and their capacity, teachers, maximal lectures a teacher can conduct, topics to be covered in a week or a lecture. Depending upon these inputs it generates possible time tables satisfying hard constraints for working days of the week. The administration can make changes or updates if they want some modification on the generated routine