# List Analyzer

## World's Simplest List Tool

This is a super simple browser-based application that analyses a list and displays interesting information about it. You can find out the number of items in the list, the number of characters, find the longest and shortest items, get the average length of the items, calculate the number of unique and empty items, and get a detailed composition of its items. Created by list geeks from team Browserling.

Tool Options

#### Item Separator

Use a symbol to separate the
items in the input list.
Use a regular expression to
match the separators.
Symbol or regular expression.

#### Statistics Options

Print the number of list items.
Find the longest list item.
Find the shortest list item.
Calculate average item length.

#### Statistics Options

Print the number of unique items.
Print the number of empty items.
Print the symbolic composition
of list items.

## What Is a List Analyzer?

This online utility analyzes the given list and prints a summary of its statistics. You can display the statistics of any list that you load as the input. It can be a comma-separated, space-separated, tab-separated, or a vertical list, or any other list. To analyze the list and its items, you need to specify the separator that is placed between the items. You can specify it in the options using a symbol (comma, space, tab, etc.) or using a regular expression (for mixed separators). As soon as the items are separated, the program will immediately count them and print the total count to the output. It will also count the number of characters in the list (including and excluding separators). In addition, you can find out which items are the longest and which are the shortest and find out their lengths. The program can also calculate the average length of the items, the number of unique items in the list and check if there are any empty (whitespace) items in it. If you need to print the unique items in your list, you can use our Find Unique List Items utility. Similarly, if you need to print the duplicate items in your list, you can use our Find Duplicate List Items utility. Finally, the program can also display the character composition of the list and show which letters, numbers, ASCII, and Unicode characters are present in the list. Each block of information can be selectively printed to the output. You can control the output using checkboxes in the options and get only the information that you really need. Listabulous!

## List Analyzer Examples

Click to try!
click me

### Analyze a List of Beverages

In this example, we analyze a vertical list of beverages. After separating the input items with a newline character, we quickly find that the list contains 7 items and consists of 31 symbols (excluding separators) or 37 symbols (including newline separators). We also find the longest and shortest word in the list and calculate the average length of all items.

Beer Coffee Juice Milk Tea Water Wine
List Length ----------- items in the list: 7 list length in symbols: 37 (with separators) list length in symbols: 31 (without separators) Longest Item ------------ maximum length: 6 longest item: • "Coffee" Shortest Item ------------- minimum length: 3 shortest item: • "Tea" Average Item Length ------------------- length: 4.43
Required options
These options will be used automatically if you select this example.
Use a symbol to separate the
items in the input list.
Symbol or regular expression.
Print the number of list items.
Find the longest list item.
Find the shortest list item.
Calculate average item length.
Print the number of unique items.
Print the number of empty items.
Print the symbolic composition
of list items.
click me

In this example, we find the statistics of a list of car brands. As there are different separators between the brands, we split the items using a regular expression "/[,;] ?/", which matches commas or semicolons, followed by an optional space. We display the information about the length of the list (find out the number of items and characters); print the information about unique items (the number of items if the copies are discarded); and output the information about empty items (the number of items with zero-length or consisting only of whitespace characters).

Toyota, Honda; BMW, Chevrolet; Ford, Mercedes-Benz; Jeep, Toyota; ; ; BMW, Porsche; Subaru, , Nissan; Cadillac, Ford; ; ; ; Volkswagen, Lexus; Audi, Ferrari; ; ; Volvo, , , Ford
List Length ----------- items in the list: 30 list length in symbols: 184 (with separators) list length in symbols: 126 (without separators) Unique Items ------------ total: 19 Empty Items ----------- total (zero-length): 7 total (whitespace): 3
Required options
These options will be used automatically if you select this example.
Use a regular expression to
match the separators.
Symbol or regular expression.
Print the number of list items.
Find the longest list item.
Find the shortest list item.
Calculate average item length.
Print the number of unique items.
Print the number of empty items.
Print the symbolic composition
of list items.
click me

### Composition of a Constants List

In this example, we load and parse a list of math constants. We print the general information about the length of the list as well as detailed information about the composition of the list. Namely, we find out which uppercase and lowercase letters are used in the list, which digits are used in it, as well as which other ASCII and Unicode symbols are present in the mathematical constants.

Archimedes' constant π Imaginary unit i Euler's number e Pythagoras' constant √2 Theodorus' constant √3 Feigenbaum constants α and δ Apéry's constant ζ(3) Golden ratio φ Euler-Mascheroni constant γ Khinchin's constant K Glaisher-Kinkelin constant A
List Length ----------- items in the list: 11 list length in symbols: 248 (with separators) list length in symbols: 238 (without separators) List Composition ---------------- 9 uppercase letters: "AIEPTFGMK" 19 lowercase letters: "rchimedsontagyulbpk" 2 digits: "23" 5 other ASCII characters: "' ()-" 8 other Unicode characters: "π√αδéζφγ"
Required options
These options will be used automatically if you select this example.
Use a symbol to separate the
items in the input list.
Symbol or regular expression.
Print the number of list items.
Find the longest list item.
Find the shortest list item.
Calculate average item length.
Print the number of unique items.
Print the number of empty items.
Print the symbolic composition
of list items.

### Pro tipsMaster 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://onlinetools.com/list/print-list-statistics?input=Beer%0ACoffee%0AJuice%0AMilk%0ATea%0AWater%0AWine&string-separator=true&input-separator=%255Cn&join-character=%255Cn&list-length=true&longest-item=true&shortest-item=true&average-length=true&unique-items=false&empty-items=false&list-composition=false

### All List Tools

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 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.

### 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 (map function).

Reduce a List

Run the reduce function on a list.

Find Certain List Items

Quickly find and print items that interest you in a list.

Find Repeating List Items

Quickly find and print 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.

Skew List Items

Make a list go increasingly sideways (to the left or right).

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).

Convert a List to Rows

Create multiple rows from a single list.

Convert a List to Excel

Create an Excel (XLS/XLSX) 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.

Find Common Items in Lists

Find items that are shared between two or more lists.

Find Distinct Items in Lists

Find items that are unique in two or more lists.

Zip Two Lists

Join two or more lists together item by item.

Unzip Two Lists

Split an interleaved list into two or more separate lists.

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.

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 Bold

Quickly apply the bold effect to all list items.

Make List Items Italic

Quickly apply the italic effect to all list items.

Make List Items Cursive

Quickly rewrite all list items in cursive.

Change List Item Font

Quickly change the font of all list items.

Add an Underscore to List Items

Quickly add an underscore to all list items.

Add a Strikethrough to List Items

Quickly add a strikethrough to all list items.

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 Counter

Quickly remove any numeration from a list of items.

Create an Empty List

Generate a list with no items (just bullet points).

Visualize a List

Quickly create a graphical representation of a list.

Create a List Cloud

Create an image with a cloud of list items.

Create a Spiral List

Create an image with list items going in a spiral.

Create a ZigZag List

Make list items go in a zigzag.

Add errors and corruption to a list.

Base64-encode a List

Convert any list to base64 encoding.

Base64-decode a List

Convert any list from base64 encoding back to a list.

URL-encode a List

Convert any list to URL encoding.

URL-decode a List

Convert any list from URL encoding back to a list.

Convert a List to JSON

Create a JSON array from a list.

Convert JSON to a List

Create a list from a JSON array.

Convert a List to XML

Create an XML document from a list.

Convert XML to a List

Create a list from an XML document.

Convert a List to YAML

Create a YAML file from a list.

Convert YAML to a List

Create a list from a YAML file.

Convert a Text List to a Binary List

Create a binary list from a text list.

Convert a Binary List to a Text List

Create a text list from a binary list.

Compress a List

Compress a list so it uses less space.

Scroll a List

Create an animation with a list being scrolled.

Let Zalgo Destroy a List

Let Zalgo loose on a list and create list-chaos.

#### Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.