All tools

Prefix / Suffix Lines

Add text to the start and end of every line at once.

Result

Add a Prefix or Suffix to Every Line

Paste a list and instantly wrap each line with text of your choice. Add a prefix to the start, a suffix to the end, or both โ€” perfect for turning plain lists into formatted output.

What you can do

  • Add the same prefix to every line
  • Add the same suffix to every line
  • Combine both at once
  • Optionally leave empty lines untouched

Practical examples

Turn a list of items into a bulleted list, wrap values in quotes, append semicolons to code lines, or add a common path in front of file names.

Bulk-formatting lists

Editing each line by hand is slow and error-prone. Applying a prefix and suffix in one pass guarantees every line is formatted identically, which is invaluable when preparing data, code, or documentation.

100% Private & Processed Locally

All processing happens in your browser. Your text is never uploaded.

Frequently Asked Questions

Common questions about the Prefix / Suffix Lines.

What does this tool do?
It adds a prefix to the start and a suffix to the end of every line at once.
Can it skip empty lines?
Yes. There is an option to leave blank lines untouched.
Is it free and private?
Yes. The tool is free and all processing happens locally in your browser.

More Text Tools

View all tools โ†’
Word CounterCharacter CounterLorem Ipsum GeneratorText ReverserRemove Duplicate LinesSort Text LinesFind and ReplaceReading Time Calculator
File Transfer