᠎᠎᠎          
51K

List filter

World's simplest list tool

This is a super simple browser-based application that filters list items and extracts only the items that you're interested in. You can filter a list and find items that contain a specified substring, that include only specific characters, or you can use an advanced regular expression to find more complicated items. You can also invert the filtered result and prettify the output list by changing its item delimiter. Created by list geeks from team Browserling.
A new project! we made something new
We just created Online GIF Tools that offers utilities for quickly editing GIFs. Check it out!
List Separator
Use a matching character (or a string) to separate list items.
Use a matching regular expression to separate list items.
Matching character (or string) or regular expression.
You may also change the output list's item separator here:
Set the item glue character of the items in the filtered list.
List Filter
Extract all items that contain the given substring.
Extract all items that consist of the given characters.
Extract all items that match the given regular expression.
List Inverter
Extract items opposite of the specified filter options.
List filter tool What is a list filter?
This online program extracts items from a list that match the specified filtering pattern. For example, you can extract items from a list that contain only numbers, only words, or only letters. Additionally, you can extract only items with special characters in them or items that contain the given substring. Once you paste your list into the input area, you need to tell the filtering algorithm how your list items are separated. This can be done in the first block of options. When working with simple lists, you can use the symbolic item separator mode. In this mode, the separator of items can be a simple character such as a comma, a semicolon, or a vertical bar symbol, and all you need to do is specify this character (a comma "," character, a semicolon ";" character, or a vertical pipe "|" character) in the input delimiter option. If the input list contains multiple delimiters, then you can use the regex item separator mode. For example, use the regex "/\s+/" to match all white spaces (regular spaces, tabs, new lines), or "/,|\./" to match all items that may be separated by both commas and dots. All in all, we implemented three different item filtering modes in this utility. The first mode is called "Filter by a Substring", and it allows to extract all the items that have the specified substring. For example, if you specify the substring "cat" in the pattern field, the program will extract all items that contain the substring "cat". The second mode is called "Filter by a Character Set", and it extracts all items that are made up of the specified characters. For example, if you specify the digits "1234567890" here, the program will extract all items that are numbers. The third mode is called "Filter by a Regexp", and it extracts those items that match the specified regular expression. For example, the regular expression "/\d+%/" will extract all items that contain percentages, such as "25%" or "8%". If you need to extract the opposite (non-matching) items of the list, you can quickly do it by clicking the invert filter option in the third block of options. Also, you can specify the glue character for the filtered list and neatify it. Listabulous!
List filter examples Click to use
Filter a List of Words
In this example, we filter a list of words and find items in it that contain the pattern "me" in the words. To do this, we activate the "Filter by a Substring" mode and enter "me" in the match pattern option. Since the input list contains many different word separator symbols (comma, semicolon, space, newline), we use the regular expression separator "/[,;]\s+/" to extract the words. This regex matches commas and semicolons followed by a space, a tab, or a newline. To make the filtered list more consistent, we put a comma as a separator character.
horse, timer, bird; name, melon, lamp; right, lime, camel; metro, dime, apple; smell, coat, home; game, metal, meat; taxi, plant, milk; wine, deer, wolf;
timer, name, melon, lime, camel, metro, dime, smell, home, game, metal, meat
Required options
These options will be used automatically if you select this example.
Use a matching regular expression to separate list items.
Matching character (or string) or regular expression.
Set the item glue character of the items in the filtered list.
Extract all items that contain the given substring.
Extract items opposite of the specified filter options.
Filter Dates in a List
In this example, we're working with a column list of dates in different formats. Our job is to extract those dates, which are not entirely numeric. In other words, we want to filter all dates that have days, months, or years written out in words. To do this, we switch to the "Filter by a Character Set" mode, enter all the digits 0 to 9 and symbols "/-" in the filter pattern, and select the invert matches mode. This way, the program extracts all items that don't consist only of characters "-/1234567890", which are spelled dates. As the input list is a column list, we also make the output list a column list by setting the item separating symbol to a newline character.
09/13/2022 07-17-2009 Jul 15, 2000 January 01, 2006 Wed, Oct 20, 2010 08 Nov 2000 09 July 2015 Tue, 22 Nov, 2022 2025, 08 Aug 2019/07/07 2008, 28 January 21/07/2015
Jul 15, 2000 January 01, 2006 Wed, Oct 20, 2010 08 Nov 2000 09 July 2015 Tue, 22 Nov, 2022 2025, 08 Aug 2008, 28 January
Required options
These options will be used automatically if you select this example.
Use a matching character (or a string) to separate list items.
Matching character (or string) or regular expression.
Set the item glue character of the items in the filtered list.
Extract all items that consist of the given characters.
Extract items opposite of the specified filter options.
Filter Geographic Coordinates
In this example, we filter out only valid geographic coordinates from a vertical data list. We use the "Filter by a Regexp" mode and enter the regular expression "^\d+°\d+′[NESW] \d+°\d+′[NESW]$". This regexp matches strings with degrees and decimal minutes in the longitude and latitude parts of the coordinate. We also display the filtered coordinates in a vertical column.
vel@lorem.edu Ap #854-6675 KDN24QSG7QD 9°56′N 84°05′W 9977 Orci Av. (169) 327-8111 284-491 Nula Av. 38°43′N 9°08′W 29°33′N 34°57′E 2°59′S 104°45′E 3782342-39 50°38′N 3°03′E 45°52′S 67°29′W
9°56′N 84°05′W 38°43′N 9°08′W 29°33′N 34°57′E 2°59′S 104°45′E 50°38′N 3°03′E 45°52′S 67°29′W
Required options
These options will be used automatically if you select this example.
Use a matching character (or a string) to separate list items.
Matching character (or string) or regular expression.
Set the item glue character of the items in the filtered list.
Extract all items that match the given regular expression.
Extract items opposite of the specified filter options.
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/filter-list?input=horse%2C%09timer%2C%09bird%3B%0Aname%2C%09melon%2C%09lamp%3B%0Aright%2C%09lime%2C%09camel%3B%0Ametro%2C%09dime%2C%09apple%3B%0Asmell%2C%09coat%2C%09home%3B%0Agame%2C%09metal%2C%09meat%3B%0Ataxi%2C%09plant%2C%09milk%3B%0Awine%2C%09deer%2C%09wolf%3B®exp-separator=true&input-separator=%2F%5B%2C%3B%5D%5Cs%2B%2F&filter-by-string=true&string=me&invert=false&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 create a downloadable image from a list.
Quickly display list items in multiple colors.
Quickly set a new delimiter for items in a list.
Quickly remove the symbol that separates list items.
Quickly change list item delimiters to the same symbol.
Quickly remove items from the beginning or end of a list.
Quickly join all items of a list together.
Quickly create groups of multiple list items.
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).
Quickly enumerate list items and add a counter to them.
Quickly add bullet markers to all items in a list.
Quickly wrap all list items in quotes.
Quickly remove all quotation marks from around list items.
Quickly add text on the left and right sides of all list items.
Quickly remove text from the left and right sides of all list items.
Quickly prepend a prefix before each list item.
Quickly delete any prefix from the beginning of all list items.
Quickly append a suffix after each list item.
Quickly delete any suffix from the end of all list items.
Quickly add or remove list items to make it a certain length.
Quickly create multiple columns from a single list.
Quickly create a palindromic list from the given list.
Quickly generate a list of arbitrary length with arbitrary items.
Quickly generate a random length list with random items.
Quickly add new items at the beginning or end of a list.
Quickly left-pad a list with one or more items.
Quickly right-pad a list with one or more items.
Quickly analyze a list and print its item statistics.
Coming soon These list tools are on the way
Edit a List
View and edit lists in a neat browser-based list editor.
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.
Delete List Item
Quickly remove certain items from a list.
Find Certain List Items
Quickly find and print items that interest you in a list.
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.
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).
Indent List Items
Add indentation to all list items.
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 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.
Compare Two Lists
Find the difference between two lists.
Compare Three Lists
Find the difference between three lists.
Remove One List from Another
Remove elements from a list that appear in the other 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.
Pair List Items
Create pairs from all list items.
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.
Flatten a List
Remove all indentation levels from a list and make it flat.
Make List Items Title Case
Quickly change the letter case of all items to title case.
Make List Items Proper Case
Quickly change the letter case of all items to proper case.
Make List Items Random Case
Quickly randomly change the letter case of all items.
Make List Items Lowercase
Quickly change the letter case of all items to small letters.
Make List Items Uppercase
Quickly change the letter case of all items to capital letters.
Remove List Item Bullets
Quickly remove any bullet marks before items in a list.
Remove List Item Counter
Quickly remove any numeration from a list of items.
Create the Empty List
Generate a list with no items.
Visualize a List
Quickly create a graphical representation of a list.
Create a List Cloud
Create an image with a cloud of list items.
Let Zalgo Destroy a List
Let Zalgo loose on a list and create list-chaos.