Add Prefix/Suffix

Add text before or after each line

Prefix & Suffix

Input Lines

5

Output Lines

5

What is Add Prefix/Suffix?

Add Prefix/Suffix adds custom text to the start or end of every line. Use it to format lists, add numbering, wrap lines in HTML tags, or prep data for import.

How to use

  1. Paste your multi-line text into the input area — each line will be processed individually.
  2. Enter the prefix text (added before each line) and/or suffix text (added after each line).
  3. The output updates as you type. Copy the result when you're done.

Result

Given lines 'apple', 'banana', 'cherry' with prefix '- ' and suffix ' (fruit)', the output becomes '- apple (fruit)', '- banana (fruit)', '- cherry (fruit)'.

Related Tools