Text to List
Convert text to a list online. Paste text, split it by line, comma, space, or a custom delimiter, then wrap each item with a prefix and suffix using presets for HTML list items, numbered lists, bullets, or code arrays. Trim items, remove blanks, and remove duplicates.
ToolsSoup's Text to List tool turns any block of text into a clean, formatted list in one click. Paste your text and choose how to split it — by line, comma, space, or your own custom delimiter — then wrap every item with an optional prefix and suffix. Built-in presets format the list as bullet points, a numbered list, HTML list items, or quoted comma-separated values for a code array, and you can type your own prefix and suffix for anything else. Trim each item, remove blank lines, and remove duplicates as you convert. The result is shown ready to copy, and everything runs in your browser — no uploads, no sign-up, and your text never leaves your device.
What does a text to list converter do?
A text to list converter takes a chunk of text and breaks it into separate items, then formats each item the way you need. First it splits the text into pieces using the separator you choose: each new line, each comma, each space, or a custom delimiter you type in. Then it wraps every piece with an optional prefix and suffix, so you can turn plain lines into bullet points, a numbered list, HTML list items, or quoted values for a code array. Along the way it can trim extra spaces from each item, drop empty lines, and remove duplicates. The job that would take many manual edits — adding a dash or a quote to every single line — happens instantly for the whole list.
How to convert text to a list
Turning text into a formatted list takes only a few seconds:
- Paste or type your text into the text box.
- Choose how to split it — by new line, comma, space, or a custom delimiter.
- Pick a preset such as bulleted, numbered, HTML list items, or a quoted array, or type your own prefix and suffix.
- Turn on any options you need — trim items, remove blanks, or remove duplicates.
- Click Convert to list, then click Copy result to grab the formatted list.
Splitting by line, comma, space, or a custom delimiter
The split option tells the tool where one item ends and the next begins. Choose New line when you already have one item per row, like a pasted column from a spreadsheet. Choose Comma to break a single line of comma-separated values into separate items, or Space to treat every word as its own item. Pick Custom and type any delimiter — a pipe, a tab character, a slash, or even a word — to split text that uses an unusual separator. Whatever you pick, each resulting item is then formatted with your prefix and suffix.
Prefixes, suffixes, and ready-made presets
Presets fill in the prefix and suffix for the most common list formats so you do not have to. Bulleted adds a bullet character to the front of each line. Numbered adds a running number, so the first item starts with 1, the next with 2, and so on. The HTML preset wraps each item in a list item tag, ready to drop into an unordered or ordered list. The quoted-array preset wraps each item in double quotes and adds a trailing comma, which is perfect for pasting into a code array. Need something else? Type your own prefix and suffix — a dash, a checkbox, a SQL value, or any wrapper you like — and use a number sign in the prefix or suffix to insert each item's position.
Trim, remove blanks, and remove duplicates
Three cleanup options make the output tidy. Trim items removes leading and trailing spaces from every item, so stray indentation does not end up inside your formatting. Remove blanks drops empty items, which is handy when the pasted text has blank lines or trailing separators. Remove duplicates keeps a single copy of each item, ideal for cleaning keyword lists, tags, or repeated rows before you wrap them. All three run as the list is built, so the final list is clean and ready to use.
Why use this text to list tool?
- Convert text to a list by splitting on line, comma, space, or a custom delimiter.
- Wrap each item with a prefix and suffix using presets for bullets, numbers, HTML list items, or code arrays.
- Insert a running number into each item with the numbered preset or a number sign in your prefix.
- Trim items, remove blank lines, and remove duplicates while you convert.
- Copy the formatted list with one click, ready to paste anywhere.
- Runs entirely in your browser — your text is never uploaded or stored.
Frequently asked questions
How do I convert text to a list?
Paste your text into the box, choose how to split it, pick a preset or type a prefix and suffix, and click Convert to list. The tool breaks the text into items, formats each one, and shows the result ready to copy.
How do I turn lines into HTML list items?
Set Split by to New line and choose the HTML list items preset. Each line is wrapped in a list item tag so you can paste the result straight into an unordered or ordered list in your HTML.
Can I convert a comma-separated list into separate lines?
Yes. Set Split by to Comma and leave the preset on Plain. The tool breaks the comma-separated text into individual items and outputs one per line, ready to copy.
How do I add quotes and commas to make a code array?
Choose the quoted, comma preset. Each item is wrapped in double quotes with a trailing comma, so you can paste the lines between square brackets to build an array.
Can I number each item in the list?
Yes. Pick the Numbered preset, or type a number sign in your own prefix or suffix. The tool replaces the number sign with each item's position, starting at one.
Can it remove duplicate or blank items?
Yes. Turn on Remove duplicates to keep one copy of each item, and Remove blanks to drop empty lines. Combine them with Trim items for a clean, deduplicated list.
Is my text private?
Absolutely. All processing happens locally in your browser using JavaScript, so the text you paste is never sent to or stored on any server.