Converter Web ToolsConverter WebTools

Add Prefix / Suffix to Each Line

Add a prefix and/or suffix to every line at once — great for building lists, code, SQL or CSV, with optional line numbering.

Prefix Suffix

What is Prefix Suffix?

Quickly prepend and append text to every line of your input. Add bullets, quotes, HTML tags, SQL commas or any wrapper to a whole list in one go. Options let you number lines and skip blank lines.

How Prefix Suffix works

The tool processes each line, optionally skipping blanks, adds an incrementing number if requested, then wraps the line with your prefix and suffix.

Example: prefix - turns a list into a Markdown bullet list.

Common uses

  • Turn lines into a bulleted or numbered list
  • Wrap each line in quotes or HTML tags
  • Append commas or semicolons for code
  • Bulk-edit lists fast

Frequently asked questions

Can I number the lines?
Yes — enable numbering to prepend 1., 2., 3. and so on.
Does it skip empty lines?
It can — keep 'skip empty lines' checked.
Can I add both a prefix and a suffix?
Yes — fill in either or both fields.