This is a super simple browser-based application that finds the length of a list. It can count the number of all list items, only the unique items, or only the duplicate items. It can also include or exclude empty items and items consisting of only whitespace characters. Created by list geeks from team Browserling.
With this utility, you can get the total count of items in a list. By default, it counts the number of all items, including empty items and invisible items (invisible items are those that contain only whitespaces). You can also adjust the counting mode and count just the unique items or just the duplicate items. Before the program can count the items, it has to parse the input data and find the list items. To do that, you need to tell the program how the items are separated and the separator can be configured in the options. By default, the program uses the split-by-character mode. It's suitable for cases when the delimiter matches a constant character or a group of constant characters. For example, in the list "1 2 3", the delimiter is the space character and in the list "1/\2/\3", the delimiter is a slash and a backslash symbol "/\". In the case when the separator changes between items, you can use the split-by-regex mode. For example, the list "1, 2; 3" uses a comma and a semicolon to separate items and the regular expression /[, ;]+/ will work in this case. If you don't want to count empty items, then deselect the "Count Empty Items" option. Similarly, to avoid counting items made out of just spaces, tabs, and newlines, deselect the "Count Invisible Items" option. Listabulous!
In this example, we count elements in a list and calculate how many hexadecimal numbers there are in this list. Since the input list uses the same symbol as a delimiter for all items, we use the symbol-delimiter match mode and enter the comma symbol in the option below. With these options, we quickly find the total number of hexadecimal values in the list, including blank and whitespace items.
In this example, the input list of month names is neatly formatted and uses several different separator characters, such as tabs, spaces, and newlines to evenly align all the months in nice columns. To properly separate the months in this multi-column list, we select the mode where a regular expression matches all separator characters and enter /\s+/ in the regular expression field. As some months repeat more than once, we choose to count only the unique items and get the value 12 in the output, which confirms that no months were missed or mistyped.
In this example, we're using the first three English letters to demonstrate how counting duplicate items works. There are multiple ways to count duplicate items and we're using the formula "total = unique + duplicate" to find the duplicate items count. If we rearrange the terms, we get "duplicate = total - unique". The first three letters in the example are unique and all the others are their copies. Therefore, the counting starts after the third items and the program finds that there are 6 duplicate copies.
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!
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 display list items in multiple colors.
Quickly generate a list of arbitrary length with arbitrary items.
Quickly generate a random length list with random items.
Quickly find certain items in a list.
Quickly find how many times each item appears in the list.
Quickly replace certain items in a list with new items.
Quickly remove items from a list that match a pattern.
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 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 remove all bullet markers from list items.
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 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 remove items that repeat in a list.
Quickly apply a filter on all list items (extract certain items).
Quickly analyze a list and print its item statistics.
View and edit lists in a neat browser-based list editor.
Split list items into chunks.
Create the powerlist of the given list.
Extract the first item from a list.
Extract all items except the first of a list.
Run a JavaScript function on every list item (map function).
Run the reduce function on a list.
Quickly find and print items that interest you in a list.
Quickly find and print items that repeat in a list.
Quickly find and remove items that are unique in a list.
Given start and stop indexes, extract a sublist from a list.
Shift list items to the left or right (or up and down).
Add indentation to all list items.
Make a list go increasingly sideways (to the left or right).
Quickly create a mirror copy of a list.
Invert the order of items in a list (last becomes first, etc).
Create multiple rows from a single list.
Create an Excel (XLS/XLSX) file from a list.
Create a PDF file from a list.
Create a LaTeX list from a regular text list.
Create a HTML list from a regular text list.
Create a Markdown list from a regular text list.
Find the difference between two lists.
Find the difference between three lists.
Remove elements from a list that appear in the other list.
Find items that are shared between two or more lists.
Find items that are unique in two or more lists.
Join two or more lists together item by item.
Split an interleaved list into two or more separate lists.
Append a second list at the end of the first list.
Create pairs from all list items.
Remove list items at certain index positions.
Add new items at the end of a list.
Modify a list in-place by adding, replacing, or removing items.
Remove all indentation levels from a list and make it flat.
Quickly apply the bold effect to all list items.
Quickly apply the italic effect to all list items.
Quickly rewrite all list items in cursive.
Quickly change the font of all list items.
Quickly add an underscore to all list items.
Quickly add a strikethrough to all list items.
Quickly change the letter case of all items to title case.
Quickly change the letter case of all items to proper case.
Quickly randomly change the letter case of all items.
Quickly change the letter case of all items to small letters.
Quickly change the letter case of all items to capital letters.
Quickly remove any numeration from a list of items.
Generate a list with no items (just bullet points).
Quickly create a graphical representation of a list.
Create an image with a cloud of list items.
Create an image with list items going in a spiral.
Make list items go in a zigzag.
Add errors and corruption to a list.
Convert any list to base64 encoding.
Convert any list from base64 encoding back to a list.
Convert any list to URL encoding.
Convert any list from URL encoding back to a list.
Create a JSON array from a list.
Create a list from a JSON array.
Create an XML document from a list.
Create a list from an XML document.
Create a YAML file from a list.
Create a list from a YAML file.
Create a binary list from a text list.
Create a text list from a binary list.
Compress a list so it uses less space.
Create an animation with a list being scrolled.
Let Zalgo loose on a list and create list-chaos.
Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.
Enter your email here