᠎᠎᠎          
51K

Unique list item finder

World's simplest list tool

This is a super simple browser-based application that finds the unique items in a list. It works with all data types and returns a new list with only the distinct items in it. You can customize the input and output separators of list items, as well as trim items before comparison and skip empty items. 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.
Input List Delimiter
A specific character is used to separate list items.
A regular expression is used to separate list items.
Specific character or regular expression.
Output List Delimiter
Separator of unique items in the output list.
Whitespaces and Empty Items
Remove spaces and tabs that surround items before checking if they are unique.
Don't include the empty list items in the output.
Unique list item finder tool What is a unique list item finder?
With this utility, you can find and extract unique items from a list. If any of the items in the input list appear more than once, then in the output list they will appear exactly once. Sometimes, when working with lists, there is a lot of noise (in form of whitespace characters) around the items. In this case, you can trim all items before they are compared for uniqueness. Trimming involves removing leading and trailing whitespaces so that the potentially invisible whitespaces didn't lead to false results. You can also filter out all the empty items with the length equal to zero. The program works with multitype data lists. They can be lists of numbers, strings, characters, and they can include Unicode glyphs. All data types can be mixed, too. For example, you can have a word list with numbers or an emoji list with digits. To support all these list formats, we developed two list parsing modes. The first mode allows you to separate list items using the entered character. For example, if the input list is semicolon-separated, then you can enter a semicolon in the list item separator field. Similarly, if the list is dash-separated, then you need to enter a dash symbol in the separator option. The second mode allows you to separate the list items using a regular expression. For example, if the input list is comma- and colon-separated, then you can use the regex /[,:]/. You can also immediately reformat the unique output list by setting a new item separator. Listabulous!
Unique list item finder examples Click to use
Vehicle Registration Plates
In this example, we find all unique car plate numbers in a long list of vehicle registration plates. As all plates are separated by a comma, we select the mode that separates the list items by a character and enter the comma symbol in the item separator field. As some of the numbers are surrounded by spaces, we activate the trim-items option so that the items are compared only by their real content and not spaces around them. We also enable the skip-empty-items option to avoid processing empty items and set the asterisk symbol to be the new separator in the output list of unique license plates.
PT359D, P0738N, AC3166 , , TS662W, YD122E, TS662W , , PT359D, TS662W, AC3166 , , YD122E, PT359D, S8912X , , YD122E, TS662W, TS662W , , AC3166, PT359D, S8912X,,
PT359D * P0738N * AC3166 * TS662W * YD122E * S8912X
Required options
These options will be used automatically if you select this example.
A specific character is used to separate list items.
Specific character or regular expression.
Separator of unique items in the output list.
Remove spaces and tabs that surround items before checking if they are unique.
Don't include the empty list items in the output.
Unique Astrological Signs
This example filters a list of astrological signs and finds only the unique values. They are returned in the output as a new list. Since the input list uses both a dash and a tilde character as item delimiter, we switch to the regular expression delimiter mode and enter the regexp /[-~]/ in the separator field. We also remove all leading and trailing whitespaces in the signs and display them one per line.
Leo - Aries ~ Scorpio - Cancer - Aquarius ~ Libra - Pisces ~ Cancer - Libra ~ Gemini - Taurus ~ Taurus - Gemini ~ Virgo - Scorpio - Pisces ~ Leo - Capricorn - Aries ~ Cancer - Capricorn - Taurus ~ Sagittarius - Virgo
Leo Aries Scorpio Cancer Aquarius Libra Pisces Gemini Taurus Virgo Capricorn Sagittarius
Required options
These options will be used automatically if you select this example.
A regular expression is used to separate list items.
Specific character or regular expression.
Separator of unique items in the output list.
Remove spaces and tabs that surround items before checking if they are unique.
Don't include the empty list items in the output.
Find Unique Musical Notes
The input list in this example is very unusual. The values of the list are musical notes that start with a treble clef and the item separator is a five-line staff symbol. To find unique list elements that are notes, we select the split by character mode and enter the symbol "𝄚" in the delimiter option. We get four unique notes in the output (and the starting treble clef) that we separate by the regular space character.
𝄞𝄚♩𝄚♪𝄚♫𝄚♬𝄚♪𝄚♬𝄚♪𝄚♫𝄚♪𝄚♫𝄚
𝄞 ♩ ♪ ♫ ♬
Required options
These options will be used automatically if you select this example.
A specific character is used to separate list items.
Specific character or regular expression.
Separator of unique items in the output list.
Remove spaces and tabs that surround items before checking if they are unique.
Don't include the empty list items in the output.
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/find-unique-list-items?input=PT359D%2C%20P0738N%2C%20AC3166%20%2C%20%2C%20TS662W%2C%20YD122E%2C%20TS662W%20%2C%20%2C%20PT359D%2C%20TS662W%2C%20AC3166%20%2C%20%2C%20YD122E%2C%20PT359D%2C%20S8912X%20%2C%20%2C%20YD122E%2C%20TS662W%2C%20TS662W%20%2C%20%2C%20AC3166%2C%20PT359D%2C%20S8912X%2C%2C&string-separator=true&input-separator=%2C&output-separator=%20%2A%20&trim-elements=true&skip-empty=true
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.