Examplary
Start for free
Developer docs

Moodle importing

Examplary supports importing quizzes from Moodle, using their XML export format.

Moodle XML format is a widely used format for exporting quizzes from Moodle. Examplary can read this format and convert it into its own question types.

This means you can use various other tools to create quizzes, like the open-source R/Exams, and then import them into Examplary.

Supported question types

Moodle typeImported as
multichoicemultiple-choice-single-answer or multiple-choice-multiple-answers, depending on Moodle's <single> setting for the question (not on how many answers are marked correct)
truefalsemultiple-choice-single-answer
essayessay
descriptionparagraph
anything else (e.g. shortanswer, numerical, matching, cloze)single-line-text, using only the first answer marked correct as the reference for AI grading

Question types not in the first four rows still import, but degrade to a plain single-line-text question — review these after importing.

Questions marked <hidden>1</hidden> in the Moodle XML are skipped entirely and won't appear in the imported quiz.

Example XML

<?xml version="1.0" encoding="UTF-8"?>
<quiz>
  <question type="shortanswer">
    <name>
      <text>Actinium</text>
    </name>
    <questiontext format="html">
      <text>The symbol for actinium is</text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.1000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="plain_text">
      <text>Ac</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
  </question>
 
<question type="shortanswer">
    <name>
      <text>Calcium</text>
    </name>
    <questiontext format="html">
      <text>The symbol for calcium is</text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.1000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="plain_text">
      <text>Ca</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
  </question>
</quiz>