Home › Quizzes › Platforms & LMS › Moodle Quiz Upload Format Guide

Create quizzes in the Moodle quiz upload format from your notes

Upload a PDF, slide deck or set of notes and get multiple-choice, true/false or short answer questions with explanations, ready to export as Moodle XML for your course.

Create quizzes nowFree · No credit card required

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

How the Moodle quiz upload format works

If your course runs on Moodle, the Moodle quiz upload format is an XML file that lists each question with its type, text, answer weights and feedback. Moodle reads that file in one import, so questions built outside the platform can go straight into a question bank.

  • Moodle XML files wrap each item in a question element with a type such as multichoice, truefalse or shortanswer.
  • Correct answers carry a fraction of 100, and incorrect options carry 0 unless you set partial credit.
  • Import through the question bank, choose Moodle XML format, and pick the category where the questions should land.
  • Always preview imported questions in Moodle once before assigning the quiz to students.
Example Moodle XML quiz questions and answers
Which element wraps each question in a Moodle XML quiz file?The question element, with a type attribute such as multichoice, truefalse or shortanswer, because Moodle uses that attribute to decide how the question is scored.
What fraction value marks the correct answer in a Moodle XML multiple-choice question?100, because fraction is a percentage of the question's grade, and incorrect options use 0 unless partial credit is set.
How is the correct answer written in a Moodle XML true/false question?As an answer element with fraction 100 on the correct option, paired with the other option at fraction 0, since Moodle's truefalse type uses the answers true and false.
Where do you import a Moodle XML file in Moodle?In the question bank, under Import, by choosing the Moodle XML format and selecting a destination category, so the questions can be reused in any quiz.
What does the name element hold in a Moodle XML question?A short internal title shown in the question bank, kept separate from the full question text so instructors can find items without reading each prompt.
Generate the full set

Moodle XML export

Questions download as a Moodle XML file that follows the import structure Moodle expects, with question types, answer weights and feedback in place.

Three question types

Multiple choice, true/false and short answer questions are generated from your own material, each with an explanation for the correct answer.

Review before you import

Edit wording, swap distractors or delete weak questions in the browser so only accurate items reach your Moodle question bank.

How it works

Upload your material

Add a PDF, DOCX, PPTX, plain text file or photos of pages. Photos are read with text recognition.

Choose question types

Pick multiple choice, true/false, short answer or a mix, then generate the set from your own content.

Export Moodle XML

On the Pro plan, download the Moodle XML file and import it through the Moodle question bank.

Writing that XML by hand is slow and easy to get wrong, especially the fraction values that mark correct answers. DeckOwl builds the questions from your lecture notes or readings first, then exports them in the structure Moodle expects, so you spend your time checking content rather than tags.

Explore related topics

Frequently asked questions

What does a Moodle XML quiz file look like?

It is a text file with a quiz root element containing one question element per item, and each question holds a name, question text, answer elements and optional feedback. The question type attribute tells Moodle how to score it.

How do I import a Moodle XML file into Moodle?

Open the course question bank, choose Import, and select the Moodle XML format. Pick the destination category, upload the file and confirm, and the questions will appear in the bank for use in any quiz.

Can I export Moodle XML on the free plan?

No. Free accounts get 3 generations per month and can study in the browser, but exports are paid features, and Moodle XML export is included in the Pro plan at $14.99/month.

Do I need a credit card to try DeckOwl?

No. You can start on the free plan without a credit card, and students can get 40% off paid plans with a school email.

Generate free quizzes

Keep exploring the topic

Review the main ideas visually or practice recalling them.