Skip to content

Text Manipulation Suite · free · no sign-up

Add Prefix to Lines

Add the same text at the start of every line.

How it works Report a problem

Add Prefix to Lines

Batch add text to the beginning of each line

0
0
0
Input Lines

About the Add Prefix to Lines

Add the same text at the start of every line.

How to use the Add Prefix to Lines

  1. Paste your text into the box, click Sample for an example, or load a text file with File.
  2. Type the Prefix, for example >> .
  3. Press Add Prefix.
  4. Use Copy or .TXT to save the result.

Worked example

Adding >> to the lines a and b gives >> a and >> b.

Tips

  • Turn on Skip empty lines so blank lines stay blank.

Frequently asked questions

What can I use this for?
Quoting text, indenting, adding bullets, or preparing lists for code.