Tools
Runs locally

Prefix Lines

Add the same prefix to every line.

Ctrl+Enter runs. Ctrl+Shift+Backspace clears.

Export and import are available after you sign in. Sign in

Add the same prefix to every line. Runs in the browser. Nothing is uploaded.

About this tool

Turn a plain list into bullets, comment out a block of code with //, or add a tag to every line of a file. Enter the prefix once and it is added to each line.

How to use it

  1. 01

    Paste the lines.

  2. 02

    Type the prefix, for example "- " or "// ".

  3. 03

    Copy the prefixed text.

FAQ

Frequently asked questions

Is the prefix added to empty lines?

Yes. Every line gets the prefix, including empty ones.

Can I add text at the end of lines?

Not with this tool. It only adds text at the start of each line.