Add Prefix and/or Suffix into Each Line

Insert this at the beginning of each line

Insert this at the end of each line

About


Wrap multiple lines of text with desired prefix and suffix or both. The prefix will be inserted at the start of each line and the suffix at the end. Leave the text box empty to skip adding prefix or suffix.

Exclude Empty Lines


The tool comes with an option that allows you to skip empty lines. If the line doesn't have any string, no prefix or suffix will be added. The default setting is on.

Prefix and suffix .

Enabled
“ABC”

“123”

“XYZ”
Disabled
“ABC”
“”
“123”
“”
“XYZ”

Basic Example


Prefix <li> and Suffix </li>.

Apple
Banana
Orange
Result
<li>Apple</li>
<li>Banana</li>
<li>Orange</li>