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.
Output
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 online comma separator. Turn a vertical list of emails, IDs, or keywords into a single comma-separated line. Browser-based.
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.