Ad slot 728×90

Add Prefix / Suffix

Batch add a prefix and/or suffix to each line—great for lists, URLs, SQL IN clauses, and scripts. Everything runs locally in your browser.

Ad slot 300×250

What is a prefix/suffix adder?

A prefix/suffix adder is a batch text tool that adds a fixed prefix and/or suffix to every line. It helps you quickly generate structured output without writing scripts.

How to use

  1. Enter the prefix and/or suffix (optional).
  2. Paste a list (one item per line) into the input box.
  3. Enable Skip empty lines if you don’t want blank output lines.
  4. Click Apply, then copy or download.

Common use cases

  • Build SQL IN (...) lists by adding quotes and commas.
  • Generate URLs (prefix = base URL, each line = query value).
  • Wrap values into JSON/CSV-like formats.

FAQ

Does it change the original order?

No. Lines are processed in the same order as your input.

Can I add quotes and commas for SQL?

Yes. Example: prefix = ' and suffix = ',.

Is my data uploaded?

No. Processing runs locally in your browser by default.