Question paper is a document that contains a set of questions designed to test the knowledge, understanding, and skills of students. Question papers are used in educational institutions, such as schools, colleges, and universities, as a means of assessing students' performance in exams, tests, or quizzes. The manual method of generating question papers involves a teacher selecting questions from textbooks or other sources, arranging them in a particular order, and manually typing or writing out each question and its associated options, answers, and marks, this process is often time-consuming, error-prone, and does not offer the level of customization that is possible with a computer-based system. The Online Question Paper Generation System is a web-based application that automates the process of generating question papers for educational institutions. The system provides an easy and efficient way for teachers to create and generate question papers, thus reducing the manual workload and saving time. This system enables teachers to create question banks, add questions, and categorize them based on different subjects, topics, and levels of difficulty. Teachers can then select questions from the question bank to create customized question papers for exams, tests, or quizzes. The system also has a feature that randomizes the order of questions, thus ensuring that each student receives a unique question paper. The system is developed using Python, a popular scripting language for web development, and incorporates various features such as user authentication, question bank management, question paper generation, and result analysis. The project aims to simplify the process of generating question papers, reduce the workload of teachers, and ultimately improve the quality of education by providing students with fair and unbiased exams.