Question Generator
Upload a PDF and get AI-generated multiple-choice quiz questions from its content — pick how many questions and how hard they should be, then get an answer key.
Input
Turned into quiz questions server-side with AI — this uses credits per file. Only the PDF's embedded text is read; scanned/image-only PDFs have none to work from.
Output
| Question | Options | Correct answer |
|---|---|---|
| No data yet | ||
Guides
Upload a PDF and get AI-generated multiple-choice quiz questions from its content — no writing comprehension questions by hand to test yourself, a class, or a training group on a document.
How to use it
- Upload the PDF you want quiz questions from.
- Choose how many questions to generate (3-10).
- Choose a difficulty: easy (straightforward recall), medium (requires understanding the main points), or hard (requires connecting multiple parts of the text).
- Click Generate questions.
- Copy or download the result — each row is one question, its four answer options, and the correct answer.
What it reads
The questions are generated from the PDF's embedded text layer — the same text you could select and copy in a PDF viewer. A PDF exported from Word, LaTeX, or a browser's "Print to PDF" has this; a scanned or photographed document usually doesn't, since it's really just a picture of a page with no text underneath. If your file has no extractable text, run it through Scanned PDF Converter first (it OCRs the pages into a searchable PDF), then generate questions from the result.
For very long documents, only the first ~60 pages (or roughly 20,000 characters of text, whichever comes first) are read — long enough for the vast majority of reports, articles, and study material, without the generation call growing unbounded on a 500-page file.
Reading the output
Each row of the result table is one question:
- Question — the question text.
- Options — all four answer choices, lettered A-D.
- Correct answer — the letter and text of the right choice, doubling as an answer key.
Download the CSV to drop straight into a spreadsheet, or copy it as plain text.
Tips
- Every question and answer is grounded only in what the PDF actually says — the model is instructed not to invent facts or ask about anything outside the text.
- Copy or download the result — like every AI-generated tool on this site, the questions aren't reproducible from a shared link (it's non-deterministic, so a link would just spend credits regenerating a different set).
- If you'd rather have a plain-language summary instead of quiz questions, use PDF Summarizer.
Is my file stored anywhere?
Your PDF's extracted text is sent to an AI provider to generate the questions, then discarded — it isn't logged, stored, or used to train anything. See the third-party data badge above the tool for details.
Does this work on password-protected PDFs?
No — remove the password first with Unlock PDF, then upload the unlocked file here.
Is this free?
Yes. Smallpdf's version of this tool requires a signed-in, paid account for every run. This one is free to try, and each run costs credits like every other AI tool on this site — no separate PDF subscription required.
Use it from code
From 24 credits per callREST API
curl -X POST https://api.iotools.cloud/v1/tool/pdf-question-generator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file": "data:application/pdf;base64,JVBERi0xLjcKJYGBgYEK…",
"questionCount": "5",
"difficulty": "medium"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `pdf-question-generator` tool (Question Generator) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.