Line Suffixer & Query Builder

Append commas, semicolons, file extensions, or query parameters to the end of every line.

About this tool

Format list items into comma-separated SQL IN clauses, CSV values, or parameter lists effortlessly.

How to use this tool

  1. Enter the suffix string (e.g. "," or ";").
  2. Paste your lines into the editor.
  3. Click Apply Suffix to Lines and copy the result.

How it works

Appends your specified suffix string to every line while respecting whitespace and optional empty line skips.

When to use this tool

  • Adding commas to a list of IDs for SQL IN (...) queries.
  • Appending query strings or URL fragments to a list of web endpoints.

Frequently asked questions

Can I add commas and quotes?

Yes! Use with Line Prefixer to surround items with quotes and commas.

Limitations

Handles arbitrary Unicode characters.

Privacy

Runs completely in your browser.