Guide
How to Convert Text Into a List (Comma, Line, or Custom Delimited)
See how to split a block of text into a structured list and format it for spreadsheets, code and display.
A text-to-list tool splits a block of text into individual items using a delimiter you choose — commas, spaces, line breaks, or a custom character — and can number, quote, or sort the result.
Common delimiters
- Comma — turns "a, b, c" into separate items.
- New line — splits a paragraph block into line items.
- Space — splits a sentence into words.
- Custom — any character or string you specify (e.g. semicolon, pipe).
Formatting options
Beyond splitting, the tool can wrap each item in quotes (handy for code or SQL), number them sequentially, trim whitespace, deduplicate, and rejoin with a different delimiter — for example, turning a comma list into a bulleted line list.
How to convert text to a list
- Paste your text.
- Choose the input delimiter.
- Pick any formatting (numbering, quotes, dedupe).
- Copy the resulting list.
Examples
The comma-separated "apple, banana, cherry" can become a numbered list: 1. apple, 2. banana, 3. cherry. Or a quoted, comma-joined string: "apple","banana","cherry" — ready to paste into a SQL IN clause.
When text-to-list is useful
- Preparing data for spreadsheets, CSVs, or databases.
- Building arrays or lists for code.
- Converting a paragraph into a bullet list for slides.
- Reformatting exported data for a different tool.
Put it into practice
Use the Text to List right now — free, in your browser, no sign-up required.
Try the Text to ListMore guides
- How to Unscramble Letters Into Words
- How to Find Anagrams of Any Word
- How to Count Words, Characters and Reading Time Accurately
- How to Find Words by Pattern, Length and Letters
- How to Use a Random Word Generator for Games, Writing and Brainstorming
- How to Count Characters (With and Without Spaces)
- How to Convert Text Between Cases (UPPER, lower, Title, camelCase and More)
- How to Clean Up Messy Text (Spaces, Line Breaks and Whitespace)
Related free tools
More free online utilities that pair well with this one — same-category tools for the same task, plus handy extras from other categories.
More words & text tools
You might also need
- Base64 Encoder / DecoderConvert plain text or images to Base64 strings
- YAML to JSON ConverterConvert YAML to JSON and JSON to YAML
- Base64 Image Encoder / DecoderConvert images to Base64 & Base64 back to images
- Curl-to-Code ConverterConvert curl commands to fetch, Python & PHP
- Data Storage ConverterConvert bits, bytes, KB, MB, GB & TB