Xerobit

Random Trivia Generator

This random trivia generator makes a quiz of 1 to 50 questions in seconds: choose the categories and the difficulty, pick multiple choice or true or false, and get a list with an answer key, a printable sheet, plain text to copy, or party mode with one big question at a time. It draws from 1,560 different questions built from sourced datasets and from numbers computed by code, with no question repeated inside a quiz. It runs in your browser and nothing is sent anywhere.

Categories

The same seed and settings give the same quiz, so two hosts can share one.

By · Published · How we build and test tools

How to make a trivia quiz

  1. Tick the categories you want. All seven are on by default.
  2. Set the number of questions (1 to 50), the difficulty and the type: multiple choice, true or false, or a mix.
  3. Press Make trivia quiz. Use Show answer on one question or Show all answers for the whole list.
  4. For a game, press Party mode: one question fills the screen, an option or Reveal answer shows the result, and Next question moves on. Keep score counts the options that were tapped correctly.
  5. For paper, use Print quiz sheet (no answers) and Print answer key (separate page), or copy the quiz as text.
  6. Type a seed if you want to rebuild the same quiz later or share it: the same seed and settings give the same questions.

How the questions are made

A trivia questions generator is only as good as its facts, and a trivia quiz maker for parties or classrooms needs answers it can stand behind, so this one does not store hand-typed questions. Each question is produced from a structured dataset or from a calculation. For a dataset question, the generator takes one row (for example a country and its capital), writes the prompt, and fills the wrong options from other rows of the same set, so a wrong option can never also be correct. For a computed question it does the arithmetic, Roman numeral conversion or leap year test in code. A row is only included when two or more independent sources give the same answer (they are listed under Sources). Datasets are limited to facts that do not change from year to year: there are no populations, records, prices or office holders.

CategoryWhat it coversQuestionsEasyMediumHard
World capitals173 UN member states with one undisputed capital, asked from country to capital and from capital to country (the reverse question is skipped when the capital's name is part of the country's name, such as Luxembourg)333103117113
US state capitals50 states, asked both ways98322442
Elements and planets116 chemical elements (symbol, name, atomic number, four question types) and the eight planets in order from the Sun48080146254
Numberstimes tables up to 12 × 12, squares, square roots of perfect squares, powers of two, primes below 200178455776
Roman numeralsnumbers 1 to 100 plus 40 larger numbers up to 3,999, written as Roman numerals and read back2806014080
Calendardays in each month of a common year, month order, days in a common and a leap year, leap years from 1900 to 2100 and the century years 1600 to 24008917693
Codes25 NATO code words and 26 International Morse letters, asked both ways102374124
TotalEach question can be asked as multiple choice or as a true or false statement1,560374594592

The counts above come from the same code that builds the quizzes. Difficulty is a rough guide, not a measured score. For capitals it follows how populous a country is (better known countries are easier) and, for US states, whether the capital is also the state's largest city. For elements it follows the atomic number (up to 20 easy, up to 54 medium, then hard), for Morse it follows the length of the code, for numbers and Roman numerals it follows the size of the numbers. Categories with few distinct questions, such as the calendar, have almost nothing at hard level.

Six sample random trivia questions

These were produced by the generator with a fixed seed ("xerobit trivia example"), so they are the same for every visitor. Type that seed into the tool with all categories, mixed difficulty, 6 questions and multiple choice to get them.

  1. What number does the Roman numeral XX stand for? A. 21 B. 19 C. 20 D. 120. Answer: C, 20.
  2. Which of these numbers is prime? A. 21 B. 11 C. 27 D. 9. Answer: B, 11.
  3. What number does the Roman numeral MLXX stand for? A. 1080 B. 970 C. 1070 D. 1068. Answer: C, 1070.
  4. Which element has the chemical symbol Sm? A. Strontium B. Lawrencium C. Samarium D. Astatine. Answer: C, Samarium.
  5. What number does the Roman numeral MDCLII stand for? A. 1552 B. 1647 C. 1651 D. 1652. Answer: D, 1652.
  6. What is the square root of 400? A. 21 B. 20 C. 18 D. 23. Answer: B, 20.

How to run a trivia night

Trivia night questions work best in short rounds with a score read out between them. There is no official format, so the numbers below are simple logistics, not rules. One quiz can hold at most 50 questions, so make one quiz and split it into rounds of 10: that keeps questions from repeating across rounds, which two separate quizzes cannot guarantee.

Rounds of 10 questionsTotal questionsAsking time at 45 seconds each (an assumption, change it to suit your crowd)
330about 23 minutes
440about 30 minutes
550about 38 minutes
  • Scoring. One point per correct answer is the simplest. Collect answer sheets at the end of each round, swap them between teams for marking and read the key from the printed answer page.
  • Mixing types. A multiple choice question is a 1 in 4 guess and a true or false question is a 1 in 2 guess, so a quiz of only true or false statements rewards luck more. Use multiple choice for competition and true or false for warm-ups or younger players.
  • Teams. To split a crowd into teams use the random team generator, and to pick who answers first spin the spinner wheel.
  • Ties. Keep a few extra questions: generate a second quiz with another seed for a tie-break round.

True or false trivia and party mode

In true or false mode each statement is true or false with equal chance. A false statement is made by replacing the correct answer with a wrong one from the same set, for example "The capital of France is Madrid." Party mode shows the statement or question in large text with big answer buttons, which works on a phone passed around a table or a laptop connected to a screen. For a lighter game, try bingo cards or settle a knockout with the bracket generator.

What this generator does not do

  • It covers seven narrow subjects. There is no history, geography beyond capitals, sport, film, music or general knowledge, because those cannot be generated from a dataset we can check row by row.
  • Twenty UN members are left out of the capitals set because they have more than one capital in use, a disputed or changing capital, or sources that did not agree on the city or its spelling: Antigua and Barbuda, Benin, Bolivia, Burundi, Côte d'Ivoire, Equatorial Guinea, Eswatini, Indonesia, Israel, Kazakhstan, Kiribati, Malaysia, Myanmar, Nauru, the Netherlands, Palau, South Africa, Sri Lanka, Switzerland and Yemen.
  • Aluminium and caesium are left out of the elements set because IUPAC and US spelling differ (aluminum, cesium). Names follow the IUPAC periodic table of 4 May 2022. The letter X is left out of the NATO alphabet because NATO writes "X-ray" and some sources write "Xray".
  • Leap year questions use the Gregorian rule on the years 1900 to 2100 and the century years 1600 to 2400. Morse questions cover letters only, written with "." and "-".
  • Facts are fixed at the time the datasets were last checked (2026-11-17). If a country changes its capital, that row has to be updated by hand.
  • Distractors are chosen at random from the same set, so some wrong options are easier to spot than others. Nothing is saved: closing the page clears the quiz.

FAQ

How many trivia questions do I need for a trivia night?

There is no official number, so plan it from time: rounds times questions per round. Ten questions in each of 3, 4 or 5 rounds gives 30, 40 or 50 questions, and 50 is the most one quiz here can hold. At an assumed 45 seconds per question that is about 23 minutes, 30 minutes, 38 minutes of asking time, before breaks and marking.

Where do the questions come from?

They are generated, not copied. Capitals, chemical elements, planets, NATO code words and Morse letters come from small datasets whose every row agrees in two or more independent sources (listed under Sources). Arithmetic, primes, Roman numerals and leap years are computed by code. No question text is taken from another trivia site or database.

What is the difference between multiple choice and true or false trivia?

A multiple choice question shows four options with exactly one correct, so a blind guess is right 1 time in 4. A true or false statement has two options, so a blind guess is right 1 time in 2. Here each true or false statement is true or false with equal chance, and a false one swaps in a wrong answer from the same set.

Can I print the quiz and keep the answers separate?

Yes. Print quiz sheet gives the questions and options with no answers. Print answer key gives a separate page with the numbered answers. Copy quiz, Copy with answers and Copy answer key put plain text on the clipboard instead.

How do I run trivia questions for a party or a classroom?

Use party mode. It shows one question at a time in large text, you press an option or Reveal answer, then Next question. Tick Keep score to count correct taps, or leave it off and keep score on paper. For a classroom, print the sheet without answers and keep the key.

Will I get the same question twice in one quiz?

No. A question is drawn once per quiz, the same fact is never asked twice (the capital of a country is not asked in both directions, an element is not asked by symbol and by atomic number), and prompts that repeat by design ("Which of these numbers is prime?", "Which of these years is a leap year?") appear at most twice. Two separate quizzes can share questions, so for a longer event make one quiz of up to 50 and split it into rounds.

Does a seed give the same quiz every time?

Yes. Type any text in the seed field and the same seed with the same settings produces the same questions in the same order, so two hosts can run the same quiz. With the field empty, every quiz is new, drawn with the browser random generator (crypto.getRandomValues).

Sources