This is a super simple browser-based application that truncates a list and returns the beginning or end part of a list with the requested number of items. You can use any character as a separator for the list items and specify it in the item delimiter option using one or more characters or a regular expression. Additionally, you can set the length of the truncated list and choose the side to remove items from. Created by list geeks from team Browserling.
This is a super simple browser-based application that truncates a list and returns the beginning or end part of a list with the requested number of items. You can use any character as a separator for the list items and specify it in the item delimiter option using one or more characters or a regular expression. Additionally, you can set the length of the truncated list and choose the side to remove items from. Created by list geeks from team Browserling.
With this online program, you can cut lists to precise length. It works with all kinds of lists – textual, numeric, and character lists. It's very flexible and can adapt to multiple list formats, which includes lists with items separated by a single character, multiple characters, constant length patterns, and even complicated patterns that can only be matched via a regular expression. The "Delimiting Character" mode is the simplest list delimiter mode and matches list items separated by one character (or one string). The "Delimiting Regex" allows you to match several separators at once by using a regular expression. As soon as the program parses the list and splits it into individual items, it truncates this list to the specified length. You can set the truncation length in the second block of options and also select the truncation side. If you select the "Remove the Start" option, then list items will be dropped from the beginning of the list. If you select the "Remove the End" option, then list items will be dropped from the tail part of the list. After the list is truncated, its items are recombined together again via a new delimiter character (or string) that you can set in the join-character option. Listabulous!
With this online program, you can cut lists to precise length. It works with all kinds of lists – textual, numeric, and character lists. It's very flexible and can adapt to multiple list formats, which includes lists with items separated by a single character, multiple characters, constant length patterns, and even complicated patterns that can only be matched via a regular expression. The "Delimiting Character" mode is the simplest list delimiter mode and matches list items separated by one character (or one string). The "Delimiting Regex" allows you to match several separators at once by using a regular expression. As soon as the program parses the list and splits it into individual items, it truncates this list to the specified length. You can set the truncation length in the second block of options and also select the truncation side. If you select the "Remove the Start" option, then list items will be dropped from the beginning of the list. If you select the "Remove the End" option, then list items will be dropped from the tail part of the list. After the list is truncated, its items are recombined together again via a new delimiter character (or string) that you can set in the join-character option. Listabulous!
This example truncates a list of names of stars. The names are listed in a column, so we set the input separator to a newline using the character "\n". We remove items from the end of the list and leave only the first 4 items in the truncated list, which we then separate by tabs.
In this example, we use our truncation program to shorten a list of water transportation vehicles. This list of vehicles is presented as a single line string that uses a comma and the word "and" between its items. To match all separators and extract list items, we use the regex split mode and enter the expression "/\s*(?:,|and)\s*/g". Note that the regex group "(,|and)" uses the "?:" modifier that makes the group non-matching. If we didn't use this modifier, then commas and the word "and" would be included in the list items. We truncate the list to 8 items, removing them from the start. We display the output item as a column with one vehicle per line.
In this example, we truncate a message in Morse code. The input list consists of elements in the form of dots and dashes and separators in the form of slashes. The elements of this list are single Morse code characters. To find them and form a message, we use the "/" delimiter character and enter it in the options. We take just the first 7 elements/characters of the list and separate them with the original slash delimiter in the output list.
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!
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
We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling our mission is to make people's lives easier, so we created this collection of online list tools. Our tools are focused on getting things done quickly and as soon as you load your list in the input of any of our tools, you'll instantly get the result. Our list tools are actually powered by our web developer tools that we created over the last couple of years. Check them out!