# Import questions in bulk

> Upload up to 500 questions at once into EduBase from Excel, EDU, ZIP, Moodle XML or JSON, and how repeated uploads update questions instead of copying.

EduBase can take many questions in one file instead of one at a time in the editor. An upload adds up to 500 questions to a folder of **My Quiz questions** or straight into a Quiz set, with their images and attachments. This page explains the formats and what happens to an upload; the format pages have the details.

## Choose a format

| Format | Best for | Details |
|---|---|---|
| **XLSX** | Writing many similar questions in a spreadsheet, one question per row. | [Import from Excel](https://help.edubase.net/questions/import-excel/) |
| **EDU** | Complex questions, version control and AI tools: a plain-text file per question that supports every EduBase setting. | [The EDU text format](https://help.edubase.net/questions/edu-format/) |
| **ZIP** | XLSX or EDU files together with the images and attachments they refer to. | [Import from Excel](https://help.edubase.net/questions/import-excel/) |
| **Moodle XML** | Moving a Moodle question bank. | Import from Moodle XML or JSON |
| **JSON** | Questions exported from EduBase or produced by another system. | Import from Moodle XML or JSON |

Every format carries the same question fields: type, question text, answers, options, points, parameters, hints, solutions, tags and the rest. An XLSX column, an EDU field and an API field share their names, so a question can move between formats without loss.

## Where to upload

- **Into a Quiz set:** open the Quiz set, choose **Tasks → add questions → Upload as file**. The questions are added to the Quiz set and stored in **My Quiz questions**.
- **Into a question group:** open the group in the Quiz set and upload there; the questions become members of the group.
- **Into My Quiz questions:** open **My Quiz questions**, go to a folder and choose **new question → Upload as file**, to collect questions without putting them in a Quiz set yet.

The upload window shows the supported formats and your limits ("A maximum of 500 questions. Maximum file size: … MB."), with buttons to download the **documentation**, a **sample Excel** and a **sample EDU** file.

After the upload, a message reports the result, for example "Successfully uploaded 1 question into the database."

## What happens to an upload

1. EduBase reads every question in the file and checks the required fields (for most types the question, the answer and, for choice types, the options).
2. Questions with errors are skipped and listed under **Faulty questions**; the valid ones are imported. A file with no valid question imports nothing and says "The file does not contain any valid questions!"
3. A question identical to one already in the Quiz set or in **My Quiz questions** is skipped, with the message that it was already there.
4. A question with the same external ID (the `EXTERNAL_ID` field, `id` over the API) as an existing one in the same folder or Quiz set **updates** that question instead of adding a copy. The result lists the **Updated questions**.
5. Parameterized questions are tested in the background after upload; a question that cannot be generated reliably is marked inactive. See [Parameter types and constraints](https://help.edubase.net/questions/parameters-reference/#when-a-question-cannot-be-generated).

Because of step 4, the usual way to correct a bank is to fix the source file and upload it again.

## Upload from code or an AI assistant

The REST API (`POST /question`) and the MCP tool `edubase_post_question` publish one question per call with the same fields, and re-posting the same `id` updates it. `POST /quiz:questions` places questions in a Quiz set. Use these when another system owns the questions. See [The REST API](https://help.edubase.net/integrations/api/) and [The EduBase MCP server](https://help.edubase.net/ai/mcp/).

To draft questions from a Word, PDF or slide document instead, see [Generate questions from documents and review them](https://help.edubase.net/questions/ai-generated/).

## Limits

- Up to 500 questions per upload.
- The maximum file size depends on your account and is shown in the upload window.
- Supported file extensions: `.xlsx`, `.edu`, `.zip`, `.xml` (Moodle XML) and `.json`. The upload window also lists CSV, but a CSV upload currently imports no questions; see [Import from Excel](https://help.edubase.net/questions/import-excel/#limits).
- In a ZIP, files whose names differ only in accents or special characters are ignored, with a note listing them.
- Your account's question limit applies; when it is reached, the upload window says so and nothing more can be added until you delete questions.

## Related

- [Import from Excel](https://help.edubase.net/questions/import-excel/)
- [The EDU text format](https://help.edubase.net/questions/edu-format/)
- Import from Moodle XML or JSON
- Export questions
- [Move a question bank from Moodle](https://help.edubase.net/guides/migrate-from-moodle/)
