Skip to content

The text changes in this tab

Add text before each line

The prefix is pasted in front of every line, including blank ones.

Nothing is inserted in the middle of a line.

The work stays in this tab.

This tool runs in your browser. Turn on JavaScript to use it.

Prefix lines

The sample is fixed. It uses the same rule as the form.

Input
a b
Prefix
-
Result
- a - b

How to use it

  1. 1Edit the text.
  2. 2Read the result beside it.
  3. 3Copy what you need.

Good to know

  • The prefix is literal. It is not a template.
  • This page does not upload the text.
  • Text longer than one hundred thousand characters is rejected.

Questions

Does the result leave this browser?

No. The calculation finishes in the current tab.

What does this page leave out?

The prefix is literal. It is not a template.

What if the input is huge?

Past one hundred thousand characters, the page stops and asks you to shorten it.

Related tools