T TextTools

Add Prefix / Suffix to Lines

Add the same prefix or suffix (or both) to every line of your text.

Advertisement

How to use Add Prefix / Suffix to Lines

  1. Paste your lines.
  2. Type the prefix and/or suffix.
  3. Copy the result.

What is Add Prefix / Suffix to Lines?

Surrounding each line with the same text is common when building SQL VALUES lists, quoting strings for code, bulleting lists, or making CSV columns. This tool does it in one shot with optional skip-empty so blank lines stay blank.

Advertisement

FAQ

Can I quote each line?
Yes — set prefix to a quote and suffix to quote-comma to get a CSV-like list.

Related tools