Add a prefix and suffix to each line

Wrap every line in text of your choice.

0 lines · 0 characters

0 lines · 0 characters

Results update as you type.

Runs in your browser. Nothing uploaded.

How to add a prefix and suffix to each line

  1. Paste your lines into Input.
  2. Type the text to add at the start (Prefix) and end (Suffix) of each line.
  3. Copy the result.

Common uses

  • Quote a list of values for a SQL IN (…) clause or a code array.
  • Add bullets like - or • to turn lines into a list.
  • Build URLs or file paths by adding a shared beginning and ending, such as https://example.com/ and .html.
  • Wrap lines in HTML tags such as <li> and </li>.