TestoZa

TestoZa · Guide

AI test generator: turn any PDF or photo into a test you can share

Upload an old question paper and get it back as an online test. Upload a chapter and get new questions written from it. Here is how an AI test generator works, what it gets right, what you still need to check, and how teachers, coaching institutes and students use the one built into TestoZa.

By TestoZa Team · 1 October 2026 · 18 min read

Make a test with AI, free

Ask a teacher what slows down testing and the answer is rarely the questions. It's the typing. The paper already exists as a PDF, a photocopy or a page in the textbook, and someone still has to type forty questions, four options each, an answer key and a few formulas into whatever the students will use. That's an evening gone for one test.

An AI test generator removes that step. You give it the material you already have and it hands back a test you can check, edit and share: the questions, the options, the answer key, even the diagrams, cut out of the page and attached to the right question. This guide explains how that works, what the AI does well, what you still have to check, and how teachers, coaching institutes and students use the generator built into TestoZa.

What an AI test generator actually does

An AI test generator reads a document the way a person does (page layout, question numbers, options, tables, figures) and writes what it finds into a structured test rather than a block of text. That second part matters more than it sounds. A question isn't just a sentence. It has a type (single correct, multiple correct or numerical), options in a fixed order, a correct answer, marks, perhaps a passage it belongs to or a figure it can't be answered without. A generator that understands this produces something you can run as an exam, not something you have to reformat.

It helps to be clear about what it isn't:

  • Not a chatbot conversation. Ask a general chatbot for "20 MCQs on Newton's laws" and you get 20 MCQs as text. Then you copy them somewhere, fix the formatting, retype the maths, build the answer key and set the timer yourself. A test generator ends with a test.
  • Not a fixed question bank. A question bank is written once and shared by everyone. A generator works from your material, so the test matches what you taught this week, in the order and at the depth you taught it.
  • Not autopilot. The AI drafts and you approve. A good tool shows you what it wasn't sure about instead of hiding it.
Chatbot, then copy and pasteAI test generator
Scanned papers and photosOne image at a time, if at allMany pages at once, scanned or digital
An existing paperTends to reword itExtract mode copies it word for word
DiagramsDescribed in wordsCut from the page and attached
Answer keySomewhere in the replyStored per question; missing ones flagged
Maths and chemistryPlain text or raw codeTypeset on screen and editable
A timed, marked testYou build it elsewhereSaved in one tap, shared as a link

On TestoZa the generator lives at testoza.com/generate-with-ai. It takes PDFs and photos (PNG, JPG or WEBP), several at once, plus an optional answer key, and it produces a test in exactly the same format as one you'd build by hand. So everything else on the platform works on it: timers, negative marking, sections, live exam links and results.

What do you have? Which mode to use

  • An old question paper or a DPP (PDF or scan): Extract. Upload its answer key too.
  • A textbook chapter or class notes: Generate new questions from it.
  • Photos of book pages: Generate, or Extract if the pages are exercise questions you want kept as they are.
  • One question on paper, printed or handwritten: Fill from photo in the test builder.
  • A YouTube lecture: the generator can’t read videos or links; upload the lecture’s slides or notes as a PDF, or photos of the board, and Generate.
  • A Word or PowerPoint file: save it as a PDF, then Extract or Generate.

Extract or Generate: two different jobs

Every run starts with one decision, and it's the one most people get wrong the first time. After you add a file, TestoZa asks How do you want to process this file? and offers two cards.

Extract Questions: keep the paper exactly as it is

Use Extract when the questions already exist: last year's board paper, a DPP sheet, a chapter-end exercise, a coaching module, a worksheet you typed years ago. The AI copies each question, its options and its diagrams as they appear, keeps every digit (64.97 g stays 64.97 g, not 97 g), joins a question that runs over two pages, and keeps a comprehension passage together with the questions under it.

The answer key comes from the document itself: a key at the end of the paper, answers marked on the page, or a separate answer-key file you upload alongside. If no answer can be found for a question, Extract leaves it empty and flags it. It never solves the question to fill the gap, because a confident wrong answer in a key does more damage than an empty one.

Generate New Questions: write fresh ones from study material

Use Generate when you have content but no questions: a textbook chapter, class notes, a revision sheet, a few photographed pages. The AI works out the concepts, formulas and facts in the material and writes original questions that cover them in proportion, usually 15 to 25 per run depending on how much the pages contain. It can mix single-correct, multiple-correct and numerical questions, and it writes the answer key as it goes.

The wrong options are written to match real misconceptions: the student who forgets to divide by time, the one who confuses mass with weight. That's deliberate. Item-writing research has long treated plausible distractors as the thing that makes a multiple-choice question worth answering (Haladyna, Downing and Rodriguez, 2002). Generate also writes a title, a short description and a page of revision notes that students can open before they start.

Need more than one run gives you? Ask for a number in the custom instructions, or press Generate more on the review screen and the AI reads the material again for new questions.

The same chapter, two modes

Extract on a question paper: "Q7. A force of 10 N acts on a body of mass 2 kg. The acceleration produced is (a) 20 m/s² (b) 5 m/s² (c) 12 m/s² (d) 0.2 m/s²", with "7. (b)" in the answer key, becomes question 7 with the same wording and options and B set as the answer. A question the key doesn't cover is flagged "No correct answer detected".

Generate on a textbook paragraph about Newton's second law (F = ma, 1 N gives 1 kg an acceleration of 1 m/s²) produces new questions, for example: "A trolley of mass 4 kg speeds up from 2 m/s to 8 m/s in 3 s. What net force acts on it?" with options 2 N, 8 N (correct), 6 N and 32 N, a numerical question ("A net force of 15 N gives a body an acceleration of 3 m/s². What is its mass in kg?", answer 5) and a multiple-correct question on the definition of the newton.

A rule of thumb that works: if you'd be annoyed to see a question reworded, use Extract. If you'd be glad to see questions you've never seen before, use Generate.

How it works, from upload to a shareable test

  1. Upload. Open the AI test generator and choose a file, or drag it onto the upload card. PDFs and photos both work, and you can select several photos at once for a multi-page chapter. Photos are compressed on your device before they upload, so it's quick even on mobile data. Have the answers on a separate sheet? Add it under Answer Key (Optional). Working from Word or PowerPoint? Save it as a PDF first (File, then Save As, then PDF). It takes seconds and keeps the layout and diagrams intact.
  2. Set the output. Pick the language (the same as the material, English, Hindi or both), the difficulty for generated questions, and add any instructions in plain words. The defaults are sensible, so you can skip this.
  3. Choose Extract or Generate. One tap starts the run.
  4. Watch it work. A live screen shows real progress in four stages (Upload, Read pages, Find or Write questions, Final touches), a percentage, the time so far and an estimate of what's left. Questions appear underneath as they're read, so you can start checking question 1 while the AI is still on page 9. You can switch to another tab: the tab's title keeps showing the progress.
  5. Review. When the run finishes you get a summary (how many questions, how many still need an answer, which types, how long it took) and every question as a card, with filters for Needs answer and Diagrams, a search box and a grid to jump to any question. The grid also shows each answer: point at a box and tap its pencil to set a missing answer or change one, without leaving the review screen.
  6. Save or edit. Save & continue saves the test to My Tests, private until you decide otherwise. Edit opens it in the full test builder first, where you can change anything: wording, options, answers, marks, negative marks, sections and the time limit.
  7. Share. Copy the test's link for your class, or start a live exam with its own link. Students open it in any browser, and every submission is marked automatically.

What happens under the hood

A short tour of the pipeline, because it explains both the speed and the limits:

  • Digital PDFs are read directly. If a page has a real text layer, as most PDFs exported from a computer do, that text is used as it is. That's fast, and it's why a clean PDF finishes well before a stack of phone photos.
  • Scanned pages are looked at, not just OCR'd. Pages without text are turned into images and read by a vision model that understands layout: two-column papers, options in a grid, a figure between the question and its options. A quick quality check sets the resolution, so a faint photocopy is read at up to 300 DPI and a crisp scan at 150.
  • Pages are read in order. In the default High Accuracy mode the document is read a few pages at a time, in sequence, so a question that starts at the bottom of page 4 and finishes on page 5 comes out whole. Fast Mode reads batches of pages side by side and finishes long files sooner.
  • Diagrams are cut from the page. The AI marks where each figure sits, and that region is cropped from the page and attached to its question. Figures inside worked solutions are skipped, so the sketch under "Sol." doesn't end up in the question.
  • Maths and chemistry are written as LaTeX. Chemical equations use mhchem notation. Fractions, roots, integrals, subscripts and reaction arrows are typeset properly and stay editable.

The settings that change the questions

Three settings sit above the two mode cards, and a fourth hides in the file card's header. None is required, but each makes a visible difference. Try the first two on the sample below: it's the same chapter and the same question slot, and the output changes the way the real generator's does.

One topic, three difficulty levels

Easy: "What is the SI unit of force?" (Joule, Newton, Watt, Pascal; answer Newton).

Moderate: "A trolley of mass 4 kg speeds up from 2 m/s to 8 m/s in 3 s. What net force acts on it?" (2 N, 8 N, 6 N, 32 N; answer 8 N).

Tough: "Two blocks of 2 kg and 3 kg lie in contact on a smooth floor. A 20 N horizontal force pushes the 2 kg block. What force does the 2 kg block exert on the 3 kg block?" (20 N, 8 N, 12 N, 4 N; answer 12 N).

With English and Hindi both selected, each question and option appears in English with the Hindi beneath it, for example "What is the SI unit of force? / बल का SI मात्रक क्या है?"

Language output

Same as Material keeps the language of your document. English or Hindi produces the whole test in that language whatever the source is written in, so an English textbook can become a Hindi-medium test. Select both and the test becomes bilingual: every question and every option is written in English with the Hindi directly beneath it, so one paper serves both mediums in the same classroom.

Target difficulty

This applies to generated questions. Easy means direct concept checks and one-step calculations. Moderate means standard application questions that take a few steps. Tough, the default, means deeper reasoning, multi-step problems and distractors that catch a half-understood idea. Extract ignores it, because an existing paper is as hard as it is.

Custom instructions

A free-text box the AI is told to follow strictly. It's where you set the things only you know:

  • Each question 4 marks, −1 for a wrong answer.
  • Generate 30 questions, at least 8 of them numerical.
  • Only from section 9.3, Newton's second law.
  • Split the paper into Physics and Chemistry sections.
  • Ignore the solved examples; use the exercise questions only.

High Accuracy or Fast Mode

A small menu in the header of the file card. High Accuracy, the default, reads page by page and keeps the order of the paper; use it for exam papers and anything with questions that run across pages. Fast Mode splits the pages into chunks and reads them in parallel; use it for long, simple material when speed matters more than sequence.

What it can read: maths, chemistry, diagrams, passages and Hindi

School and entrance papers are not plain text, and a generator that only copes with plain text isn't much use beyond primary classes. Here's what TestoZa's handles, and the shape each thing takes in your test:

In your paperIn the test
Single-correct MCQs, options labelled (a)–(d), (1)–(4) or A–DSingle choice, options A–D
"One or more options may be correct"Multiple correct, every right option in the key
Integer and numerical-value questionsNumerical, the answer stored as a value or a range
Comprehension and case-based passagesThe passage kept with each question under it
Match the following, tables, matricesA typeset table inside the question
Fractions, roots, powers, integrals, vectorsLaTeX, typeset on screen
Chemical formulas and equations: H₂SO₄, ⇌, ↑, ↓mhchem, typeset on screen
Graphs, circuits, ray diagrams, structuresCropped from the page, attached as an image
Hindi (Devanagari) textKept in Hindi, or translated if you choose

Two notes from experience. First, handwriting. The document generator does its best work on printed and typed pages; neat handwriting usually reads, untidy notes may not. For a single handwritten question there's a better tool: Fill from photo in the test builder. Photograph one question, printed or handwritten, even at an angle on lined paper, and it fills that question's text, type, options and diagram. It takes the answer only if one is ticked or written in the photo, and never works it out on its own.

Second, quality in, quality out. A straight, well-lit photo of a page reads better than a shadowy one taken at an angle, and a PDF exported from a computer reads better than a photo of a printout of that same PDF. If a page comes out badly, retaking the photo is quicker than fixing the result.

Review before you share: the two-minute check

The AI is fast and usually right. "Usually" is why this section exists. The review screen is built so that checking a 30-question draft takes a couple of minutes rather than a slow read of the whole paper. Try it below: it's a working replica of the real screen, with the same filters.

The review screen

After a run, the review screen shows the number of questions, how many still need an answer, the question types and the processing time. Filters show all questions, only those that need an answer, or only those with diagrams. Every question appears as a card with its type, page and diagram; the correct option is marked green, and a Raw switch shows the text and LaTeX behind it. A jump grid shows every question's answer and marks the ones that need an answer in orange; a pencil beside each box sets or changes its answer right there.

  1. Clear the orange. A question without a correct answer gets an orange number, and a banner counts them. Set them straight from the jump grid: point at an orange box, tap the pencil and pick the option (tick several for a multiple-correct question, or type the number for a numerical one). You can also tap Needs answer to read only those questions first. TestoZa never fills in an answer for you: a question left blank stays blank, and the test can't go live until it has one.
  2. Fix a wrong answer the same way. If the AI read the key wrong, use the same pencil to pick the right option. Because you're replacing an answer the AI chose, it asks you to confirm each change.
  3. Check numericals. For integer and numerical-value questions, decide whether the answer should be an exact value or a range. A range of 2.4 to 2.6 accepts answers rounded in different ways.
  4. Open the Diagrams filter. Make sure each figure sits with the right question and isn't cut short. Tap a figure to enlarge it.
  5. Spot-check generated answers. In Generate mode the AI also writes the key. Check a few, especially calculations. It's the one place a generated question can be confidently wrong.
  6. Use Raw when something looks odd. The Raw switch on each card shows the text and LaTeX behind it, so a missing bracket or a stray symbol is easy to spot and fix in the editor.
  7. Set the marks and the time. A saved test starts at one minute per question. Change the duration, marks and negative marks in the editor if your custom instructions didn't already.

That's the whole job. It's still checking, but checking a draft is a very different job from typing a paper, and it's the step that makes a test made with AI as trustworthy as one you typed yourself.

For teachers: a week of class tests in one sitting

Teachers who keep using an AI test generator tend to settle into a few routines. These are the ones we see most often:

The chapter test

Upload the chapter PDF or photos of its pages. Generate, Moderate, "15 questions, 1 mark each". Ten minutes including the review, then the link goes to the class group.

Last year's paper, online

Upload the paper with its answer key and choose Extract. Same questions, same diagrams, now marked automatically, with time taken on every question.

The bilingual paper

Hindi-medium and English-medium students in one room? Select English and Hindi. Every question and option appears in both, so nobody waits for a translation.

The second chance

After a test, generate a fresh set on the topic most of the class got wrong, at Easy, so the retry rebuilds confidence before the next step up.

Mix and match freely. Generate 20 questions, delete the five you don't like, and type two of your own in the builder. Once saved, the test is an ordinary TestoZa test: add a passage, change the marks on one question, or write a formula with the Sy Pad keyboard instead of LaTeX. When students submit, they see their score, the correct answers and the time they spent on each question, and you see a rank list and how the class did on every question.

The building side is covered step by step in how to create a mock test online.

For coaching institutes: a test series from material you already own

Institutes rarely lack questions. They have years of DPPs, modules and in-house papers, usually as PDFs on a shared drive. The bottleneck is turning them into online tests fast enough to run a weekly series without a data-entry team. Extract mode is made for exactly that.

  • Convert the archive. Run each DPP or module PDF through Extract with its answer key. Questions, diagrams and passages come across as they are, and the review screen tells you which ones still lack an answer.
  • Build exam-pattern papers. Ask for sections and marking in the instructions ("Physics, Chemistry and Mathematics sections; +4, −1"), then fine-tune in the editor: numerical sections, "attempt any 5 of 10" rules, a three-hour timer.
  • Run it as a live exam. Any test can become a live exam with its own link that only your students have. Paid plans add the exam rules (full screen, tab-switch limits, no copy and paste), scheduling, a start form and your institute's name and logo.
  • Read the batch. Results arrive as students submit: a rank list, accuracy on every question, and how the batch split across the options, which shows faculty which wrong idea is the common one.

One policy point worth writing down for your staff: upload material you have the right to use, such as your own papers, your own notes and publicly released past papers. The generator makes conversion easy. It doesn't change who owns the content.

The exam-day side is covered in depth in CBT exam software, and JEE papers, with their integrals and reaction arrows, in JEE mock test platform.

For students: turn today's chapter into tonight's test

You don't need a teacher to use an AI test generator, and for self-study it may be the most useful thing on the platform. Rereading a chapter feels productive but does little for recall. Testing yourself on it does a lot. In a well-known experiment, students who took a practice test on a passage remembered more of it a week later than students who spent the time rereading it (Roediger and Karpicke, 2006). A large review of study techniques rated practice testing as one of only two methods of high usefulness (Dunlosky and colleagues, 2013).

The problem has always been getting the questions. Now it goes like this:

  1. Capture what you studied. Photograph the pages, or upload the chapter PDF.
  2. Choose Generate. Pick Moderate the first time and Tough when you're ready.
  3. Take it properly. Save, open the test and sit it with the timer running, as you would on exam day.
  4. Learn from the result. See what you got wrong and how long each question took, and ask the AI chat on the results page to explain a mistake. Retake the test a few days later.

It works the same for boards, JEE, NEET, CUET, state exams or a college semester. You'll need a free account to use the AI; that's how we keep the service fast for everyone.

How much time does it actually save?

It depends on the paper, so here's a calculator instead of a headline number. Typing an MCQ by hand (the question, four options, the answer and any formula) takes most teachers two to four minutes, and maths or chemistry takes longer. With the generator your time goes into review instead: around half a minute a question, plus a couple of minutes while the AI runs, which you can spend on something else.

Example: 60 questions a week at 3 minutes each by hand is 3 hours. With the generator, at about 30 seconds of review per question plus 2 minutes of processing per 20-question paper, it is about 36 minutes: roughly 2 hours 24 minutes saved every week, or over 10 hours a month.

Plug in your own numbers. For anyone who makes more than a couple of tests a week, the saving is counted in hours, not minutes.

How to judge any AI test generator, including ours

There are a lot of AI quiz tools now, and their demos look much alike. These questions separate them quickly. Give each tool the same awkward document, a scanned two-column paper with a few diagrams and a formula or two, and see which answers hold up.

  1. Does it read scans and photos, or only clean text? Most real material in Indian classrooms is scanned or photographed.
  2. Does it keep the wording when you want it kept? Converting an existing paper needs exact extraction, not a paraphrase.
  3. Are diagrams attached to the right question? Or described in words, or quietly dropped?
  4. Does the maths survive? Fractions, powers, roots and chemical formulas should be typeset and editable, not flattened into "x2".
  5. What happens when it doesn't know the answer? It should leave it empty and tell you, not guess.
  6. Can you edit everything afterwards? Text, options, answers, marks, sections and time.
  7. Does the result run as a real test? A timer, negative marking, sections, a shareable link and automatic marking, on a phone.
  8. Does it speak your students' language? Hindi-medium and bilingual papers are normal, not an edge case.
  9. What does it cost to use every week? Check the free plan's limits, not just the headline price.

We built TestoZa's generator to pass all nine. It's included on every plan, the free one too. Paid plans add exam controls and branding for institutes, not access to the AI. Current prices are on the pricing page, and if you're comparing whole platforms rather than generators, read how to choose an online test platform.

Honest limits

No tool is right for everything. These are the edges worth knowing before you plan a term around it:

  • PDFs and images only. Word and PowerPoint files need saving as a PDF first.
  • It reads what it can see. A blurry, dark or skewed photo produces mistakes or missed questions.
  • Very long documents. A single run is capped at about ten minutes. Send a 300-page book in chapters, which makes better tests anyway.
  • Generated answers are written by the AI. They're right far more often than not, but a test is only as good as its key. Spot-check before you share.
  • Extract never guesses. If the answers aren't in the document, you'll set them yourself. The review screen counts them for you.
  • Handwriting in bulk. Neat handwriting usually reads and messy notes may not. For one handwritten question, Fill from photo is the better tool.
  • Fair-use limits. You need to be signed in, and each account can start up to 30 AI runs an hour. That's plenty for real use and stops one account slowing things down for everyone.
  • Languages. The output can be in the material's own language, English, Hindi, or English and Hindi together. Other target languages aren't offered yet.

Frequently asked questions

Is TestoZa's AI test generator free?

Yes. The AI test generator is included on the free plan with no credit card. You need a free account to use it, and there is a fair-use limit of 30 AI runs per hour per account. Paid weekly, monthly and yearly plans add institute features such as exam rules, scheduling, branding and Excel export.

What files can I upload?

PDF, PNG, JPG (or JPEG) and WEBP. You can upload several files or photos at once and add a separate answer key as a PDF or image. Save Word and PowerPoint files as PDF before uploading them.

Can I make a test from a photo of a textbook page?

Yes. Photograph the pages straight and in good light, upload the photos, and choose Generate to get new questions from the content, or Extract if the pages hold exercise questions you want kept exactly as they are.

Does it create the answer key too?

In Generate mode the AI writes the correct answer for every question it creates. In Extract mode it takes answers from the document: a key at the end, answers marked on the page, or an answer-key file you upload. Questions it cannot find an answer for are flagged so you can set them yourself, straight from the review screen: tap the pencil beside the question in the jump grid and pick the answer.

Can it make questions in Hindi, or a bilingual paper?

Yes. Choose Hindi for a test entirely in Hindi, English for English, or both for a bilingual test in which every question and option appears in English with the Hindi beneath it. Same as Material keeps the language of your document.

How many questions does it generate?

A Generate run usually writes 15 to 25 questions, depending on how much the material covers. You can ask for a specific number in the custom instructions, and the Generate more button on the review screen adds further questions from the same material. Extract returns every question it finds.

Can it handle maths formulas, chemical equations and diagrams?

Yes. Maths is written in LaTeX and chemistry in mhchem notation, both typeset on screen and editable in the test builder. Diagrams, graphs and circuits are cropped from the page and attached to their question.

How long does it take?

Usually one to three minutes. Digital PDFs are quickest because their text is read directly; scanned pages and photos take longer. A live screen shows the progress, and questions appear as they are read.

Is AI-generated content accurate enough to use without checking?

It is accurate most of the time, but check it before you share it, especially answer keys for calculations and anything the review screen flags. The review screen is designed to make that a two-minute job.

Can I edit the questions after generating them?

Yes. Edit opens the draft in the full test builder, where you can change the wording, options, answers, marks, negative marks, sections and time limit, delete questions and add your own. To fix only answers, you don't need the builder: the pencil beside each box in the review screen's jump grid sets or changes that question's answer.

Will my test be public?

No. A test saved from the AI generator is private. Only you can see it until you share its link, start a live exam with it or choose to publish it.

Do my students need an account to take the test?

No, unless you turn on sign-in for that test. Students open the link in any phone or computer browser and start.

How is this different from asking ChatGPT for questions?

A chatbot gives you questions as text. A test generator reads your actual pages, including scans and diagrams, keeps an existing paper word for word when you want that, stores the answer for each question, flags the ones it could not find, and turns the result into a timed, automatically marked test with a link.

Turn one chapter into a test today

Start with whatever is on your desk right now:

Related reading: how to create a mock test online, JEE mock test platform, CBT exam software, how to choose an online test platform and pricing.

Sources