Add Prefix/Suffix to Lines

Add text to the beginning or end of every line.

About the Prefix/Suffix Tool

This tool allows you to add custom text to the beginning (a prefix) and/or the end (a suffix) of every line in a block of text. It's incredibly useful for developers, data analysts, and anyone who needs to format lists quickly. For example, you can use it to wrap lines in quotes, add list item tags, or prepend numbers to a list.

How to Use This Tool

  1. Enter Content: Paste the text you want to modify into the main text area, with each item on a new line.
  2. Specify Prefix/Suffix: Enter the text you want to add in the "Prefix" and/or "Suffix" fields. You can use one or both.
  3. Click Apply: Press the "Apply Prefix/Suffix" button.
  4. Get Result: The modified text, with your specified text added to each line, will appear in the "Result" box.