Add custom prefix or suffix to every line of your text. Perfect for formatting code, creating lists, adding quotes, or batch-editing multiple lines at once. Supports custom separators and formatting.
help
Frequently Asked Questions (FAQ)
Our tool adds text to the beginning (prefix) or end (suffix) of each line in your text. You can apply both simultaneously or just one.
Currently the tool applies the same prefix/suffix to all lines. For more complex operations, you can process the text in multiple passes or use find and replace patterns.
The tool supports static text for prefixes and suffixes. For inserting progressive line numbers, use our dedicated line numbering tool.
You can select and copy only the lines you want to modify, apply prefixes/suffixes, and then reinsert them into the original document. This gives you precise control.
Adding quotes to each line, creating bulleted lists, formatting code (e.g., adding console.log), preparing data for databases or spreadsheets, or creating HTML/Markdown markup.