Add Text to Each Line — Prefix & Suffix Tool — Free
Runs 100% in your browser — your files never leave your device.
Wrapping every line by hand — adding quotes, commas, bullets, or tags — is exactly the busywork a tool should absorb. Paste your lines, type what to add before and after each one, and copy the result. Empty lines are left untouched so your paragraph structure survives. Everything runs in your browser with no uploads.
How it works
- 1
Paste your lines
One item per line.
- 2
Set the prefix and suffix
Add text before, after, or around every non-empty line.
- 3
Copy the wrapped lines
The result updates live and copies with one click.
About this tool
What the tool does
The tool inserts your chosen text at the start or end of every line — prefixes and suffixes applied across an entire list in one pass. A thousand lines get the same treatment as one, with nothing retyped.
The everyday workflows
Turning domains into URLs, wrapping list items in quotes or brackets, adding HTML or Markdown markers to exported lines, appending file extensions to name lists, and building bulk commands where every line needs the same flag or argument.
Composing transformations
Complex reformatting chains cleanly: add a prefix here, then run remove line breaks or sort the list afterward. Each pass stays simple; the sequence does the work.
Frequently asked questions
Can I add text to both the start and the end at once?
Yes — fill both the prefix and suffix fields and each line emerges wrapped: your text, the original line, your closing text.
Do empty lines get the prefix too?
Blank lines receive the additions like any other line. Remove them first with the empty-line remover if your data has strays.
Is there a limit on line count?
No practical limit — the tool processes lists of thousands of lines instantly in your browser.