Home Text Tools Encoding Hashing Generators Developer Converters Text Styles Image Tools

Add Prefix & Suffix

Add a prefix and/or suffix to each line of your text.

All processing happens in your browser. No data is sent to any server.
Input 0
Output 0

How It Works

The Add Prefix & Suffix tool prepends and/or appends text to every line in your input. This is extremely useful for batch-formatting lines of text.

Common use cases:

  • Wrapping in quotes — Set prefix to " and suffix to ", to create a quoted, comma-separated list.
  • HTML list items — Set prefix to <li> and suffix to </li> to wrap each line in list item tags.
  • SQL IN clause — Set prefix to ' and suffix to ', for SQL value lists.
  • Bullet points — Set prefix to - to add markdown bullet points.
  • Comments — Set prefix to // to comment out each line.

All processing runs entirely in your browser. No text is transmitted to any server.