᠎᠎᠎          
51K

List randomizer

World's simplest list tool

This is a super simple browser-based application that randomizes the positions of items in any list. You can shuffle the items as much as you like and also limit the number of shuffled items in the output. It supports all types of lists in the input as you can adjust the list item separator yourself. It can be a single character such as a comma, or it can be a regular expression that lets you work with mixed lists. Additionally, you can set a new item separator for the shuffled output list. Created by list geeks from team Browserling.
We put a browser in your browser! Browserling
Check out our project Browserling – get a browser in your browser and browse while you browse.
Input List Separator
Set the input item separator to a character.
Set the input item separator to a regular expression.
Symbol or regular expression that separates list items.
Shuffled List Length
Output this many random items.
Leave empty to output all randomized items.
Shuffled List Separator
Use this separator in the randomized list.
List randomizer tool What is a list randomizer?
With this online utility, you can shuffle list items. We implemented an algorithm that rearranges the items of a list in a chaotic order and displays them as a new list that you can instantly download or copy to clipboard. The algorithm does not modify the items of the list but only changes their positions. As it works with all list formats, you need to give it a hint about how the items are separated. This is done by setting the list delimiter, which can be a symbol or a regular expression. For example, if the items in a list are separated by commas, you can use the symbol separator mode and enter the delimiter "," in the options. If there are several spaces or tabs between the items, then the delimiter can be a regular expression "/\s+/". By default, the program prints all shuffled list items (the output list length option is empty) but you can also limit the number of shuffled items in the output list. For example, you can choose 3 winners from a list of names of people participating in a competition. You can also prettify the output list and put any new delimiter symbol (or multiple symbols) between the shuffled items. Listabulous!
List randomizer examples Click to use
Shuffle a List of Animals
In this example, we load a comma-separated list of animals. We select the "Split by a Symbol" mode and set the delimiter to a comma-space pattern (a comma followed by a space). This way, we define everything that is not a comma-space as individual list items. Once we have extracted the items, we randomize their order and output them as a new comma-separated list.
'lion', 'ant', 'duck', 'elephant', 'bear', 'coyote', 'camel', 'otter', 'elk', 'wolf', 'monkey', 'bison', 'walrus', 'squirrel'
'squirrel', 'bison', 'lion', 'coyote', 'otter', 'duck', 'elephant', 'walrus', 'bear', 'wolf', 'ant', 'elk', 'monkey', 'camel'
Required options
These options will be used automatically if you select this example.
Set the input item separator to a character.
Symbol or regular expression that separates list items.
Output this many random items.
Use this separator in the randomized list.
Randomize a List of Numbers
In this example, we're working with a list of the first 20 highly composite numbers (HCSs). We shuffle them and extract 10 random HCSs from this list. As the list is entered on several lines in neat columns, there's either a comma and one or more spaces, or a newline between the HCSs. In this case, we must use a regex to match all HCSs in this list correctly. The regex that does this is is "/,\s*|\n/g" and it matches commas followed by one or more spaces and newlines. The 10 randomly selected HCSs are then displayed in a single vertical column in the output list.
1, 2, 4, 6 12, 24, 36, 48 60, 120, 180, 240 360, 720, 840, 1260 1680, 2520, 5040, 7560
48 6 120 60 240 5040 1260 840 7560 720
Required options
These options will be used automatically if you select this example.
Set the input item separator to a regular expression.
Symbol or regular expression that separates list items.
Output this many random items.
Use this separator in the randomized list.
Pick Three Random Winners
In this example, we pick three random nicknames from a list of competition participants. These three random people will be the winners. Each participant's nickname is an individual item of the list that's separated by a space. To make the picker recognize nicknames, we enter a space in the item split option. We limit the length of the output list to 3 items and that produces a list of three winners. We separate the winners by a vertical bar symbol in the shuffled list.
@olivia @ava @sophia @isabella @logan @michael @daniel @jackson @david @luna @grayson @ella @aria @nathan @aurora @naomi @eliana @caroline @gabriella @adeline
@naomi | @luna | @michael
Required options
These options will be used automatically if you select this example.
Set the input item separator to a character.
Symbol or regular expression that separates list items.
Output this many random items.
Use this separator in the randomized list.
Pro tips Master online list tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinelisttools.com/randomize-list?input=%27lion%27%2C%20%27ant%27%2C%20%27duck%27%2C%20%27elephant%27%2C%20%27bear%27%2C%20%27coyote%27%2C%20%27camel%27%2C%20%27otter%27%2C%20%27elk%27%2C%20%27wolf%27%2C%20%27monkey%27%2C%20%27bison%27%2C%20%27walrus%27%2C%20%27squirrel%27&string-separator=true&input-separator=%2C%20&list-length=&join-character=%2C%20
All list tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly print all distinct items of a list.
Quickly print all repeating items of a list.
Quickly count the number of items in a list.
Quickly find certain items in a list.
Quickly print all list items in reverse order.
Quickly sort list items alphabetically or numerically.
Quickly shuffle list items and make it random.
Quickly randomly pick one or more items from a list.
Quickly set a new delimiter for items in a list.
Quickly remove items from the beginning or end of a list.
Quickly join all items of a list together.
Quickly extract a part of a list.
Quickly remove all empty items from a list.
Quickly remove whitespace characters around list items.
Quickly create multiple copies of a list.
Quickly rotate list items to the left or right (or up and down).
Coming soon These list tools are on the way
Split a List
Split list items into chunks.
Generate the Powerlist
Create the powerlist of the given list.
Find the Car of a List
Extract the first item from a list.
Find the Cdr of a List
Extract all items except the first of a list.
Apply a Function on a List
Run a JavaScript function on every list item.
Find Non-repeating List Items
Quickly find and print items that don't repeat in a list.
Find Repeating List Items
Quickly find and print items that repeat in a list.
Delete Repeating List Items
Quickly find and remove items that repeat in a list.
Delete Unique List Items
Quickly find and remove items that are unique in a list.
Delete List Separator
Remove the symbol that separates list items.
Extract a Sublist from a List
Given start and stop indexes, extract a sublist from a list.
Shift List Items
Shift list items to the left or right (or up and down).
Mirror a List
Quickly create a mirror copy of a list.
Invert a List
Invert the order of items in a list (last becomes first, etc).
Reduce a List
Run the reduce function on a list.
Convert a List to an Image
Create an image from a list.
Convert a List to Columns
Create multiple columns from a single list.
Convert a List to Rows
Create multiple rows from a single list.
Convert a List to Excel
Create an Excel file from a list.
Convert a List to PDF
Create a PDF file from a list.
Convert a Text List to a LaTeX List
Create a LaTeX list from a regular text list.
Convert a Text List to a HTML List
Create a HTML list from a regular text list.
Convert a Text List to a Markdown List
Create a Markdown list from a regular text list.
Zip Two Lists
Join two lists together item by item.
Merge Two Lists
Append a second list at the end of the first list.
Pop List Items
Remove list items at certain index positions.
Push List Items
Add new items at the end of a list.
Replace List Items
Replace certain items in a list with new items.
Splice a List
Modify a list in-place by adding, replacing, or removing items.
Create the Empty List
Generate a list with no items.
Create a Random List
Generate a list with random items.
Color List Items
Quickly add colors to list items.
Enumerate List Items
Quickly add a counter to each list item.
Visualize a List
Quickly create a graphical representation of a list.
Let Zalgo Destroy a List
Let Zalgo loose on a list and create list-chaos.
Print List Statistics
Analyze a list and print its item statistics.