᠎᠎᠎          
51K

List delimiter changer

World's simplest list tool

This is a super simple browser-based application that changes the separator of items in any list. It can modify single character separators (such as a comma or a tab), multi-character separators (such as a double-dot or a double-comma), or mixed-character separators (expressed via a regular expression). The newly replaced delimiter can be a single character or a multi-character pattern. Created by list geeks from team Browserling.
We created a cloud browser! Browserling
Check out our project Browserling – anonymous cloud browser.
Input List Separator
Separate input list items by any character.
Separate input list items by a regex.
Character, pattern, or regexp that separates list items.
Output List Separator
The new separator character that will go in the output list.
List delimiter changer tool What is a list delimiter changer?
With this utility, you can swap the list item separator with a new separator. For example, if your list uses newlines as item separators, then you can swap them with commas. The program supports all types of lists, such as numeric lists, symbolic lists, and string lists. The only difference between all these list types is the delimiter symbol. For example, a list with column data uses a newline symbol as a delimiter, a single-line list uses a space or a comma, and a TSV list uses tabs as delimiters. To support all possible delimiters, we have created two modes for finding the list item boundaries. The first one is called "Character Splitting Mode" and it's used if the separator of all input items is the same character. The second one is called "Regex Splitting Mode" and it's used if several different characters are used as input data delimiters. Below the mode selection options, you can enter the separator character or the regular expression that corresponds to the input list. There is only one option for the new output list and it's the new separator. Listabulous!
List delimiter changer examples Click to use
Metal Melting Points
In this example, we're working with a vertical list that contains melting point temperatures of various metals. This format doesn't really suit us, so we want to replace this vertical list with a horizontal comma-separated list of strings (CSS list). To quickly do it and change the list element separator, we select the "Character Splitting Mode" and set the input separator symbol to "\n". This escape sequence matches one item per line. Then we simply set the new separator to a comma and we get a comma-delimited list in the output.
Li – 453.65 K Be – 1560 K Na – 370.944 K Mg – 923 K Al – 933.47 K K – 336.7 K Ca – 1115 K Sc – 1814 K Ti – 1941 K V – 2183 K Cr – 2180 K Mn – 1519 K Fe – 1811 K Co – 1768 K Ni – 1728 K Cu – 1357.77 K Zn – 692.68 K Ga – 302.9146 K
Li – 453.65 K, Be – 1560 K, Na – 370.944 K, Mg – 923 K, Al – 933.47 K, K – 336.7 K, Ca – 1115 K, Sc – 1814 K, Ti – 1941 K, V – 2183 K, Cr – 2180 K, Mn – 1519 K, Fe – 1811 K, Co – 1768 K, Ni – 1728 K, Cu – 1357.77 K, Zn – 692.68 K, Ga – 302.9146 K
Required options
These options will be used automatically if you select this example.
Separate input list items by any character.
Character, pattern, or regexp that separates list items.
The new separator character that will go in the output list.
Change Font List Separator
The computer font list in this example uses two different item separators. To correctly extract all the font names from the list, we enable the "Regexp Splitting Mode" and enter the regular expression /[#&]+/ as the item separator match. This regexp corresponds to repeated occurrences of hash and ampersand characters in any order. In the new separator option, we enter a dash character and get a dash-separated list of fonts.
Arial#Times&Courier##Verdana&&Georgia&Palatino&#Garamond#Bookman&Tahoma&#&Impact#Bodoni&Futura
Arial - Times - Courier - Verdana - Georgia - Palatino - Garamond - Bookman - Tahoma - Impact - Bodoni - Futura
Required options
These options will be used automatically if you select this example.
Separate input list items by a regex.
Character, pattern, or regexp that separates list items.
The new separator character that will go in the output list.
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/change-list-separator?input=Li%20%E2%80%93%20453.65%20K%0ABe%20%E2%80%93%201560%20K%0ANa%20%E2%80%93%20370.944%20K%0AMg%20%E2%80%93%20923%20K%0AAl%20%E2%80%93%20933.47%20K%0AK%20%E2%80%93%20336.7%20K%0ACa%20%E2%80%93%201115%20K%0ASc%20%E2%80%93%201814%20K%0ATi%20%E2%80%93%201941%20K%0AV%20%E2%80%93%202183%20K%0ACr%20%E2%80%93%202180%20K%0AMn%20%E2%80%93%201519%20K%0AFe%20%E2%80%93%201811%20K%0ACo%20%E2%80%93%201768%20K%0ANi%20%E2%80%93%201728%20K%0ACu%20%E2%80%93%201357.77%20K%0AZn%20%E2%80%93%20692.68%20K%0AGa%20%E2%80%93%20302.9146%20K&string-separator=true&input-separator=%5Cn&join-character=%2C%20
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 list items in reverse order.
Quickly join all items of a list together.
Quickly extract a part of a list.
Quickly remove all empty items from a list.
Quickly set a new delimiter for items in a list.
Quickly count the number of items in a list.
Quickly print all distinct items of a list.
Quickly print all repeating items of a list.
Quickly remove whitespace characters around list items.
Coming soon These list tools are on the way
Truncate a List
Remove items from the beginning or end of a list.
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.
Randomize a List
Shuffle list items and make it random.
Randomly Select an Item
Randomly pick one or more items from a list.
Sort a List
Quickly sort list items alphabetically or numerically.
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.
Delete List Separator
Remove the symbol that separates list items.
Extract a Sublist from a List
Given start and stop indexes, extract a sublist from a list.
Rotate List Items
Rotate list items to the left or right (or up and down).
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.
Filter a List
Find certain items in a list.
Duplicate a List
Create multiple copies of a list.
Convert a List to an Image
Create an image from a list.
Convert a List to Columns
Create multiple columns from a single 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.
Zip Two Lists
Join two lists together item by item.
Merge Two Lists
Append a second list at the end of the first list.
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.
Create the Empty List
Generate a list with no items.
Color List Items
Quickly add colors to list items.
Visualize a List
Quickly create a graphical representation of a list.
Let Zalgo Destroy a List
Let Zalgo loose on a list and create list-chaos.
Print List Statistics
Analyze a list and print its item statistics.