Skip to content
induwara.lk
Premium
induwara.lkAI · Study Tools

AI Quiz Generator — turn notes into a multiple-choice quiz

Paste notes, a passage, or a transcript and get a multiple-choice quiz in seconds — each question a stem, plausible distractors, one correct answer, and a short explanation. Take it in the browser, edit any question, and export to Moodle GIFT/Aiken, CSV, JSON, or PDF. No signup; taking and exporting work offline.

By Induwara AshinsanaUpdated Jul 10, 2026
Build a quizpaste → MCQs
Sources cited
Text is sent once for generation and never stored.177 / 8,000
Question type
Options / question
Difficulty
Number of questions
Try a sample
Fill-in-the-blank & true/false are deterministic and reproducible; multiple-choice adds neural stems when the model is enabled.

What this does

Paste any notes or a passage and get a multiple-choice quiz in seconds — a question stem, plausible distractors, one correct answer, and a short explanation. Take it in the browser with instant scoring, edit any question, then export to Moodle (GIFT or Aiken), CSV, JSON, or a printable copy with or without the answer key. No signup, and taking the quiz and exporting work fully offline.

Generated questions are a study aid, not a source of truth — review them against your material before an exam. Exports (Moodle GIFT, Aiken, CSV, JSON) and the printable copies run entirely in your browser; nothing is uploaded.

How it works

The generator turns free text into multiple-choice questions with a two-track pipeline. The deterministic track is always available — it runs in your browser, needs no network, and produces the same quiz every time — while an optional neural track adds exam-style question stems when the server has a Hugging Face key configured. Nothing you paste is stored.

  1. Segment. Your text is whitespace-normalised and split into sentences with a Unicode-safe splitter that respects . ? ! and skips common abbreviations (Dr., e.g., etc.). Empty and duplicate sentences are dropped.
  2. Score key terms. In each sentence every token is scored: a number scores highest, then a capitalised proper noun, then the longest content word (stop-words never win). The top-scoring token becomes the blank; the same rule builds the pool of distractors from the other sentences. Because the rule is fixed, the same sentence always yields the same question — and a second, independent scorer cross-checks every key term on every run.
  3. Build the MCQ.The blanked term is the correct answer. Distractors are drawn first from other sentences' key terms of the same kind (numbers for a number, names for a name), then from numeric or textual padding so the option count is always met. The correct option is placed at slot (index + 1) mod options — reproducible, and spread evenly so the answer is not always “A”.
  4. True/False & difficulty. For true/false, alternate sentences are kept true; the rest are corrupted into a plausible false variant (a number is nudged, a copula is negated, or a key term is swapped). Each question is tagged Easy, Medium, or Hard by mapping its leading verb to a Bloom's Taxonomy cognitive level.
  5. Neural stems (optional). In Multiple-choice mode, when a key is set, the cleaned text is sent once to google/flan-t5-base through the Hugging Face Inference API — the same server-side pattern the site's summarizer and question-answering tools use. Parsed stems are repaired so each keeps exactly one correct answer, merged ahead of the deterministic ones, and if the model is unavailable the deterministic quiz stands on its own.
  6. Take, score & export. Take-quiz scoring is pure array logic — one point per stem whose selected option equals the answer index. Exports are pure string serialisations built in your browser: GIFT (::title:: stem { =right ~wrong #### feedback }), Aiken, RFC-4180 CSV, JSON, and a printable student copy or answer key. Every special character is escaped so Moodle parses the file.

Up to 8,000 characters can be processed at once. Generated questions are a study aid, not a source of truth — always check them against your material, especially for exam revision, and edit or delete anything that is off.

Worked examples

Fill-in-the-blank MCQ, reconciled by hand

Deterministic
  1. Input: "The capital of France is Paris. The capital of Japan is Tokyo. The capital of Egypt is Cairo. The capital of Peru is Lima."
  2. Sentence 1 scores: France = 5 + 6 = 11 (capital) beats Paris = 5 + 5 = 10 and capital = 7. Blank France.
  3. Stem: "The capital of ______ is Paris." Correct = France.
  4. Distractors from the other sentences' key terms → Japan, Egypt, Peru.
  5. Answer slot = (0 + 1) mod 4 = 1 → B: A. Japan B. France ✓ C. Egypt D. Peru

True / False from a passage

Deterministic
  1. Input: "Light travels faster than sound. Water boils at 100 degrees Celsius."
  2. Sentence 1 (even index) is kept true → stem is the sentence, answer True.
  3. Sentence 2 (odd index) is corrupted: the first number 100 becomes 100 + max(1, round(100 × 0.1)) = 110.
  4. Stem: "Water boils at 110 degrees Celsius." Answer False.
  5. Explanation records the original: "Your source says: \"Water boils at 100 degrees Celsius.\""

Export to Moodle GIFT + Aiken

Spec-reconciled
  1. Taking question 1 above, GIFT lists the correct option with = and the wrong ones with ~:
  2. ::Q1:: The capital of ______ is Paris. { ~Japan =France ~Egypt ~Peru #### Complete statement: "The capital of France is Paris." }
  3. Aiken uses lettered lines and an ANSWER key:
  4. The capital of ______ is Paris. / A. Japan / B. France / C. Egypt / D. Peru / ANSWER: B
  5. Any ~ = # { } in a stem is backslash-escaped so Moodle still parses the file.

Frequently asked questions

Sources & references

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] — most fixes ship within 24 hours.