Add Text To Each Line adds text to the beginning, the end or both ends of every line. Paste your list, enter the text to add, click the button and copy the result. It is free and runs in your browser.
Learn how to put a text or code to each line. This tool automatically adds text without the need to retype.
<a>Learn how to put a text or code to each line.</a> <a>This tool automatically adds text without the need to retype.</a>
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
This tool adds text to the beginning and the end of every line of your list. You can add a prefix, a suffix or both, so you do not have to edit each line by hand.
The text is added exactly as you type it, so it works for bullet marks, quotes, commas, brackets, HTML tags and code. If your list has blank lines, you can add text to them or skip them.
Use it to turn a list into HTML list items, wrap each item in quotes, add commas for code or add a label to every line.
Each example shows the text that was added. The text goes in exactly as typed.
| Setting | Before | After |
|---|---|---|
| Beginning "- " | apple banana | - apple - banana |
| End ";" | a b | a; b; |
| Beginning '"', end '",' | red green | "red", "green", |
| Beginning "<li>", end "</li>" | Home About | <li>Home</li> <li>About</li> |
| Beginning "* ", skip empty lines | Tea Coffee | * Tea * Coffee |
Making HTML list items, quoting every item, adding commas or semicolons to a list, adding bullet marks and putting the same label on every line.
A line is text that ends where you pressed Enter. Spaces you type are kept, so add a space after a prefix if you want one. Blank lines get the text unless you tick Skip empty lines.
To add numbers instead of text, try Add Number To Each Line. To add text inside a line, try Specified Position Text Addition.
It adds text to the start of every line, to the end of every line, or both. You can use it to add a prefix, a suffix, quotes, bullet marks or HTML tags to a whole list at once.
Type or paste your list with one item on each line. Enter the text for the beginning, the end or both, then click Add Text. The result replaces the text in the box. Click Copy to use it, or Undo to go back.
Yes. Fill in only the box you need and leave the other one empty. At least one of the two boxes must have text.
Yes. The text you enter is added exactly as you type it, so you can add tags such as <li> and </li>, quotes, commas, brackets or any other characters.
Yes. A space at the end of the beginning text, such as a bullet followed by a space, is kept, so it separates the added text from your line.
By default every line gets the text, including empty ones. Tick Skip empty lines to leave blank lines as they are.
A line is a piece of text that ends where you pressed Enter. A long paragraph that only wraps on the screen is one line.
Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server.
Last updated: 27 October 2026