Skip to main content

Create tests

How to import a Word document as an online quiz in rayQuiz

Process .docx files automatically: extract question structures, options, embedded images, data tables, answer keys, and explanations.

The Word import feature converts document files (.docx or .doc up to 15 MB) into structured online quizzes. The system analyses question numbering hierarchies, recognises answer keys, and extracts embedded graphic assets automatically.

5 mins · 6 steps

  1. 1

    Download standard format templates

    To ensure accurate extraction, download our pre-formatted .docx templates. Each template models standard question numbering, choice separation, and answer key designations.

    By question format8

    By test structure3

    By certificate exam8

  2. 2

    Format your Word document specifications

    Start each question with standard numbering ("Question 1." or "1."). Start each choice with "A.", "B.", "C." or "D."; choices can sit on separate lines or in two or four columns on one line. The system supports three answer key conventions: (1) An "Answer: B" line below the item; (2) An asterisk prefix on the correct option (*B. Paris); or (3) Red font colour on the correct choice. Explanations are recognised via an "Explanation:" prefix. Appended answer key blocks at the end of the document (such as "ANSWER KEY: 1.B 2.A...") are also processed automatically.

    Question 1. What is the capital of France?
    A. Lyon
    *B. Paris
    C. Nice
    D. Lille
    Answer: B
    Explanation: Paris is the capital of France.
    
    Question 2. The Earth orbits the Sun.
    A. True
    B. False
    Answer: A
    
    Question 3. The capital of Japan is [[Tokyo]].
    Download starter Word template (.docx)

    Tip: Tiered question banks using cognitive tags like [<DE>], [<TB>], [<KH>] are supported, recognising keys formatted in bold, underlined, or coloured text.

    Quiz creation dialog with the option to import from a Word file
  3. 3

    Format reading passages, fill in the blanks, and matching questions

    Place shared reading passages between [PASSAGE] and [END PASSAGE] tags. Mark fill-in-the-blank gaps with double square brackets [[keyword]]. For matching questions, insert a two-column table in the Word document with matching pairs on each row.

    [PART 1: READING]
    [PASSAGE] Cognitive Benefits of Reading
    Reading regularly expands lexical range and sharpens cognitive focus.
    
    Question 4. What does regular reading develop?
    A. Fatigue
    *B. Lexical range
    C. Disorientation
    [END PASSAGE]
    
    Question 5. Match countries with respective capitals:
    | Vietnam | Hanoi |
    | Japan   | Tokyo |

    Tip: Do not start paragraphs within passage blocks with number prefixes like "1." or "Question 1." to prevent the system from mistaking them for new questions.

  4. 4

    Format Listening, Writing, and Speaking tasks

    Enclose listening units between [LISTENING] and [END LISTENING], including properties: "Audio: filename.mp3" and "Plays: 1". Once the document is uploaded, upload the corresponding audio file directly in the editor.

    [LISTENING] Section 1
    Audio: exam-audio.mp3
    Plays: 2
    Instructions: Write ONE WORD AND/OR A NUMBER.
    Price: £[[120]]
    [END LISTENING]

    Tip: All illustrations and tables in the Word file are automatically extracted and attached to their corresponding questions.

  5. 5

    Upload and process the Word file

    In the setup dialogue, choose "Import from Word". Drag and drop the .docx file into the upload area or browse files from your device, then select "Import questions". The system will parse and transfer the content into the editor.

    Upload interface for processing the Word file
  6. 6

    Check live preview and save quiz

    The system displays the total number of successfully extracted questions. The preview pane on the right shows the quiz layout and identified answer keys. Review the content carefully, then click "Save Quiz".

    Tip: If any question lacks an identified answer key, an alert banner appears at the top so you can add an asterisk (*) before the correct option.

    Quiz preview showing extracted questions and answer keys

Frequently asked questions

Does the Word import feature accept PDF files directly?
No. The Word import feature only supports .doc and .docx formats. For PDF documents or scanned question sheets, use the "Create with AI" feature with document attachments.
Are embedded images preserved during the import process?
Yes. All diagrams, tables, and images embedded in the Word file are automatically extracted, securely stored, and linked to their corresponding questions.
How do I write the key for multi-statement true/false questions?
Any of these works in the "ĐÁP ÁN" (answer key) section at the end: "Câu 2: a) Đúng b) Sai c) Đúng d) Sai", "Câu 2: ĐSĐS", "2 – Đ S Đ S", "2. True, False, True, False", several on one line ("1.ĐSĐS 2.SSĐĐ"), or a table with a, b, c, d columns. See "Write multi-statement true/false questions".