{"content":{"intro":"Shuffle Lines puts the lines of any list into a random order. Paste one item per line, names, questions, songs, tasks, and get a fair, unpredictable new order.","sections":[["How the shuffle stays fair","The tool uses the Fisher–Yates shuffle, a method first described in 1938 and still the standard way to shuffle a list. Combined with your browser's cryptographically secure random generator, every possible order is equally likely. Even 10 lines can be arranged in 3,628,800 different ways."],["Practical uses","Randomising the order of presentations or quiz questions, choosing who goes first in a game, mixing up flashcards, or creating a fair rota."],["A trick for Secret Santa","Shuffle the list of names, then have each person give a gift to the person listed below them, with the last person giving to the first. Nobody can draw themselves, and the assignments are random."]],"faqs":[{"q":"Is the shuffle truly random?","a":"It uses your browser's secure random number generator with the Fisher–Yates method, so every order has the same chance."},{"q":"Are blank lines shuffled too?","a":"Yes. Remove them first with the Text Cleaner if you don't want gaps in the result."},{"q":"Can I pick one random winner instead?","a":"Use the Random Name Picker, which picks one or more entries and can ignore duplicates."}]},"sfaq":[{"q":"Is the shuffle actually random each time?","a":"Yes, it uses a Fisher–Yates shuffle, a well-known algorithm that gives every possible ordering an equal chance, so results differ each time you run it."}],"copy":{"explain":"Lines are shuffled with the Fisher–Yates method and your browser's secure randomness, so every order is equally likely. Secret Santa links each person to the next one in the shuffled list, with the last linked to the first. Groups are dealt from the shuffled list in turn.","example":"Six names shuffle into a new random order every time you tap 🔀. &quot;Pick some&quot; draws 3 at random, &quot;Secret Santa&quot; pairs everyone up like &quot;Meera → Rahul&quot; so nobody gets themselves, and &quot;Groups&quot; splits the list into even random groups.","intro":"Shuffle Lines puts any list into a random order, and can also pick a few at random, make Secret Santa pairs, or split the list into random groups. Skip blank lines, remove duplicates and number the result, then shuffle again as often as you like.","sections":[["How the shuffle stays fair","The tool uses the Fisher–Yates shuffle, first described in 1938 and still the standard way to shuffle a list, driven by your browser's cryptographically secure random generator. Even 10 lines can be arranged in 3,628,800 different ways, and each is equally likely."],["Secret Santa without a hat","Choose &quot;Secret Santa&quot; and each person is assigned someone to buy a gift for. Because everyone gives to the next name in a shuffled circle, nobody can draw themselves, and the circle includes everyone."],["Practical uses","Randomising the order of presentations or quiz questions, choosing who goes first, mixing up flashcards, picking a few names for a task, or splitting a class into random teams."]],"faqs":[{"q":"Is the shuffle truly random?","a":"It uses your browser's secure random number generator with the Fisher–Yates method, so every order has the same chance."},{"q":"Can it make teams?","a":"Yes. Choose &quot;Groups&quot; and set the number of groups; sizes never differ by more than one."},{"q":"Can I pick one random winner instead?","a":"Choose &quot;Pick some&quot; and set it to 1, or use the Random Name Picker for a spinning reveal."}]},"feat":[["Fair shuffle","Puts any list in a truly random order."],["Pick a few","Choose a handful at random from the list."],["Secret Santa and groups","Make gift pairs or split the list into random groups."],["Tidy options","Skip blanks, remove duplicates and number the result."]],"faqx":[{"q":"How does Secret Santa make sure nobody gets themselves?","a":"It shuffles the names and links each person to the next one in the list, with the last person giving to the first. Everyone gives once and receives once, and with two or more names nobody draws their own name."},{"q":"How can I share Secret Santa pairs without spoiling the surprise?","a":"The tool shows all pairs together and does not send messages. Ask one person who is not taking part to run it, or copy the result and send each person only their own line privately."},{"q":"What happens if the list does not split evenly into groups?","a":"Names are dealt one by one into the groups in turn, so group sizes never differ by more than one. For example, 10 names in 3 groups gives one group of 4 and two groups of 3."},{"q":"Does Remove duplicates treat &quot;Rahul&quot; and &quot;rahul&quot; as the same?","a":"Yes. Duplicates are matched without regard to capital letters, so &quot;Rahul&quot; and &quot;rahul&quot; count as one and the first spelling is kept. Turn on Skip blank lines too, so names with extra spaces also match."},{"q":"Can I paste a column from Excel or Google Sheets?","a":"Yes. Copy a single column of cells and paste it into the list box; each cell arrives on its own line. If you copy several columns, each row stays together as one line with tabs between the cells."},{"q":"How many items can I pick or how many groups can I make?","a":"Pick some lets you choose from 1 to 500 items, and Groups lets you set 2 to 50 groups. If you ask for more picks than there are lines, you get the whole list in random order."},{"q":"Why did the order change when I switched an option?","a":"Changing a mode, number or option shuffles the list again, just like the Shuffle again button. Copy or download the result before changing settings if you need to keep a particular order, for example a lucky draw."},{"q":"Can teachers use it to set a random order for presentations?","a":"Yes. Paste the student names or roll numbers, turn on Number the result, and tap Shuffle again. The numbered list gives a fair speaking order for presentations or vivas, which you can copy or download."}]}