Comment lines
Input
// line one line two
Output
//line one //line two
Adds the same prefix to every line.
Text Tools
Review practical Prefix Lines examples so you can understand expected input, output, and common patterns faster.
Use this prefix lines tool to add the same prefix to each line of text. It is useful for comments, bullets, code formatting, labels, and list preparation.
Example pages are especially useful for text tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Input
// line one line two
Output
//line one //line two
Adds the same prefix to every line.
Input
- Apple Banana
Output
- Apple - Banana
Useful for turning plain lines into bullet-style lists.
Fix: Put the prefix first, then a blank line, then the body text.
Fix: This tool prefixes every line, including empty ones.
Fix: Use a short consistent prefix for cleaner results.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main Prefix Lines page and test your own real input.