Add Text to Every Line
Add a prefix, suffix or text at a selected position on every line while preserving the original line order. Processing takes place locally in your browser.
Start using
What Add Text to Every Line does
Add a prefix, suffix or text at a selected position on every line while preserving the original line order.
Worked example
red green blue + prefix “color: ”
color: red color: green color: blue
How the text is processed
The tool splits the input at line boundaries, inserts the chosen text at the configured position in each line and joins the lines using the selected output line ending.
Useful workflows
- Add bullets, quotes or delimiters to a list
- Prepare values for SQL, CSV or source code
- Append a domain or tag to every item
Limits and review checks
- Position counts can differ around emoji and combined Unicode characters.
- Blank lines are modified unless the corresponding option excludes them.
- Preview quoting and escaping before running generated text as code.
Frequently asked questions
Can I add different text to each line?
This tool applies the same insertion rule to every line; use find and replace or a spreadsheet for line-specific values.
Will it change the order of my lines?
No. It processes lines in place and keeps their original order.
Processing takes place locally in your browser.