How to Use the Add a Prefix to Each Text Line Online
- 1Paste the lines with their original spacing and blank rows.
- 2Enter the prefix exactly as it should appear, including a separating space if required.
- 3Enable Skip Empty Lines when blank separators should stay unmarked.
- 4Copy the result once the prefix and indentation have the intended spacing.
Input & Output Examples
A hyphen and a space are inserted before each line. The two original spaces before beta remain.
Input Sample
alpha
betaExpected Output
- alpha
- betaWith Skip Empty Lines enabled, the middle line keeps its original space and tab and receives no marker.
Input Sample
red
blueExpected Output
> red
> bluePractical Developer Workflows
- Make a Markdown quote or list from several lines of plain text.
- Prepend a repeated label to every row of a simple fixture.
- Add a visible marker before indented text to show where each original line begins.
Zero Server Uploads & Complete Privacy
Runs 100% in your browser; no data is uploaded to any server.
Notice a bug, calculation error, or outdated info?
Let us know directly so our engineering team can fix it.
Frequently Asked Questions
It comes before the entire line, including existing spaces and tabs. If a line begins with indentation, that indentation remains after the newly inserted prefix. Trim leading whitespace first if the text must start directly after the marker.