Back to help center

How to Import Plain Text or JSON

Paste or upload text and JSON to create flashcards or quiz questions in Nebulearn.

Fastest path when you have a list from ChatGPT, lecture notes, or a friend’s export.

Plain text flashcards

Two formats work:

Colon format (one line per card)

Mitochondria: Powerhouse of the cell
DNA: Genetic material in the nucleus

Alternate lines

Mitochondria
Powerhouse of the cell

DNA
Genetic material in the nucleus

Plain text quiz questions

One block per question. Blank line between questions.

What is the capital of France?
Paris
London
Berlin
Madrid

What is 2+2?
4
3
5
6

Line 1 = question. Line 2 = correct answer. Lines 3+ = wrong answers.

JSON format

Paste a JSON array of objects.

Flashcards:

[
  {
    "questionText": "What is photosynthesis?",
    "answer": "Plants convert light into chemical energy",
    "explanation": "Optional"
  }
]

Quiz:

[
  {
    "questionText": "What is 2+2?",
    "answer": "4",
    "choices": ["4", "3", "5", "6"],
    "explanation": "Optional"
  }
]

Required fields: questionText, answer. Quiz also needs choices (correct answer first).

Step-by-step

  1. Open Import.
  2. Choose Flashcards or Quiz Questions.
  3. Pick Plain Text or JSON.
  4. Paste into the box, or upload a .txt / .json file.
  5. Click import. Cards appear in the editor.
  6. Save to a folder.

AI prompt shortcut

The import wizard includes a copy-paste prompt for ChatGPT or Claude. Use it to generate cards in the right format, then paste the output here.

Common issues

JSON parse error

  • Output must be only the array. No markdown fences, no commentary.
  • Use double quotes on keys and strings.

Cards merged together

  • Add blank lines between quiz question blocks.
  • One idea per flashcard line in colon format.

Weird extra cards

  • Delete empty lines at the end of the paste before importing.