Free online text tools

Modify Tools

Modify tools change the content of your text: add numbers or text to lines, convert columns and commas, fix spacing, keep or trim parts of lines, and merge lists. Choose a tool below, paste your text and copy the result. All 18 tools are free and run in your browser.

All modify tools (18)

Add to lines 5 tools

Commas and columns 4 tools

Spaces and trimming 3 tools

Keep parts of lines 4 tools

Combine and convert 2 tools

Hover over a card to see an example. On phones the example is always shown.

Which modify tool should you use?

Start from what you want to do with your text.

If you want toUseExample
Number a listAdd Number To Each Lineapple, banana becomes 1. apple, 2. banana
Turn a column into a comma listColumn to Commared, green, blue on three lines becomes red, green, blue
Split a comma list into rowsComma to Columnred, green, blue becomes three lines
Put quotes or brackets around every linePrefix Suffixapple becomes [apple]
Clean up spacingConvert Double Space To Single Space and Trim Text" Hello world " becomes "Hello world"
Filter a list by a wordKeep Lines Containing A Certain WordKeep only the lines that contain "cat"
Write a number as wordsNumber To Words42 becomes forty-two

Quick guide to modifying text

Most tools work line by line

A line is any piece of text that ends with a line break. Tools such as Add Text To Each Line and Keep First Characters Of Each Line treat every line separately.

Prefix, suffix or add text

Add Text To Each Line puts one piece of text on every line. Prefix Suffix puts text at both the start and the end, which suits quotes, brackets and HTML tags.

Spreadsheets and code

Column to Comma turns a column copied from a spreadsheet into a list you can paste into code or a database query. Comma to Column does the reverse.

How to use any modify tool

  1. 1
    Choose a tool
    Pick one from the groups above.
  2. 2
    Paste your text
    Add it to the input box.
  3. 3
    Set the options
    Enter the number, word or text to use.
  4. 4
    Copy the result
    Paste it where you need it.

Modify tools FAQ

What are modify tools?

Modify tools change the content of your text. They add numbers or text to lines, convert between columns and commas, fix spacing, keep or trim parts of lines, and merge lists.

How do I add a number to each line?

Paste your list into the Add Number To Each Line tool. It puts a number in front of every line so you get a numbered list.

How do I turn a column into a comma-separated list?

Paste the column, for example copied from a spreadsheet, into the Column to Comma tool. It joins the lines into one list with commas between the items.

How do I turn a comma-separated list into separate lines?

Use the Comma to Column tool for a list of items, or Convert Text with Commas To Lines for any text. Both put each comma-separated part on its own line.

How do I add text to the start or end of every line?

Use Add Text To Each Line to add one piece of text to every line. Use Prefix Suffix when you want text at both the start and the end, such as quotes or brackets.

How do I fix extra spaces in my text?

Use Convert Double Space To Single Space to replace double spaces, and Trim Text to remove spaces from the start and end of the text.

How do I keep only the lines that contain a certain word?

Use Keep Lines Containing A Certain Word and enter the word. Every line without that word is removed and the matching lines stay.

What is the difference between Keep Lines Containing A Certain Word and A Certain Words?

The Word tool filters by one word. The Words tool filters by a list of words and keeps a line when it contains any of them.

Are these tools free and is my text private?

Yes. Every tool is free, needs no account, and runs in your browser, so the text you paste is not uploaded to a server.

Missing a tool? Tell us and we will build it.

Suggest a tool

Last updated: 21 October 2026