← All projects
Open source2026

Export Quiz Questions

Moodle block that exports a quiz's questions, or every quiz in a course at once, in any installed format (Moodle XML, GIFT, Aiken, XHTML, and more), preserving the question bank structure so a re-import recreates it automatically. Verified on Moodle 4.5 LTS, 5.2, and 5.3 LTS.

Moodle 4.5 LTSMoodle 5.2Moodle 5.3 LTSGPL v3

At a glance

Type
Moodle block
Requires
Moodle 4.0 or later
Latest version
1.3.2
License
GNU GPL v3 or later
Year
2026
MoodlePHPQuizzes

Why it exists

Moodle's question bank makes it hard to pull together everything a quiz actually uses when those questions are scattered across several subcategories, or to carry a whole course's quiz question banks over to a different course.

This block builds that structure for you, then exports it: one grouping category per course, one subcategory per quiz, rebuilt on every export so it always matches the quiz's current questions.

Highlights

One quiz, or all of them

Export a single quiz, or every quiz in the course together in one file.

Structure survives re-import

Re-importing recreates the quiz subcategories, or the whole course structure, automatically.

Moodle 4.x and 5.x

Handles both question bank models transparently, with no configuration.

Any installed format

Moodle XML, GIFT, Aiken, XHTML, and any other format your site has installed.