Prefix & Suffix Adder
Add characters to the start or end of every line.
What is a Add Prefix / Suffix to Text?
An Add Prefix / Suffix tool is a free online text editor that allows you to instantly append a specific word, character, or phrase to the beginning (prefix) or end (suffix) of every line in a list.
Why We Built This (And Why You Can Trust It)
Formatting massive lists for code, like wrapping 100 words in HTML `
How to Use the Add Prefix / Suffix to Text
1. Paste your list (one item per line) into the main text area.
\n\n\n2. Enter the text you want at the beginning of each line in the ‘Prefix’ box.
\n\n\n3. Enter the text you want at the end of each line in the ‘Suffix’ box.
\n\n\n4. Click ‘Add Prefix/Suffix’ and copy the resulting formatted list.
Common Use Cases
- **HTML Formatting:** Quickly wrap a plain list of items in `
- ` and ` ` tags for a webpage.
Frequently Asked Questions
Does it work on blank lines?
Depending on the tool’s settings, it typically applies the prefix and suffix to every single line, including blank ones. We recommend removing blank lines before using this tool.
Can I use special characters?
Yes, you can use any characters, including spaces, tabs, HTML brackets, and symbols as your prefix or suffix.
Is there a limit to how many lines I can process?
Because it runs locally in your browser, you can safely process tens of thousands of lines instantly without server timeouts.

