VidQuiz

By output · Moodle GIFT generator

Moodle GIFT format generator: GIFT format converter and question generator for Moodle

Most GIFT tools reformat questions you already typed. This one writes the questions from your lecture or notes, then hands you the GIFT file.

Sample quiz
Saved output. Run your own video free on the home page

What VidQuiz reads: paste a YouTube link and VidQuiz watches the video itself. For any other source (Vimeo, an MP4, a screen recording, an upload) paste that video’s transcript and VidQuiz writes the questions from it.

See how it works

Questions from your video · answers and explanations · edit before you share

Free demo: 3 quizzes, one time, no card needed

The short answer

A Moodle GIFT format generator produces the plain text .txt file that the Moodle question bank imports, with the correct answer marked by an equals sign and the wrong ones by a tilde. Nearly every GIFT tool you will find is a reformatter: you type the questions, mark the right answers with an asterisk, and it rewrites them in GIFT syntax. VidQuiz starts before the questions exist. Paste a YouTube lecture link, upload a recording with its transcript, or paste up to 60,000 characters of notes, and it drafts multiple choice, true or false and short answer questions, then exports a UTF-8 GIFT file with per answer feedback that imports through Question bank, Import, GIFT format.

People search for a GIFT generator for two very different reasons, and the right tool depends entirely on which one you have.

The first reason is that the questions are finished and stuck in the wrong place. They sit in a Word document, a Google Doc or an old paper test, and Moodle will not read any of those, because core Moodle has no Word, Excel or CSV question importer. That is a syntax job. GIFT is fiddly to type by hand (one stray colon or curly brace and the import fails on that question), so a small family of free converters exists to add the markup for you, and if that is your situation they are the right answer. The comparison table below names them and says what each one reads.

The second reason is that the question bank is empty. You recorded the lecture, the training session or the webinar, or you have a chapter of notes, and somebody still has to write thirty questions about it before anything can be converted. A converter cannot help with that, because a converter needs questions as input. That is the job VidQuiz does: it reads the material, writes the questions with the correct answer marked, attaches a one line explanation as Moodle feedback, and exports the whole set as a GIFT file you import in under a minute. Every question is editable before export, so the file that reaches Moodle is the one you approved.

At a glance

What each GIFT generator reads, writes and costs

Swipe left to see all columns →

Tool What you give it What it does Cost and setup, read first-party September 2026
Moodle question editor Nothing. You type each question into a form Saves straight into the question bank, no file involved Included with Moodle. The slowest route by far once a bank passes a few dozen items
Text2Gift converter Questions pasted as plain text, correct answers marked with an asterisk, a blank line between questions Converts them to GIFT. Handles single answer, multiple answer, short answer, numerical, essay and true or false Free web page. Donors receive a code that lifts the usage restrictions
moodle-gift-generator on GitHub Plain text questions in its own numbered format Converts them to GIFT. Multiple choice and matching only Free, MIT license. You run it yourself with Node.js 16 or newer, or in Docker
GIFTGenerator A choice from its built in problem templates Produces randomized math quizzes, from basic addition up to algebra and geometry, as GIFT Free Java 8 desktop app for Windows, Mac and Linux. Maths only, it does not read your material
GETMARKED Digitaliser DOCX, PDF, question bank exports and many quiz file formats, GIFT included Reformats existing questions between formats, in both directions Basic $29 a year for 50 page credits. Personal $40 a year plus a $50 one-time license fee
VidQuiz A YouTube link read unaided, a recording with its transcript pasted alongside, or up to 60,000 characters of notes on their own Writes the questions, marks the answer key, adds feedback, then exports GIFT. Also QTI 1.2, CSV, Google Forms CSV, Blackboard .txt and PDF Three quiz one-off demo with every export, then plans from $19 a month or $9.50 a month billed annually. The only row that writes the questions

Text2Gift, moodle-gift-generator and GIFTGenerator read from their own pages and repository, GETMARKED from its own pricing section, VidQuiz from its pricing page, all in September 2026.

How do I import a GIFT file into Moodle?

Through the question bank, not through the quiz. On Moodle 5.0 and later, open the course, choose More, then Question banks, and open the bank you want. On 4.x the bank sits under the course question bank menu. Pick Import from the page menu, choose GIFT format, drop the .txt file into the upload box and press Import. Moodle then shows every question it parsed, one per line, and you press Continue to save them. The questions land in the bank, and you add them to a quiz afterwards with Add, then From question bank.

Two settings on that import screen decide where the questions end up. Get category from file tells Moodle to honor the category line at the top of the file, which in a VidQuiz export is the title of the quiz, so each generated set lands in its own tidy category instead of mixing into Default. Leave it ticked unless you want everything in the category you have selected.

Generate a quiz above, choose the Moodle GIFT export, and the file is already in the shape that screen expects: UTF-8 plain text, one blank line between questions, special characters escaped.

  • Import lives in the question bank, not in the quiz settings
  • Choose GIFT format before you upload
  • Tick Get category from file to keep each set in its own category
  • Moodle previews every parsed question before it saves anything
  • Build the quiz afterwards from the bank

Why does my GIFT file fail to import?

Almost always because of an unescaped special character. GIFT uses the colon, the equals sign, the tilde, the hash and both curly braces as markup, so a question that says "What is 2 + 2 = ?" or quotes a time like 10:30 breaks the parser at that exact spot unless the character is written with a backslash in front of it. Hand typed files hit this constantly, and converters that do not escape properly pass the problem on.

The second cause is encoding. Moodle expects the file as UTF-8. A file saved from Word or Notepad in another encoding turns accented letters, curly quotes and dashes into garbage, or stops the import outright. The third is structure: a missing closing brace swallows the next question, and a missing blank line between questions merges two into one.

The quiet failure is worse than any of those. A multiple choice block where no answer carries an equals sign imports without complaint, and every choice scores zero. VidQuiz checks for exactly that before it writes the file, and when the stored answer does not match an option it adds the answer as its own correct choice rather than ship an item nobody can get right.

  • Escape these with a backslash: colon, equals, tilde, hash, left brace, right brace
  • Save the file as UTF-8 plain text
  • Close every brace, and leave one blank line between questions
  • Check each multiple choice block has one line starting with an equals sign

Can I convert a Word document to GIFT format?

Yes, if the document already holds finished questions. Text2Gift takes questions pasted from any word processor with the correct answers marked by an asterisk and returns GIFT, free, with a donor code that lifts its restrictions. GETMARKED Digitaliser reads the DOCX file directly and starts at $29 a year. Both keep your wording exactly, which is what you want when the questions were already reviewed.

VidQuiz is not a Word converter and we would rather say so than waste your afternoon. It does not read DOCX, PDF or PowerPoint files at all. What it does read is text, so if the document is lecture notes or a chapter rather than a question list, copy the text into the paste mode and it writes new questions from it. That is a different job from conversion: the wording is ours, and you review it.

What does the VidQuiz GIFT export contain?

A single .txt file in UTF-8. It opens with two comment lines naming the quiz and the import path, then a category line set to the quiz title, then one block per question with a blank line between them. Each question gets a name built from the first 60 characters of its text, which is what you see in the question bank list, so you can tell thirty imported items apart without opening each one.

Multiple choice questions are written one answer per line, the correct one starting with an equals sign and carrying the explanation as its feedback, the rest starting with a tilde. When the question came from a recording, the timestamp is added as general feedback, so a student reviewing an attempt sees which minute of the lecture covered it. True or false questions use the bare TRUE or FALSE token with the explanation in both feedback slots, so it shows whichever way the student answers. Short answer questions carry one accepted answer.

A quiz holds up to 30 questions. Question text is plain text, so bold, images and formulas do not travel in the file.

  • UTF-8 .txt, named after the quiz
  • A category line set to the quiz title
  • Question names taken from the first 60 characters
  • Explanation as answer feedback, timestamp as general feedback
  • Multiple choice, true or false and short answer
  • Up to 30 questions per quiz

Is GIFT better than Moodle XML for importing questions?

For questions made of text, GIFT is the easier file to live with. You can open it in any editor, read it, fix a typo and import again. Moodle XML carries more, including images embedded in the file, HTML formatting and every setting of every question type, which makes it the right format for moving a whole bank between Moodle sites, and the wrong one to write or check by hand.

The choice is really made by the content. A bank of text questions with feedback is a GIFT job. A bank full of diagrams, formulas and chemistry notation belongs in Moodle XML. Aiken, the third plain text option, is simpler still but carries multiple choice only and no feedback at all, so the explanation for each question is lost on import.

Can a GIFT generator write the questions for me?

The converters cannot, by design, and GIFTGenerator only produces math items from its own templates. VidQuiz is the tool on the table that starts from your material. Paste a YouTube link and it reads the video directly. For a Panopto, Kaltura or Zoom recording, or an MP4 you upload, paste the transcript alongside it, because VidQuiz has no speech to text of its own and tells you so up front. For a textbook chapter or a set of notes, the paste mode takes up to 60,000 characters with no video at all.

What comes back is a first draft for a teacher to review, not a validated exam. Every question, option, answer and explanation is editable before you export, which is where most people cut one or two items and fix a distractor. The signed out preview runs the real generator on a short sample but does not download files, so exports start once you have an account.

Does the same question set work outside Moodle?

Yes, and that is often the reason to generate rather than hand type GIFT. The same quiz exports as a QTI 1.2 package for Canvas, Brightspace and Sakai, a tab delimited .txt for Blackboard in both course views, a Google Forms ready CSV, a plain CSV and a PDF with the answer key. A department that teaches the same course on Moodle and on Canvas fills both from one set without converting anything twice.

One limit is worth knowing before you plan around it. Moodle itself does not import QTI, so a QTI package sent to a Moodle site does nothing. GIFT is the file for Moodle, full stop.

Spec

GIFT syntax for each question type, and what VidQuiz writes

Swipe left to see all columns →

Question type GIFT syntax Written by VidQuiz What to watch for
Multiple choice ::Name:: Question text {=right ~wrong ~wrong ~wrong} Yes, one answer per line, with the explanation as feedback on the correct choice A block with no equals sign imports as a question where every choice scores zero, and Moodle does not warn you
True or false ::Name:: Statement {TRUE} or {FALSE} Yes, with the explanation written into both feedback slots Moodle wants the bare TRUE or FALSE token, never an option list reading True and False
Short answer ::Name:: Question text {=accepted answer =another accepted answer} Yes, one accepted answer with feedback Every accepted answer starts with an equals sign and there are no tilde lines
Multiple answers {~%50%first right ~%50%second right ~%-100%wrong} No. Every item VidQuiz writes has exactly one correct answer Percentages have to add up to 100 across the right answers
Matching {=term -> match =term -> match =term -> match} No Needs at least three pairs
Numerical {#answer:tolerance} No The hash sign straight after the brace is what marks it as numerical
Missing word Text before {=right ~wrong} text after No The answer block sits inside the sentence rather than at the end
Essay ::Name:: Question text {} No. Short answer is used instead Empty braces, graded by hand

Syntax from the GIFT format page in the Moodle documentation. The VidQuiz column describes what the exporter writes today.

Related reading

Why VidQuiz

What you get with moodle gift generator

Written, then formatted

Converters need finished questions as input. VidQuiz reads a lecture link, a recording with its transcript, or notes you paste, and writes the items before a single line of GIFT is produced.

Feedback that survives the import

GIFT is the one plain text format Moodle reads that carries feedback. The explanation for each question goes in as answer feedback, and the timestamp goes in as general feedback.

Escaped the way Moodle parses it

Colons, equals signs, tildes, hashes and curly braces inside a question are escaped with a backslash, which is the single commonest reason a hand typed GIFT file fails on import.

What you can do

Everything moodle gift format generator gives you

Paste a YouTube link and VidQuiz reads the video itself; for anything else, upload it with its transcript. Either way it writes the questions and you edit anything before you share. You stay in control of the final quiz.

  • Fill an empty Moodle question bank from a recorded lecture
  • Turn a chapter of notes into a GIFT file without typing markup
  • Keep the explanation for each answer as Moodle feedback
  • Build a true or false check with the answer key already set
  • Load the same question set into Moodle and into Canvas
  • Stop losing questions to one unescaped colon

Quiz Studio

Try it on a video right here

Pick a sample or paste your own link, generate the quiz, then answer the questions. Each one is tied to a moment in the video, with the answer and a short explanation.

Sample quiz
Saved output. Run your own video free on the home page

Good questions

Questions about moodle gift generator

GIFT is a plain text format for writing quiz questions that Moodle imports into the question bank. Correct answers start with an equals sign, wrong answers with a tilde, the answers sit inside curly braces, and feedback follows a hash sign. It covers multiple choice, true or false, short answer, matching, numerical, missing word and essay questions.
No. VidQuiz writes new questions from a recording or from text you paste, then exports GIFT. To reformat questions that already exist, use Text2Gift for pasted text, GETMARKED Digitaliser for DOCX and PDF files, or moodle-gift-generator if you are comfortable running Node.js.
Yes. Each explanation is written as feedback on the correct answer for multiple choice, into both feedback slots for true or false, and onto the accepted answer for short answer. The timestamp from the source recording goes in as general feedback, shown after an attempt.
Every supported Moodle version. GIFT is one of the question formats that ships with core Moodle, alongside Aiken, Moodle XML, missing word, embedded answers and Blackboard, so no plugin or administrator setup is needed. Import it from the question bank and choose GIFT format.
The format has no fixed limit, and a VidQuiz quiz holds up to 30 questions, which imports in one pass. For a larger bank, generate several quizzes from different sections of the material and import each file, and the category line in each file keeps the sets apart.

Explore more

More ways to make a quiz from a video

Turn watch time into learning.

Most GIFT tools reformat questions you already typed. This one writes the questions from your lecture or notes, then hands you the GIFT file. Make your first quiz in seconds.

See how it works