Add Prefix and Suffix to Lines

Type what to add before and after, and every line is wrapped for you.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the add prefix and suffix to lines

  1. Paste your lines.
  2. Type the text to add before each line, after each line, or both.
  3. Copy the result.

Handy recipes

GoalBeforeAfter
Wrap each line in quotes for code"",
Make a bulleted list- (empty)
Build HTML list items<li></li>
Turn words into hashtags#(empty)
Build a SQL IN list'',
Add a domain to usernames(empty)@example.com

Blank lines are skipped by default so you do not end up with empty quotes or tags. To join the wrapped lines into one row afterwards, use remove line breaks.

Frequently asked questions

Can I add different text to each line?

No, the same prefix and suffix are added to every line. For sequential numbers use add line numbers.

Is my text stored or sent anywhere?

No. Everything happens inside your browser. Your text is not uploaded, logged or read by anyone. The page remembers your last text on this device only, so you can pick up where you left off; press Clear to remove it.

Related tools