Free Add Prefix & Suffix to Lines Tool
Add a prefix and/or suffix to every line of text in one click. This is perfect for turning a plain list into bullets, wrapping the same quotation marks around each line, prepending dashes, or building comma-separated values.
How to Use
Paste your lines, type the prefix and/or suffix you want, and the result updates instantly. You can also skip blank lines and choose whether the prefix/suffix applies to each line or only the first and last.
- Prepend and append text to every line at once
- Option to skip empty lines
- Choose between every line or only the outermost lines
- Copy the result with one click
Common uses
Wrapping each line in quotes for a SQL IN clause, turning a list into a Markdown bulleted list, adding HTML tags around each item, or prefixing log lines with a tag. Batch edits like these are tedious by hand and trivial with this tool.
Related Text Tools
You might also need
Tools from other categories that people pair with the Prefix & Suffix: