Home › Quizzes › Platforms & LMS › Moodle quiz XML import

Get a quiz ready for Moodle import from your own notes

Upload a PDF, slide deck, DOCX or photo of a page. DeckOwl drafts questions with explanations that you can export as a Moodle XML file for the question bank.

Create quizzes nowFree · No credit card required

Free · First set needs no signup · Creates quizzes in seconds

Why generate the file instead of writing it by hand

Writing a Moodle quiz XML import file by hand means typing every question, tagging each answer with the right fraction value, and hoping one misplaced tag does not stop the whole import. A ready-made file from another course rarely matches what you taught this week.

  • Start free with no credit card, then use the free plan to try a few generations per month.
  • Moodle XML export is included on the Pro plan at $14.99 per month.
  • Students with a school email get 40% off Plus at $39 per year or Pro.
  • Edit any generated question before exporting so the file matches your course.
Example Moodle XML import questions and answers
Which element wraps every question in a Moodle XML import file?The quiz element. Each question sits inside it as a question element with a type attribute, such as multichoice or truefalse.
What fraction value marks the correct answer in a multiple-choice answer element?Fraction 100 marks the correct answer, and fraction 0 marks a wrong one, so Moodle grades the item correctly.
Where do you import a Moodle XML file in Moodle 4.x?Open the question bank, choose Import, and select the Moodle XML format, because questions are stored in the bank before they are added to a quiz.
Why might an imported question not appear in a quiz right away?Imported questions go to the question bank first, so you must add them to the quiz from there. A malformed tag can also block the import.
What does the questiontext element hold in a Moodle XML question?The question prompt itself, usually inside a text child with format html, so the wording and any formatting display correctly.
Generate the full set

Multiple choice, true/false and open questions

Each question comes with an explanation, so you can check the wording before it goes into your course.

Built from your own material

Questions are drawn from the PDFs, slides, DOCX files, text or images you upload, not from a generic bank.

Moodle XML export on Pro

Pro exports Moodle XML and QTI 2.1 files, alongside bulk upload and a stronger AI model.

How it works

Upload your material

Add a lecture PDF, slides, notes or a photo of a textbook page. Images are read with text recognition.

Choose question types and review

Pick multiple choice, true/false or short answer, then edit any question or explanation that does not match your course.

Export and import into Moodle

On Pro, export Moodle XML and import it under Question bank, then add the questions to your quiz.

DeckOwl starts from your own material. It drafts questions and explanations from the document you upload, so the file reflects your lecture. You still review and edit before anything reaches students, which keeps the teaching decisions with you.

Explore related topics

Frequently asked questions

How do I write a true/false question for Moodle XML import?

Use a question element with type truefalse, then add two answers with the text true and false. Set fraction to 100 on the correct one and 0 on the other.

Why does my Moodle XML file import with no questions?

The most common cause is a malformed tag or a missing quiz root element around the questions. Validate the XML file, then check the import messages in Moodle to find the line that failed.

Is Moodle XML export free?

No. Moodle XML export is a Pro feature at $14.99 per month, while the Free plan includes 3 generations per month and study in the browser only.

Do I need a credit card to start?

No. You can start on the Free plan without a credit card and upgrade later if you need exports.

Generate free quizzes

Keep exploring the topic

Review the main ideas visually or practice recalling them.