Content Cleanup
Prefix & Suffix Adder: Add Text to the Start or End of Every Line
Wrap each line of a list with a prefix, suffix, or both. Common uses include adding <li> tags to a list, quotes, or commas.
Runs in your browser — your text is never uploaded or stored.
Quick answer
Prefix / Suffix Adder is a free online tool that wrap each line of a list with a prefix, suffix, or both. Common uses include adding <li> tags to a list, quotes, or commas.
- Cost: free, no signup or limits.
- Privacy: runs 100% in your browser; text is never uploaded.
- Works on: desktop and mobile browsers, offline once loaded.
- Category: Content Cleanup.
Output
Common conversions
How to Use
- 1.Paste your list (one item per line).
- 2.Enter the text to add before each line and/or after each line.
- 3.Copy the wrapped output.
Advertisement
FAQ
Can I add only a prefix or only a suffix?
Yes — leave either field empty and only the other will be applied.
Does it skip blank lines?
Optional. Toggle 'Skip blank lines' to ignore empty lines.
Is it good for HTML lists?
Yes — add <li> before and </li> after to convert plain lines into HTML list items.
Related tools
Add Line Numbers
Prefix every line of text with a sequential number. Customize the starting number and separator. Free, private and instant.
Remove Extra Spaces
Free whitespace cleaner — collapse multiple spaces into one and trim leading and trailing whitespace on every line. Instant and private.
Comma Separator
Free comma separator tool. Turn a list into comma delimited text — or comma separated values back into a list — with dedupe, quotes and custom delimiters.
Sort Lines
Free online line sorter — alphabetize lists A–Z or Z–A, sort by line length, or shuffle randomly. Runs entirely in your browser.