---
title: "Brightspace Question Library File Rules | Formswrite"
description: "What a Brightspace (D2L) question library .zip holds, how each option is scored, which question types survive the import, and what to fix first."
canonical: https://formswrite.com/formats/brightspace
last-updated: 2026-11-06
---

Brightspace import rules

# What a Brightspace question library file needs to import

Brightspace imports questions into the Question Library, then you add them to a quiz. Drop your .zip here to see what D2L will read, option by option, before you upload it.

[Fix it in Formswrite](/accounts/signup?source=formats-brightspace)[Check a file](#check)

## The short version

A Brightspace package is a .zip with an imsmanifest.xml and one XML file holding an objectbank, D2L’s question library, in a QTI 1.2 dialect with d2l\_2p0 extensions. The manifest marks the resource as d2lquestionlibrary, which is what sends it to the Question Library rather than straight into a quiz.

Each question names its Brightspace type in qmd\_questiontype (Multiple Choice, Multi-Select, Short Answer, Written Response) and gives a score to every option, 100 for right and 0 for wrong. That makes the answer key easy to read, and easy to lose when no option is marked.

Brightspace exports also put a question library next to each quiz, so the same question appears twice. Formswrite keeps one copy of each by its identifier and reads the D2L question types listed below.

The checker on this page reads your package that way and lists questions with no option scored 100.

## Check your Brightspace (D2L) file

Drop a .zip or .xml file here, or choose one. It is read in memory to build the report and never stored.

Choose a file[Fix it in Formswrite](/accounts/signup?source=formats-brightspace)

unit-3-cells.xml

```
<questestinterop>
  <objectbank xmlns:d2l_2p0="http://desire2learn.com/xsd/d2lcp_v2p0" ident="QLIB_4821">
    <section d2l_2p0:id="1" ident="SECT_193022" title="Unit 3 Cells">
      <item d2l_2p0:id="1" ident="OBJ_582014" label="QUES_10293_48211">
        <itemmetadata><qtimetadata>
          <qti_metadatafield>
            <fieldlabel>qmd_questiontype</fieldlabel>
            <fieldentry>Multiple Choice</fieldentry>
          </qti_metadatafield>
          <qti_metadatafield>
            <fieldlabel>qmd_weighting</fieldlabel>
            <fieldentry>1.0</fieldentry>
          </qti_metadatafield>
        </qtimetadata></itemmetadata>
        <resprocessing>
          <respcondition title="Response Condition 1"> ... <setvar action="Set">0</setvar></respcondition>
          <respcondition title="Response Condition 2"> ... <setvar action="Set">100</setvar></respcondition>
        </resprocessing>
      </item>
    </section>
  </objectbank>
</questestinterop>
```

What the file contains

## What a Brightspace package contains

Two files in the .zip. This is one multiple choice item from the question library file, trimmed.

1.  ### imsmanifest.xml
    
    One resource with material\_type d2lquestionlibrary pointing at the question file.
    
2.  ### objectbank
    
    The Question Library. One section named after the quiz, one item per question.
    
3.  ### qmd\_questiontype
    
    Multiple Choice, Multi-Select, Short Answer or Written Response.
    
4.  ### respcondition per option
    
    Each option gets its own score: 100 when it is right, 0 when it is wrong.
    

## Brightspace (D2L) import rules

Each rule comes from the code that reads and writes Brightspace (D2L) files in Formswrite. "Will not import" loses the question or the file, "Changes on import" alters it, "How it is read" is good to know.

1.  Will not import
    
    ### At least one option per question scores 100.
    
    A question exported with no key has every option at 0, so nobody can score on it.
    
    Fix: Set the key in the editor before export.
    
2.  How it is read
    
    ### The package goes to the Question Library.
    
    Questions do not appear in a quiz until you add them from the library.
    
    Fix: After import, open the quiz and add questions from the Question Library.
    
3.  How it is read
    
    ### Each question is labelled Multiple Choice, Multi-Select, Short Answer or Written Response.
    
    Brightspace shows that type in the library.
    
    Fix: Nothing to fix.
    
4.  Changes on import
    
    ### Short Answer and Written Response questions are written with a choice response.
    
    They carry their Brightspace type label but no text box answer key, so open them in the library after import.
    
    Fix: Check short answer and written response questions in the Question Library and set their answers there.
    
5.  Changes on import
    
    ### Multi-Select questions are written as a one response item.
    
    The item carries the Multi-Select label and 100 on each right option, but its response allows one choice, so students may not be able to pick every right option.
    
    Fix: Open Multi-Select questions in the Question Library and check the answer setup before you use the quiz.
    
6.  How it is read
    
    ### The weighting is the question’s points, 1.0 by default.
    
    Quiz totals in Brightspace add these up.
    
    Fix: Set points in the editor before export.
    
7.  How it is read
    
    ### Options keep the order you wrote them in.
    
    Shuffling is off in the file.
    
    Fix: Turn on shuffle in the Brightspace quiz if you want it.
    
8.  How it is read
    
    ### Brightspace exports name their types in qmd\_questiontype.
    
    Multi-Select reads as checkboxes, True or False as true or false, Written Response as essay, Matching and Ordering as their own types.
    
    Fix: Nothing to fix.
    
9.  How it is read
    
    ### A Brightspace export puts a question library next to each quiz.
    
    Repeated questions are kept once by identifier, so the count is not doubled.
    
    Fix: Nothing to fix.
    
10.  Will not import
     
     ### Upload the whole package, not imsmanifest.xml or the assessmentTest file on its own.
     
     A lone manifest or test file only lists other files, so it is refused with "This is only the package description".
     
     Fix: Upload the .zip your platform exported, without unzipping it.
     
11.  Will not import
     
     ### The package holds at least one file whose root is questestinterop or assessmentItem.
     
     A .zip with neither is refused as having no QTI questions. A .zip that holds a Moodle XML file is read as Moodle XML instead.
     
     Fix: Check you exported the quiz or question bank, not the course files or a SCORM package.
     
12.  Changes on import
     
     ### Every image path an item points to resolves to a file inside the .zip, relative to that item file.
     
     A missing file is counted in the import warnings ("2 images were referenced but not found") and the question arrives without it.
     
     Fix: Add the image under the path the item uses, or fix the src attribute.
     
13.  Will not import
     
     ### The XML declares no entities and has no inline DTD.
     
     A file with an <!ENTITY> declaration or an internal DTD subset is refused for security. A plain DOCTYPE line pointing at a public DTD is fine.
     
     Fix: Export again from the platform. Hand edited files sometimes pick up a DTD block from a template.
     
14.  Will not import
     
     ### The file is 10 MB or smaller.
     
     A larger file is refused before a single question is read.
     
     Fix: Export the bank in two parts, or take large images out of the package and add them back in the platform.
     
15.  Will not import
     
     ### The .zip holds at most 2,000 files and unpacks to no more than 20 MB per file and 60 MB in total.
     
     A package over any of these limits is refused as too large.
     
     Fix: Export one quiz or one pool at a time rather than a whole course.
     

## Question types in a Brightspace file

Kept means it arrives as it was. Changed means a close equivalent. Fix first means an edit in the Formswrite editor before you export. Left out means the file has no place for it.

| Question type | From a Brightspace (D2L) file | In the Formswrite Brightspace (D2L) export |
| --- | --- | --- |
| Multiple choice | Multiple Choice with the right option. | KeptMultiple Choice, 100 on the right option. |
| Multiple answers | Multi-Select as checkboxes. | Fix firstLabelled Multi-Select with 100 on each right option, but written as a one response item. Check it in the library. |
| True or false | True or False. | ChangedMultiple Choice with True and False options. |
| Short answer and fill in the blank | Short Answer. | Fix firstLabelled Short Answer with no accepted answer. Set the answer in the library. |
| Essay and paragraph | Written Response. | Fix firstLabelled Written Response, check it in the library. |
| Matching | Matching. | Fix firstNot exported as matching. Rewrite it first. |
| Ordering (puzzle, jumble) | Ordering. | Fix firstNot exported as ordering. Rewrite it first. |

## How to import a Brightspace (D2L) file

1.  Pip
    
    ### Check the .zip here
    
    Drop the package in the checker and fix questions with no option scored 100.
    
2.  Nova
    
    ### Open the Question Library
    
    In your Brightspace course open Quizzes, then Question Library.
    
3.  Rio
    
    ### Import the file
    
    Choose Import, then Upload a File, and pick the .zip from Formswrite.
    
4.  Kiki
    
    ### Add to a quiz
    
    Open the quiz and add the questions from the Question Library.
    

## Move a quiz in or out of Brightspace (D2L)

-   ### Brightspace to Canvas
    
    Convert a Brightspace quiz to Canvas: upload the Brightspace export, fix the 2 question types Canvas cannot take, then download a Canvas QTI .zip.
    
    [Open the converter about Brightspace to Canvas](/convert/brightspace-to-canvas)
    
-   ### Brightspace to Moodle
    
    Convert a Brightspace quiz to Moodle: upload the Brightspace export, fix the 2 question types Moodle cannot take, then download Moodle XML.
    
    [Open the converter about Brightspace to Moodle](/convert/brightspace-to-moodle)
    
-   ### Brightspace to Google Forms
    
    Move a Brightspace quiz to Google Forms: upload the Brightspace export, fix the 2 question types Google Forms cannot take, then get a self grading Google Form.
    
    [Open the converter about Brightspace to Google Forms](/convert/brightspace-to-google-forms)
    
-   ### Google Forms to Brightspace
    
    Convert a Google Form to Brightspace: pick the form from Drive, fix the 5 question types Brightspace cannot take, then download a Brightspace package.
    
    [Open the converter about Google Forms to Brightspace](/convert/google-forms-to-brightspace)
    
-   ### Canvas to Brightspace
    
    Convert a Canvas quiz to Brightspace: upload the Canvas QTI .zip, fix the 5 question types Brightspace cannot take, then download a Brightspace package.
    
    [Open the converter about Canvas to Brightspace](/convert/canvas-to-brightspace)
    
-   ### Moodle to Brightspace
    
    Convert a Moodle question bank to Brightspace: upload the Moodle XML, fix the 5 question types Brightspace cannot take, then download a Brightspace package.
    
    [Open the converter about Moodle to Brightspace](/convert/moodle-to-brightspace)
    

## Questions people ask

Why can nobody score on a question?

Each option in a Brightspace file carries its own score, 100 when it is right and 0 when it is wrong. A question exported with no key has every option at 0. Set the key in the editor before you export.

Why are my questions not in the quiz?

The package imports into the Question Library. Open the quiz and add them from the library.

Do short answer questions keep their answers?

No. They arrive labelled Short Answer, but the file has no accepted answers. Open each one in the Question Library and add the answers before you use the quiz.

Can I check an export from Brightspace itself?

Yes. Drop the export .zip in the checker. It reads D2L question types and keeps one copy of each repeated question.

Is the file stored?

No. It is read in memory and discarded after the report.

## Keep reading

-   [Documents to BrightspaceTurn a Word file, PDF or Google Doc into a Brightspace quiz.](/product/documents-to-brightspace)
-   [Brightspace quiz import guideImporting Word, PDF and CSV quizzes into Brightspace.](/blog/brightspace-quiz-import-from-word)
-   [QTI 2.1 rulesFor platforms that want a standard QTI 2.x package.](/formats/qti-2-1)

## Make a clean Brightspace (D2L) file from your document

Upload a Word file, PDF or Google Doc, check the questions and the key in the editor, then export. Exports other than Formswrite Forms need a paid plan.

[Fix it in Formswrite](/accounts/signup?source=formats-brightspace)[How the export works](/product/documents-to-brightspace)
