᠎᠎᠎          
51K

List prefix adder

World's simplest list tool

This is a super simple browser-based application that prefixes the items in a list. Once you specify the desired prefix in the options, it will be printed in front of each item in your list. You can use lists of any format and customize the input and output delimiters for the items. You can also remove space around items and get rid of empty items. Created by list geeks from team Browserling.
A new project! we made something new
We just created Online GIF Tools that offers tools for working with GIFs. Check it out!
Item Delimiter Matching
Use a character, word, or string to separate list items.
Use a regular expression to separate list items.
Enter the separator for the items in the input list. (A character or a regular expression).
Prefix Options
Enter the prefix to add to items.
Get rid of spaces on the left and right sides of each item.
Get rid of empty items or items that don't contain visible symbols.
Output Delimiter Options
Enter a separator for the output list. (Can be any character or a longer string).
List prefix adder tool What is a list prefix adder?
This online utility prepends a string in front of each list item. For example, if you have a list of phone numbers and you want to add the symbol # before each number, you can do it almost instantly. You don't need to manually add this symbol to each item yourself, instead, all you need to do is enter the # symbol in the prefix option and the utility will add this prefix automatically to all numbers. By default, this program works with comma-separated lists. However, it also supports other list formats, such as pipe-separated lists or semicolon-separated lists. You can use the item delimiter matching option to specify the list format. If the list uses a specific symbol as a delimiter, you can use the symbolic item delimiting mode. If the list uses a combination of symbols as delimiters, you can use the regular expression delimiting mode. Once the item delimiter is defined, you can enter the prefix for each item in the prefix option field. Optionally, you can trim items (remove the empty space around items) and remove items that don't contain anything (just spaces or zero-length data). And one final thing, when the prefixed list is printed in the output, you can also change the delimiter of the output items. Listabulous!
List prefix adder examples Click to use
Prefix a Vertical List
In this example, we add the article "the" at the beginning of all words in a vertical column list. We separate the input items by a newline character, clean up the excess whitespace around them (trim them), and skip the empty newlines. In the output, we also display the new list as a column and each word is now preceded by the definite article.
earth world sky weather air month sun east
the earth the world the sky the weather the air the month the sun the east
Required options
These options will be used automatically if you select this example.
Use a character, word, or string to separate list items.
Enter the separator for the items in the input list. (A character or a regular expression).
Enter the prefix to add to items.
Get rid of spaces on the left and right sides of each item.
Get rid of empty items or items that don't contain visible symbols.
Enter a separator for the output list. (Can be any character or a longer string).
Add Bullet Points to Items
In this example, we load a list of beautiful birds and add bullets before their names. We delimit the input list via the regex "/[.\n]/" since both periods and newlines are used as separators. We prefix the items with a nice Unicode character "❖" and output the birds' names as a bulleted list.
Hoopoe. Red Crested Turaco Peafowl. Painted Bunting Quetzal. Keel-billed Toucan Atlantic Puffin. Flamingo Rainbow Lorikeet. Wood Duck Northern Oriole. Blue Jay Dusky Lory. Golden Pheasant Peacock. Bohemian Waxwing
❖ Hoopoe ❖ Red Crested Turaco ❖ Peafowl ❖ Painted Bunting ❖ Quetzal ❖ Keel-billed Toucan ❖ Atlantic Puffin ❖ Flamingo ❖ Rainbow Lorikeet ❖ Wood Duck ❖ Northern Oriole ❖ Blue Jay ❖ Dusky Lory ❖ Golden Pheasant ❖ Peacock ❖ Bohemian Waxwing
Required options
These options will be used automatically if you select this example.
Use a regular expression to separate list items.
Enter the separator for the items in the input list. (A character or a regular expression).
Enter the prefix to add to items.
Get rid of spaces on the left and right sides of each item.
Get rid of empty items or items that don't contain visible symbols.
Enter a separator for the output list. (Can be any character or a longer string).
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/add-list-prefix?input=earth%20%0Aworld%0A%20%20sky%0A%0A%20%20weather%20%20%20%0Aair%0Amonth%20%20%0A%0A%20%20sun%0Aeast&string-separator=true&input-separator=%5Cn&join-character=%5Cn&prefix=the%20&trim-items=true&skip-empty=true
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.