Skip to content
Tooldict

Add Prefix & Suffix to Lines

Adds a prefix to the start and a suffix to the end of each line. Use them together or one at a time.

Result

About

Perfect for wrapping a list of words in HTML tags, adding quotes/commas to each line, or starting lines with a bullet. You can leave either the prefix or suffix field empty.

Processing happens in your browser; your content is never sent out.

How to use

  1. Enter your text with each item on its own line.
  2. Type the prefix and/or suffix you want to add.
  3. Copy the result.

Frequently Asked Questions

Can I append to the end only?
Yes. Leave the prefix empty and fill in only the suffix to append to line ends.
Is it applied to every line?
Yes. The prefix/suffix is added to each line in the text separately.

Other tools

Embed this tool

Copy the code below and paste it into your site's HTML to embed this tool for free. The snippet includes an attribution link back to the source.

<iframe src="https://tooldict.com/embed/en/add-prefix-suffix" title="Add Prefix & Suffix" width="100%" height="600" style="border:1px solid #e2e8f0;border-radius:16px;max-width:680px" loading="lazy"></iframe>
<p style="font:13px/1.5 sans-serif">Powered by <a href="https://tooldict.com/en/add-prefix-suffix" target="_blank" rel="noopener">Add Prefix & Suffix</a> — Tooldict</p>