Aiken format for Moodle

Export quizzes in Aiken format

Download multiple-choice and true/false questions as a plain Aiken text file that Moodle's question bank imports as it is. Free on every plan.

  • No credit card required
  • 20 free quiz generations

From quiz to Moodle question bank

One text file, imported from the question bank's own menu.

  1. 1

    Make or open a quiz

    Generate one from a topic, notes, a PDF, a photo or a web page, or open a quiz you wrote. The export uses whatever is in the editor.

  2. 2

    Download the Aiken file

    Open Download / Export and choose AIKEN, or Copy Text (AIKEN) to put the same text on your clipboard.

  3. 3

    Import it in Moodle

    In your course's question bank choose Import, select Aiken format, upload the .txt file and click Import.

  4. 4

    Add the questions to a quiz

    The questions land in the bank as multiple-choice questions, ready to add to any Moodle quiz in that course.

The file

What an Aiken export looks like

A UTF-8 plain-text .txt file. Each question is one line, each option a line starting with a capital letter and a full stop, then one ANSWER line with a single letter. A blank line separates questions.

quiz_aiken.txt

What is the capital of France?
A. Berlin
B. Madrid
C. Paris
D. Rome
ANSWER: C

Water boils at 100 °C at sea level.
A. True
B. False
ANSWER: A

How each question type is exported

Question types in the Aiken export
Question in AI Quiz MakerIn the Aiken file
Multiple choice, one answerExported as written, with up to 26 options lettered A to Z.
True / falseExported as a two-option question, A. True and B. False. Moodle imports it as multiple choice, not as its own True/False type.
Multiple choice, several answersLeft out. Aiken has room for one correct letter only, so Moodle would import it with the wrong answer key.
Short answer, fill in the blank, matching, ordering, FAQLeft out. Aiken only describes multiple-choice questions.

What the Aiken format is, and what it can hold

Aiken is a plain-text format for multiple-choice questions that Moodle has been able to import for many years. A question is one line of text. Each option follows on its own line, starting with a capital letter, a full stop or a closing bracket, and a space. A final line reads ANSWER: followed by the letter of the correct option. A blank line separates one question from the next. Because it is just text, you can open the file in any text editor, read it, and fix a typo before you upload it.

That simplicity is also its limit. Aiken has no place for feedback, explanations, images, points or a second correct answer, and it only describes multiple-choice questions. Moodle's importer reads the first character after ANSWER: and ignores the rest, so a line such as ANSWER: A, C quietly becomes a question whose only correct answer is A. It also expects every question and option to fit on one line. A line that does not start with a letter and a full stop is read as the start of a new question, which is why notes or comments in an Aiken file break the import.

How our export builds the file

The export writes only what Aiken can hold, so Moodle reads every question the way you wrote it. Multiple-choice questions with one correct answer go in as they are, with options lettered from A. True/false questions become two options, A. True and B. False, with the correct letter on the ANSWER line. Line breaks inside a question or an option are turned into spaces, because Aiken needs everything on one line.

Everything else is left out rather than written in a way Moodle would misread. That covers multiple-choice questions with more than one correct answer, short-answer, fill-in-the-blank, matching, ordering and FAQ questions, and the rare question whose text itself begins like an answer line, for example a question starting with "A. " or with "ANSWER:". When anything is left out, a message after the download tells you how many questions were skipped and why. If nothing in the quiz fits, nothing is downloaded and the message says so.

The file is saved as UTF-8 plain text, which is what Moodle requires, so accented letters, other alphabets and our maths symbols such as x² and √ come through unchanged. The Copy Text (AIKEN) option in the same menu follows exactly the same rules and puts the text on your clipboard instead, which is handy if you want to paste it into a file of your own or check it first.

Importing the file into Moodle, step by step

In Moodle 5.0 and later, open your course and choose More → Question banks, then open the bank you want to use. In Moodle 4.x, choose More → Question bank. From the menu at the top of the question bank page, choose Import. Under File format select Aiken format. Under General you can pick the category the questions go into; the default category for the bank is fine for a first try. Under Import questions from file, drag in the .txt file or choose it, then click Import.

Moodle reads the file and lists the questions it found, with any it could not read. Click Continue to return to the question bank, where the new questions appear as multiple-choice questions named after the start of their text. Open one or two to check the correct answer is marked and, if you like, add general feedback, which Aiken cannot carry. Then add the questions to a quiz activity in the course from the quiz's Questions page, as you would any other bank questions.

When to choose Moodle XML, GIFT or QTI instead

Aiken is the plainest route into Moodle and the easiest to check by eye, but it drops a lot. If your quiz has questions with several correct answers, short-answer questions, or true/false questions you want imported as Moodle's own True/False type, choose Moodle XML from the same Download / Export menu. Our Moodle XML export writes multiple-choice questions with one or several correct answers, true/false and short-answer questions, and keeps each question's explanation as general feedback.

GIFT is Moodle's other text format and also sits in the export menu. If your school uses Canvas rather than Moodle, use the QTI export, which downloads as the .zip package Canvas imports; for Brightspace, use CSV → BrightSpace, which follows Brightspace's question template. Aiken was designed around Moodle's importer, so check another system's own documentation before relying on Aiken there.

What doesn't carry over

  • Explanations and source quotes: Aiken has no feedback field. Moodle XML keeps explanations as general feedback.
  • Multiple-choice questions with more than one correct answer.
  • Short-answer, fill-in-the-blank, matching, ordering and FAQ questions.
  • Moodle's own True/False question type: true/false arrives as two-option multiple choice.
  • Line breaks and formatting inside a question or option, which become single spaces.
  • The quiz title, points and time limits, which you set in Moodle.
  • Later edits and results. The questions in Moodle are a separate copy.

Questions about the Aiken export

Got questions? We've got answers.

Yes. Every export format, Aiken included, works on every plan, including free. The free plan includes 20 AI quiz generations in total with up to 15 questions each. Pro is $10 a month or $72 a year with 300 AI generations a month.

Multiple-choice questions with one correct answer, and true/false questions as two options (A. True, B. False). Everything else is left out, and the export tells you how many questions were skipped.

Aiken allows one correct letter per question. Moodle reads only the first letter after ANSWER:, so a question with two correct answers would import with the wrong key. Export Moodle XML instead to keep them.

Not in Aiken, which has no feedback field. The Moodle XML export keeps each explanation as the question's general feedback.

Make sure you chose Aiken format under File format and uploaded the .txt file unchanged. If you edited it, keep each question and option on one line, keep the capital letters and the word ANSWER in capitals, and save it as UTF-8 plain text.

Earlier versions of this export wrote short-answer questions as comment lines and multiple-answer questions with several letters, which Moodle misreads. Export the quiz again: the current file contains only questions Moodle can import correctly.

Still have questions?

Our team is here to help. Email us at support@aiquizmaker.co

Fill your Moodle question bank faster

Generate questions from your own material, check them, and import them into Moodle as Aiken or Moodle XML.

  • No credit card needed
  • Every export free on every plan