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
Add Number To Each Line
Number every line of a list, starting from any number.
Open tool → Exampleapple / banana1. apple / 2. banana
Coming soon
+T
Add Text To Each Line
Add the same text to the start or end of every line.
Open tool → Exampleapple / banana- apple / - banana
Coming soon
[ ]
Prefix Suffix
Wrap every line with a prefix and a suffix in one step.
Open tool → Exampleapple / pear[apple] / [pear]
Coming soon
a-b
Add String After Number of Characters
Insert a string after every set number of characters.
Open tool → Exampleabcdefghabc-def-gh
Coming soon
a|b
Specified Position Text Addition
Insert text at an exact position in each line.
Open tool → Exampleabcdefabc-def
Commas and columns 4 tools
Column to Comma
Turn a column of items into one comma-separated list.
Open tool → Examplered / green / bluered, green, blue
Coming soon
,↓
Comma to Column
Turn a comma-separated list into a single column.
Open tool → Examplered, green, bluered / green / blue
Coming soon
,↵
Convert Text with Commas To Lines
Split text at every comma and put each part on its own line.
Open tool → ExampleHello, world, againHello / world / again
Coming soon
1,0
Commas Between Numbers
Add thousands separators to long numbers.
Open tool → Example10000001,000,000
Spaces and trimming 3 tools
Convert Double Space To Single Space
Replace every double space with a single space.
Open tool → ExampleHello worldHello world
Coming soon
1→2
Convert Single Space To Double Space
Replace every single space with a double space.
Open tool → ExampleHello worldHello world
Coming soon
|x|
Trim Text
Remove spaces from the start and end of your text.
Open tool → Example" hello ""hello"
Keep parts of lines 4 tools
Keep First Characters Of Each Line
Keep only the first characters of every line.
Open tool → Exampleapple / banana (keep 3)app / ban
Coming soon
ab|
Keep Last Characters Of Each Line
Keep only the last characters of every line.
Open tool → Exampleapple / banana (keep 3)ple / ana
Coming soon
[w]
Keep Lines Containing A Certain Word
Keep only the lines that contain one word you choose.
Open tool → Examplecat food / dog food / cat toy (cat)cat food / cat toy
Coming soon
[w+]
Keep Lines Containing A Certain Words
Keep only the lines that contain any word from your list.
Open tool → Examplecat food / bird seed / dog toy (cat, dog)cat food / dog toy
Combine and convert 2 tools
Merge Text or Lists
Combine two lists or blocks of text line by line.
Open tool → ExampleA / B + 1 / 2A1 / B2
Coming soon
No.
Number To Words
Write numbers out as words.
Open tool → Example42forty-two
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 to | Use | Example |
|---|---|---|
| Number a list | Add Number To Each Line | apple, banana becomes 1. apple, 2. banana |
| Turn a column into a comma list | Column to Comma | red, green, blue on three lines becomes red, green, blue |
| Split a comma list into rows | Comma to Column | red, green, blue becomes three lines |
| Put quotes or brackets around every line | Prefix Suffix | apple becomes [apple] |
| Clean up spacing | Convert Double Space To Single Space and Trim Text | " Hello world " becomes "Hello world" |
| Filter a list by a word | Keep Lines Containing A Certain Word | Keep only the lines that contain "cat" |
| Write a number as words | Number To Words | 42 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
- 1Choose a tool
Pick one from the groups above. - 2Paste your text
Add it to the input box. - 3Set the options
Enter the number, word or text to use. - 4Copy 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 toolLast updated: 21 October 2026
