Add Prefix/Suffix

Add text before or after each line

Prefix & Suffix

Input Lines

Output Lines

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

What is Add Prefix/Suffix?

Add Prefix/Suffix lets you prepend or append custom text to every line of your input. Ideal for bulk-formatting lists, adding numbering, wrapping lines in HTML tags, or preparing data for import into other systems.

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. Click apply to see the transformed output, then copy the result to your clipboard.

Result

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

Related Tools