All guides

How to randomize or shuffle test questions in Word

Word has no button that shuffles a test. How to scramble the questions and answer choices by hand in Microsoft Word, and a free way to get multiple versions with an answer key for each.

Can Word randomize test questions?

Not on its own. Word has a Sort button (on the Home tab, in the Paragraph group), and it puts lines in order by text, number or date, from A to Z or from Z to A. It has no random order. It also sorts paragraph by paragraph, so a question and the answer choices under it do not stay together.

That leaves two honest ways to shuffle or scramble a Word test into multiple versions: move the questions yourself in Word, or paste the test into a shuffler that does the moving and writes an answer key for each version. Both are on this page.

Some answers online use a macro, which is code you paste into Word. Nothing on this page needs one.

Shuffle the questions by hand in Word

This is workable for a short quiz. Make a copy of the file for each version and name it, for example “Unit 3 Test, Version B”. Then, in each copy:

  1. Select one whole question together with its answer choices.
  2. Hold Alt and Shift and press the Up or Down arrow. The selected lines move one paragraph for each press. On a Mac, hold Control and Shift instead. If nothing moves, cut the question and paste it where you want it.
  3. Check the question numbers. Numbers that Word added for you (an automatic numbered list) follow the new order. Numbers you typed yourself stay as they were, so retype them.
  4. To scramble the answer choices too, move the choices inside each question the same way. The right answer now sits under a different letter.
  5. Write the answer key for this version from the finished page, not from your old key. Then repeat for the next version.

Use a table to make Word do the sorting

Word can reorder the rows of a table, which is as close as it gets to a shuffle. Put each question, with its choices, in its own table row. Add a column and type a number in every row, in any jumbled order you like. Click in the table, choose Layout (next to Table Design), then Sort. Set “Sort by” to your number column and “Type” to Number, and Word puts the rows in that order.

Word does not pick the order; your numbers do. Getting a finished test into a table, one question to a row, is the slow part. You still renumber the questions, and you still write a key for each version.

Where shuffling by hand goes wrong

  • The answer key. Every version needs its own, and a key that does not match its version is worse than having no versions. Check each key against its own paper before you print.
  • A question that points at another by number, such as “use your answer to question 4”. That number is different on every version.
  • A choice such as “All of the above” or “Both A and C”. Leave that question’s choices where they are, because moving them changes the question.
  • Time. Each extra version is another full pass through the test and another key to write.

The faster way: paste the test into a free shuffler

If the test is typed multiple choice, the free test shuffler does the moving in your browser and writes an answer key for every version. There is no account to make, and the test you paste is not uploaded or stored.

  1. In Word, select the whole test (Ctrl+A) and copy it (Ctrl+C).
  2. Open the free test shuffler and paste (Ctrl+V) into the box labelled “Paste your test”. Question numbers and choice letters that Word added for you arrive as typed ones (checked with Word for Windows).
  3. Read the line under the box. It says how many questions it read, for example “Read 10 questions.” A title or a line of directions is listed under “Left out, because it is a title, a heading or directions:” and is not printed. If part of your test could not be read, a box that starts “Not on the versions” shows that part, so fix it in the box before you print.
  4. Mark the right answers. Bold and highlighting do not come across in a paste. Put an asterisk next to the right choice, add a line such as "Answer: B" under the question, or paste your answer key at the bottom. A pasted key goes under a line that says “Answer Key”, one answer per line, such as “1. B”. If you mark nothing, you still get the versions, and each key shows where every question was on your test.
  5. Under “Versions”, choose two to four. “Test title (optional)” prints a title on every version. Tick “Keep answer choices in the same order” only if you want the questions moved and the choices left as they are.
  6. Look over Version A on the page, then click “Print the versions” for the student copies and “Print the answer keys” for yours. They print separately. To keep a copy, choose “Save as PDF” in the print window.

Open the free test shuffler

What you get

  • Up to four versions, lettered from A. Each has a line for the student’s name and the date, the questions in a shuffled order and numbered from 1, and the answer choices shuffled and relettered.
  • An answer key for each version. Every row gives the question’s number on that version, its answer letter, and its number on your test (“was #7”), so you can check any row against your original.
  • The same paste gives the same versions every time, so you can come back and print again.
  • A question with a choice such as “All of the above” keeps its choices in place on every version.

What a paste from Word leaves behind

  • Answer choices can be on their own lines, in a bulleted list, or side by side in columns. Side by side, each choice needs its own letter (A, B, C). Without letters they are not read as separate choices, so put each on its own line, in Word or right in the box.
  • Look over Version A before you print. If two choices have run together or one is missing, put each choice on its own line in the box. The versions change as you type.
  • Pictures and diagrams do not come across. The box takes text only.
  • It will not make versions of a test with matching questions, with a reading passage that several questions share, or with a question that names another by its number. It tells you so instead.
  • The versions print from your browser. You do not get a Word file back.

If your test is a Google Doc or a PDF

The shuffler reads typed text only. For a Google Doc, a PDF, photos of the pages, or a test with pictures in it, use Compose itself. Open a new test, then choose “Google Drive” to pick the Google Doc, or “Upload a test” for a PDF or the Word file.

Compose reads the file and makes four shuffled versions, with an answer key and an answer sheet for each, as one Word file you can open and print. That needs a Compose account, which is free to make. The guide below has the steps and says what the Free plan includes.

How to make shuffled versions of a test you already have

Good to know

  • Versions change the order, not the questions. A list of letters passed from one class period to the next fits only the papers of the same version.
  • Nothing you paste into the shuffler leaves your browser.
  • The Word steps here follow Microsoft’s own help pages for Word for Microsoft 365.

Checked against Compose on November 27, 2026. Something here doesn't match what you see? Tell us.