Skip to main content

Moodle XML Export

Export any selection of questions from your question bank as a Moodle-compatible XML file — ready to import into Moodle, or any LMS that understands the Moodle question format (Blackboard, Canvas, and OpenLMS all accept it).

Moodle XML export

Who Can Use It

Any user with the questions:export permission. In practice: teachers, org admins, and super admins.

How It Works

The page lives at Tools → Moodle XML Export (also linked from the question bank "Export" menu). It has three parts:

  1. Question Browser — browse and select questions from the bank using the same filters as the question bank (subject, taxonomy, difficulty, tags).
  2. Exam Profile — pick a preset scoring profile so the XML imports into Moodle with the right defaults (grade, negative marks, answer shuffling, answer numbering).
  3. Preview / Download — inspect the generated XML before downloading, or copy it to the clipboard.

Exam Profiles

ProfileDefault gradeNegative markingAnswer numberingShuffle
CBSE / General10abcYes
JEE Main4−25%noneNo
JEE Advanced3−33.33%noneNo
NEET4−25%noneNo
Customconfigurableconfigurableconfigurableconfigurable

Choosing Custom exposes fields for default grade, penalty, wrong-answer fraction, answer numbering, and shuffle.

Step-by-Step Export

  1. Open Tools → Moodle XML Export.
  2. (Optional) Set a category path (e.g. Physics/Class 12/Thermodynamics) — Moodle uses this to file the questions on import.
  3. Select questions in the browser. Use the filters to narrow the bank, then tick the checkboxes.
  4. Pick an Exam Profile.
  5. (Optional) Click Preview to inspect the generated XML.
  6. Click Download XML — the file saves as {title}.xml and is ready to import into Moodle's question bank.

Importing from a Document

The same page exposes Import from document, which opens the Documents-to-Questions modal. Questions extracted and approved there land directly in the bank and become available for export on the same page.

Supported Question Types

Moodle XML export normalizes Testify question types into Moodle's native types:

Testify typeMoodle type
MCQ (single / multi)multichoice
True / Falsetruefalse
Numericalnumerical
Short Answershortanswer
Fill in the Blankcloze
Match the Followingmatching
Essayessay

Case-based and assertion–reason questions are rendered as multichoice with the stem bundled into the question text.

FAQs

Do images, math (LaTeX), and tables survive the export? Yes. Math is emitted as MathJax-style markup, images are embedded as base64, and tables are preserved as HTML inside the <questiontext> element.

Can I re-export a previous export? There is no export history UI. Re-select the questions and download again.

Is Word export still supported? No. Word export was removed in April 2026 — Moodle XML is now the only LMS-ready export format. For per-paper PDF, use the Paper Builder's Print action.