Home › Quizzes › Platforms & LMS › Moodle Quiz XML Questions from Your Notes

Turn your notes into a Moodle quiz XML file you can import

Upload a PDF, slide deck or set of notes and get multiple-choice, true/false or open questions with explanations. Export them as Moodle XML and bring them straight into your course.

Create quizzes nowFree · No credit card required

Free account · 3 sets a month · Creates quizzes in seconds

How a Moodle quiz XML file gets built

Teachers who set up practice quizzes in Moodle often need a moodle quiz xml file so dozens of questions can be imported at once instead of typed one by one. The file has a specific structure, with each question wrapped in a question element, a type attribute and nested answer options, and a small formatting error can stop the whole import.

  • Question bank import works with the file exactly as exported, so you avoid rebuilding questions by hand
  • Each multiple-choice question includes explanations that students see after answering
  • True/false and short answer questions can be mixed into the same set
  • Students with a school email get 40% off any paid plan
Example Moodle XML quiz questions
In Moodle XML, which element wraps each individual question?The <question> element, with a type attribute such as multichoice, truefalse or shortanswer, because Moodle uses the type to decide how the question is displayed and graded.
Which fraction value marks the correct answer in a Moodle XML multiple-choice question?fraction="100" on the correct <answer> element, because Moodle awards credit as a percentage of the total.
How do you bring a Moodle XML file into a course?Open the question bank, choose Import and select the Moodle XML format, because that tells Moodle how to read the file's structure.
Which question type in Moodle XML handles true/false questions?type="truefalse" with the correct answer set to fraction="100" and the other to fraction="0", since Moodle expects exactly two fixed options.
What element holds the visible question text in Moodle XML?<questiontext> with a nested <text> element, because Moodle reads the question body from there when it displays the question.
Generate the full set

Multiple-choice, true/false and open questions

Pick the question type that fits your course. Each question comes with an explanation students can read after answering.

Built from your own material

Questions are drawn from the PDF, DOCX, PPTX, text or photo of a page you upload, so the quiz matches what you actually taught.

Moodle XML export on Pro

Export the finished set as a Moodle XML file and import it through the question bank. QTI 2.1 export is included as well.

How it works

Upload your source

Add a PDF, slides, DOCX, plain-text notes or a photo of a page. Scanned pages are read with text recognition.

Choose question types and review

Select multiple choice, true/false or short answer, then check the generated questions and explanations before you export.

Export and import into Moodle

Download the Moodle XML file and import it from the Moodle question bank, then add the questions to your quiz.

DeckOwl starts from your own lecture notes or readings and writes questions with explanations, then exports them in Moodle XML on the Pro plan. You still review each question before it goes into your course, which keeps the content accurate and matched to what your students were actually asked to learn.

Free accounts can generate three sets a month and study them in the browser. Plus adds unlimited generations and PDF, DOCX, Anki and CSV export, while Pro adds Moodle XML and QTI 2.1 export for course platforms.

Explore related topics

Frequently asked questions

How do I import a Moodle XML quiz file?

In Moodle, open the question bank, choose Import, select the Moodle XML format and upload the file. The questions are added to the bank, and you can then place them into any quiz.

What does the fraction value mean in Moodle XML?

The fraction attribute sets how much credit an answer earns as a percentage. A correct answer in a single-answer multiple-choice question is usually fraction="100" and wrong options are fraction="0".

Is Moodle XML export included in the free plan?

No. The free plan lets you study in the browser with three generations a month. Moodle XML export is part of the Pro plan at $14.99 per month.

Can I export to Anki or PDF as well?

Yes. Plus at $99.90 per year or $9.99 per month includes PDF, DOCX, Anki and CSV export along with unlimited generations.

Generate free quizzes

Keep exploring the topic

Review the main ideas visually or practice recalling them.