Turn your lecture notes into a Moodle XML quiz file
Upload a PDF, slides or notes, get multiple-choice, true/false or open questions with explanations, and export them in the Moodle XML format for your question bank.
How the Moodle quiz XML format is built
The moodle quiz XML format is a plain-text file that wraps each question in a question element, with a type attribute, question text, answers and feedback. Moodle reads that structure when you import a question file, so a whole quiz can be loaded in one step instead of typed one item at a time.
- Each question element carries a type such as multichoice, truefalse or shortanswer.
- Answer fraction values set credit: 100 marks the correct option and 0 marks a wrong one.
- Question text and feedback can hold HTML when it is wrapped in CDATA.
- Test the import on a small sample in a course you can delete before loading a full bank.
Import-ready Moodle XML
Export questions as Moodle XML on the Pro plan and import them straight into your question bank.
Explanations in every item
Each question includes an explanation, so the file carries feedback that students can learn from.
Built from your own material
Upload a PDF, DOCX, PPTX, notes or a photo of a page and get questions drawn from that source.
How it works
Upload your material
Add a PDF, DOCX, PPTX, text notes or a photo of a page. Scanned pages are read with text recognition.
Generate and review
Choose question types, then check the answers and explanations and edit anything that does not match your course.
Export and import
On Pro, export Moodle XML and import it through your course question bank.
Writing that file by hand is slow, and small errors such as a missing fraction value or an unclosed tag can stop an import. DeckOwl starts from your own lecture slides or notes, drafts multiple-choice, true/false or open questions with explanations, and gives you the Moodle XML file to check before you upload it.
Explore related topics
Moodle quiz XML import
Generate quiz questions from your notes and export Moodle XML for import into your course.
Moodle Aiken Format Quiz Guide
Write Moodle Aiken format quizzes and generate practice questions from your own notes.
Moodle Quiz File Format Guide
How the Moodle XML quiz format works, and how to build questions from your notes.
Moodle Quiz Format Question Maker
Make quiz questions from your notes and export them in Moodle XML format.
Moodle Quiz GIFT Format Guide
GIFT syntax with examples, plus how to turn your notes into Moodle-ready quiz questions.
Moodle quiz import format guide
Moodle XML and GIFT layouts explained, with import-ready questions from your own notes.
Moodle quiz question format guide
Compare GIFT, Aiken, Cloze and Moodle XML formats for your quiz questions.
Moodle Quiz Upload Format Guide
Moodle XML upload format explained, plus exporting your own notes as quiz questions.
Frequently asked questions
How do I write a Moodle XML quiz file by hand?
Start with a quiz root element, then add one question block per item with a type attribute, a name, question text, answers and feedback. Import the file from your Moodle question bank and check the preview before saving.
What does the fraction value mean in a Moodle XML answer?
It sets how much credit that answer earns as a percentage of the question. A fraction of 100 marks the fully correct option, and 0 marks an incorrect one.
Can I export Moodle XML on the free plan?
No. The free plan includes 5 generations a week and study in the browser only. Moodle XML export is included on Pro at $14.99 per month.
Which files can I upload to generate questions?
You can upload PDF, DOCX, PPTX, plain text or notes, and images of pages, which are read with text recognition. You can review every question before exporting.
Keep exploring the topic
Review the main ideas visually or practice recalling them.
A-Level History Quizzes from Your Notes
Turn your own A-level history notes and slides into quizzes and flashcards for revision.
Flashcard Layout Tips for Studying
Layout tips for clearer flashcards, and an AI tool that makes them from your own notes.
Essay Mind Map Example
See how thesis, claims, and evidence map out, then make one from your notes.
Best Mind Map Maker App
Compare what to look for in a mind map maker app and build one from your own notes.