Home › Quizzes › Platforms & LMS › Moodle Quiz XML Export

Turn your notes into a Moodle quiz XML file

Upload a PDF, slides or notes and get multiple-choice, true/false or short answer questions with explanations, ready to export as Moodle XML on the Pro plan.

Create quizzes nowFree · No credit card required

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

How Moodle XML export fits into your quiz workflow

A Moodle quiz XML converter is useful when you already have lecture slides or reading notes and want the questions in your course without retyping them. DeckOwl reads PDF, DOCX, PPTX, plain text and photos of pages, then drafts multiple-choice, true/false and short answer questions with explanations.

  • Works from PDF, DOCX, PPTX, plain text and photos of pages
  • Generates multiple-choice, true/false and short answer questions
  • Includes an explanation for each question to check understanding
  • Exports Moodle XML on the Pro plan, with QTI 2.1 also available
Example Moodle XML question format checks
In a Moodle XML file, which element is the root that wraps all questions?The quiz element. Every question sits inside it as a question element, so a file with no quiz root will not import as a set of questions.
Which question type value is used for a true/false question in Moodle XML?truefalse. Moodle reads the type attribute on the question element to decide how to display and grade the question.
What does fraction 100 on an answer mean in Moodle XML?That answer earns full credit. Incorrect answers are set to 0, and partial credit uses other percentages on separate answers.
Which element holds the visible text of a question in Moodle XML?questiontext, with a text child. Wrapping HTML in a CDATA block keeps tags such as bold or line breaks from being read as XML markup.
Which element gives a Moodle question its label in the question bank?name, with a text child. The label is for teachers managing the bank, so it should be short and distinct from the question text itself.
Generate the full set

Starts from your own material

Upload PDF, DOCX, PPTX, plain text or photos of pages, and questions are drafted from the content you already teach.

Three question types

Multiple choice, true/false and short answer questions, each with an explanation so students see why an answer is right.

Moodle XML export

Pro plan users can export the finished quiz as Moodle XML, alongside QTI 2.1, for import into their course.

How it works

Upload your source

Add a PDF, DOCX, PPTX, text file or photo of a page. No credit card is needed to start.

Review the questions

Check each generated question and explanation, then edit anything the source text may have misread.

Export to Moodle

On the Pro plan, download the quiz as Moodle XML and import it into your course question bank.

Moodle expects each question wrapped in a specific structure, with a question type, a name, question text and answer fractions that mark the correct option. Review the generated questions before you export, since text pulled from a photographed page can be misread.

Students can also study the same questions in the browser with spaced repetition, so the quiz you import into Moodle and the review you do yourself come from one source.

Explore related topics

Frequently asked questions

What does a Moodle XML quiz file need to import correctly?

The file needs a root quiz element containing one question element per item, and each question needs a type attribute, a name, and question text. Correct answers are marked with a fraction of 100, and incorrect answers carry 0 or a negative value.

Can I write Moodle XML questions by hand instead?

Yes, Moodle XML is plain text, so any editor can produce it. Writing dozens of questions with correct fraction values and CDATA blocks by hand is slow, which is why many teachers generate the questions first and then export them.

Does DeckOwl export Moodle XML?

Yes, Moodle XML export is included in the Pro plan at $14.99 per month. The Plus plan at $39 per year or $7.99 per month includes PDF, DOCX, Anki and CSV export.

Can I try the generator before paying?

The free plan includes 3 generations per month and studying in the browser, but exports are not included. No credit card is needed to start.

Generate free quizzes

Keep exploring the topic

Review the main ideas visually or practice recalling them.