S

StudyLoop

Focused practice for JSON-powered quizzes

Client-side validationLocal progress restoreAccessibility-first flow

Upload a quiz

Bring your JSON file and start a focused study session

Drag a local JSON quiz file here or pick one manually. StudyLoop validates the structure, restores your progress after refresh, and lets you review mistakes afterwards.

Drop your quiz here

Supports the exact schema you specified, including single-answer and multi-answer questions inferred from the answers array.

JSON only • validated in browser • no upload to server

Prompt builder

Create app-ready quiz JSON with AI

Pick the answer style, copy the prompt, and paste it along with your source file or content into your AI tool. The output should come back ready to upload here.

This changes the prompt so the generated JSON matches the kind of quiz you want.

Mixed type: Allow a mix of single-answer and multi-answer questions.

Generated prompt

Mixed type
Convert the provided content into multiple-choice questions in strict JSON format.

Rules:
- Output ONLY valid JSON (no explanations outside JSON).
- Follow this exact structure:
{
  "title": "Optional title",
  "questions": [
    {
      "question": "Question text",
      "options": ["Option 1", "Option 2", "Option 3", "Option 4"],
      "answers": ["Correct option(s)"],
      "explanation": "Optional explanation"
    }
  ]
}

Requirements:
- Generate clear, meaningful questions from the content.
- Each question must have at least 2 options.
- Questions may be single-answer or multiple-answer depending on the content.
- Use one item in "answers" when only one option is correct, and multiple items when more than one option is correct.
- "answers" must always be an array and must exactly match items in "options".
- Include explanations where helpful (optional).
- Do not repeat questions.
- Keep JSON clean and properly formatted.

Now generate the quiz from the provided content.

Sample output shape

{
  "title": "Sample Knowledge Check",
  "questions": [
    {
      "question": "Which layer of the atmosphere contains the ozone layer?",
      "options": [
        "Troposphere",
        "Stratosphere",
        "Mesosphere",
        "Thermosphere"
      ],
      "answers": [
        "Stratosphere"
      ],
      "explanation": "The ozone layer is concentrated in the stratosphere."
    },
    {
      "question": "Which of the following are renewable energy sources?",
      "options": [
        "Solar",
        "Wind",
        "Coal",
        "Hydroelectric"
      ],
      "answers": [
        "Solar",
        "Wind",
        "Hydroelectric"
      ],
      "explanation": "Solar, wind, and hydroelectric power are renewable, while coal is a fossil fuel."
    }
  ]
}