AI Tools

PDF to Quiz: Turn a Textbook Chapter or Handout Into Test Questions

Get the text out of the PDF, let an AI assistant draft the questions, then check every answer against the source.

Marcus Chen · July 2, 2026

Abstract collage of purple, yellow and orange shapes with dotted and striped patterns, the cover of a guide to turning a PDF to quiz questions

Turning a PDF to quiz questions takes three steps: get the text out of the PDF, have an AI assistant or a quiz generator draft the questions, and check every answer against the original pages. The AI part takes a minute, and the checking is where the real work is.

pdf-file.com doesn't have a quiz generator of its own. It helps with the first step: getting the text out of a PDF, or out of an English scan.

Why Quiz Yourself or Your Class From a PDF

Answering questions about material helps you remember it better than reading it again. Psychologists call this the testing effect, and it's the reason flashcards and short practice quizzes work.

The slow part has always been writing the questions. A language model can draft them from a chapter in seconds, which leaves you more time to fix the ones that are wrong or too easy.

Step 1: Get Clean Text Out of the PDF

Hand over only the pages you want tested, as plain text, so the questions can't drift into the rest of the book.

  1. Pull out the chapter you want with Extract PDF Pages, using Extract Specific Pages.
  2. Convert those pages with PDF to TXT. There's nothing to set, and every page gets converted.
  3. Open the TXT file and delete page headers, footers and anything that shouldn't end up in a question.
The pdf-file.com Extract PDF Pages screen with options for odd pages, even pages or specific pages, used to pick the chapter for a PDF to quiz
The pdf-file.com PDF to TXT screen with test3.pdf uploaded and the Convert to Text button

If the TXT file comes back empty, your PDF is a scan: pictures of pages with no text in them. Run it through OCR PDF first. Our OCR reads English only, so a scan in another language needs different software.

Step 2: Have an AI Assistant Draft the Questions

Paste the text into an AI assistant such as ChatGPT, Claude, Gemini or Copilot and say exactly what you want. A vague request gets you vague questions. A prompt like this works well:

Write 10 multiple choice questions from the text below, with four options each and one correct answer. Use only facts stated in the text. After each question, give the correct letter and quote the sentence that proves it.

Paste the text right under the prompt.

Asking for the quoted sentence is the part that matters. It makes a wrong answer easy to spot, because the quote either says what the answer key claims or it doesn't.

Change the prompt for other question types: true or false, fill in the blank, or short answer with a model answer. Ask for questions on definitions and cause and effect if you want more than recall.

Step 3: Or Use a Dedicated PDF Quiz Generator

Several PDF services have a question generator that takes the PDF directly. Smallpdf's AI Question Generator is one example: you upload a file, pick multiple-choice, true-or-false or open-ended questions, and get questions with potential answers.

Smallpdf's AI Question Generator page with a Choose Files button, an example of a PDF to quiz upload page
Smallpdf's Generate Questions screen with a PDF preview and a choice of multiple-choice, true-or-false or open-ended questions
Generated multiple-choice questions next to the PDF they came from, each with a Show answer button

A chat assistant lets you set the number, style and difficulty of questions in your own words. Either way, read the provider's privacy terms before you upload anything that isn't yours to share, like student work or internal training material. Checking whether student work was written by AI is a different job, which our guide to running an AI detector on a PDF covers.

Step 4: Check Every Question Against the PDF

AI-written questions go wrong in predictable ways, so check for these before anyone sees the quiz:

  • A wrong answer key. The model marks an option correct that the text doesn't support. Compare each answer with the quoted sentence.
  • Two right answers. A distractor that is also true. Rewrite it so it's clearly false.
  • Giveaway options. The correct answer is the longest one, or the only one that sounds like the textbook.
  • Questions about things not in the text. The model filled a gap from its general knowledge. Delete those, or check them in another source.
  • Trivia. Page numbers, dates in footnotes, a figure caption. Swap them for questions on the ideas that matter.

Step 5: Put the Quiz Somewhere People Can Take It

For a quiz that grades itself, add the checked questions to Google Forms and turn it into a quiz. Google's help page on how to create and grade quizzes with Google Forms shows where the quiz setting and the answer key are.

For a paper quiz, put the questions in a document, keep the answer key in a separate file and convert both with Word to PDF. If you use a learning platform, check its import formats before you build a big set.

If you're also making a summary or study notes from the same chapter, our guide to the AI PDF summarizer uses the same first step. To listen to the chapter instead, our guide to turning a PDF into a podcast starts from the same TXT file.

Frequently Asked Questions about PDF to Quiz

Can pdf-file.com turn my PDF into a quiz?

No, we don't have a quiz generator. Our tools get the text out of the PDF (PDF to TXT, and OCR PDF for English scans), and you then use an AI assistant or a quiz service to write the questions.

How many questions should I ask for at once?

Start with a number you'll really read and check. For more, split the chapter into sections and ask for questions on each, so they don't all come from the first few pages.

Can I make a quiz from a scanned PDF?

Yes, after OCR. Run the scan through OCR PDF so it has real text, then convert it with PDF to TXT. The OCR reads English only.

Are AI-generated quiz questions accurate?

Not reliably enough to use without checking. Ask the AI to quote the sentence behind each answer, and read every question against the source before you hand it out.

Try it on your own file