prefix-suffix

Add Prefix/Suffix into Each Line

Add characters to the start and/or end of 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 a desired prefix and/or suffix. The prefix will be inserted at the start of each line, and the suffix will be added at the end. Leave the text box empty to skip adding a prefix or suffix.

Exclude Empty Lines


The tool includes an option that allows you to exclude empty lines. If a line doesn't contain any text, 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>