About this tool
Generate interactive quizzes from any text using NLP — multiple choice, true/false, and fill-in-the-blank questions with instant grading and score tracking.
AI Quiz Generator turns any passage of text into a graded quiz using in-browser NLP: it splits the passage into sentences, ranks the key terms in each one, then blanks a term to build multiple-choice and fill-in-the-blank questions or swaps a term to build a false statement for true/false. Terms are prioritised by type — capitalised two-word phrases rank highest, then proper nouns, then numbers, then long words — so the questions target the content words rather than random filler. It produces up to 15 questions per run, grades instantly, and shows the original sentence as the explanation for every answer.
Open AI Quiz Generator on AltFTool — it loads instantly in your browser.
Paste or type your material into the Source Text box; the counter beneath it shows the character count, and anything under 50 characters is refused with 'Please provide at least 50 characters of text.'
Switch on the Question Types you want — Multiple Choice, True / False and Fill in the Blank toggle independently — pick Easy, Medium or Hard under Difficulty, then click Generate Quiz
Answer each question and the choice you pick is graded on the spot as Correct! or Incorrect with an explanation; Previous and Next move through the set and Finish Quiz ends it. The results screen shows your Final Score percentage with Total, Correct, Wrong and Skipped counts, a Review Answers list, and the New Quiz, Retry Same Text and Export JSON buttons — Export JSON downloads ai-quiz-<timestamp>.json
Easy targets the highest-priority terms (proper nouns and capitalised phrases); hard deliberately picks low-priority ordinary vocabulary, which is far harder to recall from context.
Explanations quote the original sentence verbatim, including the corrected version for a false true/false item, so a disputed answer is settled from the text.
Multiple choice, true/false and fill-in-the-blank are generated from the same passage in a single pass, capped at 5 of each so no one format dominates.
At least two usable sentences containing at least two distinct key terms, but a few hundred words gives much better results. Only sentences between 4 and 45 words are used — very short fragments carry nothing to test, and very long ones make unreadable question stems.
Up to 15 in total, with a maximum of 5 per question type. If your passage is short you will get fewer, because each question consumes a sentence and a key term and neither is reused.
No. Sentence splitting, term extraction and question building all run in JavaScript in your tab, and quiz history is kept in localStorage under the key ai-quiz-generator-history. That makes it safe for internal documents and unpublished coursework.
Distractors are drawn from other key terms in the same passage, so when the text is short or the terms are very different in kind, the wrong options stand out. Paste a longer, more uniform passage — more candidate terms means more plausible distractors.