This is a super simple browser-based application that changes the length of a list and adds or removes items to/from it to get the exact number of items in the final list. You can load any list in the input, separate its items by any character (or a regular expression), and set the required number of items in the options. You can specify one or more items to add to the list (if it's too short) and specify the side where these items will be added. You can also remove items from either side to make it shorter. Created by list geeks from team Browserling.
This online utility changes list's size by either adding new items to it (if the size is increased) or removing existing items from it (if the size is decreased). In the options, there's a field where you can set the total number of items that the list should have. For example, if you have a list with 25 items, you can extend it to have 100 items, or if you have a list with 77 items, then you can contract it to have only 50 items. You can also start with an empty list and create a list with exactly 200 items in it (or any other number). Regardless of the length of the initial input list, you'll get a new list with exactly the specified number of items in the output. To make the program correctly identify items in the list and calculate the initial number of items, when you load your list into the input field, you have to indicate what separator is used between its items. It can be a simple character (which is specified in the character delimiter mode) or it can be several changing characters (which are specified in the regular expression mode). If the current item count is greater than the desired list length, then the program will truncate the list to the desired length. If the current number of items is less than the desired length of the list, then the program will pad the list with items specified in the new-items option. You can extend the list with a single item that's duplicated multiple times or enter several items (one per line) and they will be cycled through and repeatedly appended to the list. You can add items to the list both on the left side (beginning of the list) and on the right side (end of the list). Technically speaking, when the items are added at the beginning of the list, this operation is called left padding, and when the items are added at the end of the list, the operation is called right padding. Also, you can remove empty items and specify the connection symbol for the items in the output. Listabulous!
In this example, the owner of a furniture store decided to go through the inventory and label all boxes of goods. She created a column list of labels for the first 9 boxes but as the remaining 3 boxes were sealed, she wasn't quite sure what was inside of them. To create a printable list of labels for all 12 boxes, she set the length of the new list to 12 items and filled the blank labels with the text "Unknown product".
In this example, we are preparing a playlist for Christmas. As we also have planned to watch a film in the evening, we decided to shorten the playlist to just six songs. To make the list of songs a fixed length, we paste it in the input, split the Christmas songs by a regexp "/[;,]\s*/" (matches commas and semicolons), and set the length of the output list to 6 items. Job done!
In this example, we're changing the length of a list of phone numbers. There are only 8 phone numbers in the loaded list but for our purpose, we need it to have 15 items. We separate the input list items with a newline character and set the desired length of the output list to 15 items. To fill the list, we enter three random phone numbers in the new items list and repeatedly add them to the beginning of the list, until the list grows to 15 items.
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