v0.1 preview A study tool for people who don't trust AI answers
Practice questions quoted straight from your own notes.
Upload a PDF, DOCX, or paste a chunk of text. Margin generates MCQs, cloze deletions, short answers and clinical vignettes — each one with the exact source excerpt it came from, so you can verify before you memorize.
- Strict source grounding — every question cites the passage it came from
- Up to 50 questions per run, answers hidden in study mode
- Anki .apkg export with cloze support, CSV for everything else
- KaTeX math rendering for STEM equations
Generate questions
Add a source to continue.
Your set
Practice questions
How it works
Three steps, no hallucinated facts.
Most AI quiz tools read your PDF, then forget it and improvise. Margin keeps your document in a retrieval window and forbids the model from answering outside it.
-
Upload
PDFs are parsed on-device with
pdf.js. DOCX viamammoth. Scans get an OCR preview you can edit before generation. -
Ground
Your text is chunked and indexed. The model only answers with passages it retrieves from your document — world-knowledge injection is disabled.
-
Verify
Every question ships with the excerpt it came from and a confidence tag: directly extracted or synthesizes multiple passages. Flag anything that drifts.
What Margin does that the others don't.
| Capability | Margin | NotebookLM | Quizlet AI | ChatGPT direct |
|---|---|---|---|---|
| Per-question source citation | ● | ○ | ○ | ○ |
| More than 25 questions per run | ● | ○ | ● | ● |
| Answers hidden in quiz mode | ● | ○ | ● | ○ |
| Anki .apkg export (with cloze) | ● | ○ | ○ | ○ |
| Bloom's-level selector | ● | ○ | ○ | ◐ |
| KaTeX math rendering | ● | ● | ○ | ● |
full support · partial · not available
Questions you might have.
Is my document uploaded to a server?
PDF/DOCX parsing runs entirely in your browser. The extracted text is only sent
to the generation endpoint when you press Generate, and that request is
documented in scripts/README so you can host it yourself.
What about the free tier?
3 generations per day, resets every 24 hours. An Exam Week pass ($2.99, 7 days unlimited) exists for finals crunch. No monthly cap.
Will Anki export handle cloze cards?
Yes — cloze deletions are exported with
{{c1::answer}} syntax and a separate card type, so they schedule
correctly in Anki desktop and AnkiMobile.
What if an equation doesn't render?
Click the flag icon next to the question. We log it and fall back to the raw LaTeX so you can still read it.
Is it WCAG accessible?
Yes. This page targets WCAG 2.2 Level AA: semantic landmarks, keyboard
operable upload, 4.5:1 contrast, visible focus rings, ARIA live regions for
generation status, and prefers-reduced-motion support.