Quiz Converter

Convert Excel / Google Sheets / CSV data into a questions.js file for the quiz app.

1. Quiz settings

Used as filename: quizzes/my-quiz.js

2. Paste data or upload CSV

Column order (header required):
question, optionA, optionB, optionC, optionD, correct, solution
For 5–6 options add optionE, optionF before correct.
correct = 1 for A, 2 for B, 3 for C, 4 for D (or 5/6).

Download Excel template Download CSV template

How to use the downloaded file

  1. Save the file as quizzes/your-id.js (same name as Quiz file name above).
  2. Open config.js and add one entry in QUIZ_LIST:
{
  id: "my-quiz",
  title: "My Quiz Title",
  description: "Short description",
  questionsFile: "quizzes/my-quiz.js",
  duration: 30,
  icon: "fa-book",
  color: "#4F46E5"
}

← Back to Quiz Home · Google Sheets guide