Add Prefix & Suffix

Add text before and after each line.


Insert at the beginning of each line

Insert at the end of each line

Suggested Tools


About


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

Exclude Empty Lines

Use the prefix and suffix toggles to control which parts are applied to each line.

Basic Example

Prefix <li> and Suffix </li>.

Apple
Banana
Orange
Result
<li>Apple</li>
<li>Banana</li>
<li>Orange</li>
Please enable JavaScript.