Import Moodle questions in GIFT format
Many teachers have years of questions stored in Moodle. GIFT, a plain-text format, lets you take them to another platform without typing them again.
By Christophe Soares, university lecturer and creator of Clausa ·
What the GIFT format is
GIFT is Moodle’s plain-text format for questions. Each question has an optional title, the question text and the answers in curly braces: “=” marks the correct answer and “~” the wrong ones.
Example: ::Capital::What is the capital of Portugal? {=Lisbon ~Porto ~Coimbra}. True/false is written {T} or {F}, and an open question with empty braces {}.
How to export from Moodle
- In Moodle, open the course question bank.
- Choose “Export” and the “GIFT format”.
- Pick the category to export and download the .txt file.
Things to watch out for
- Images embedded in questions do not travel in GIFT: they need to be added again.
- Not every Moodle question type has an equivalent elsewhere (short answer, numerical, matching).
- Review marks and wrong-answer penalties after importing.
With Clausa
Clausa imports GIFT files into an assessment or a question bank, with a preview before you confirm. It converts true/false, multiple choice (single answer or several correct ones, including weights and penalties such as -25%) and open questions, and accepts titles, categories, comments and Markdown or HTML text.
Questions without an equivalent (short answer, numerical and matching) are listed in a warning for the teacher to review. Once imported, they can be drawn at random so that each student gets a different test.
Frequently asked questions
- Can I keep using Moodle?
- Yes. Many institutions keep Moodle for course content and use a dedicated platform for the exams that need more security.
- Does importing delete anything?
- No. In Clausa, imported questions are added to the existing ones and can be edited afterwards.
More guides
- How to stop students using ChatGPT in computer-based examsWhat works to stop ChatGPT and other AI in computer-based exams: a locked-down environment, live monitoring and a different exam for each student.Read the guide →
- Safe Exam Browser: how to run secure exams on computersA Safe Exam Browser (SEB) guide for teachers: what it is, installing it, the .seb file, the Config Key and making sure the exam only runs locked down.Read the guide →
- Digital tests in secondary schools: how to run them securelyHow to run computer-based tests in secondary schools, in computer rooms or on students’ laptops: preparation, questions, security and automatic marking.Read the guide →
- Programming exams with automatic gradingHow to run programming exams on computers: an in-browser code editor, visible and hidden tests, several languages, automatic grading and an AI-free exam.Read the guide →
- Remote exams with live camera proctoringHow to run remote online exams with integrity: a locked-down environment, live camera proctoring, absence logs and data protection considerations.Read the guide →