Line Formatting Tools

Insert Text Every Line

Add text to the start or end of every line.

PrivateYour text is processed on your device and never uploaded.
Input
Result
0 chars · 0 lines

Sometimes you need the same snippet at the start or end of every line, which a find-and-replace cannot do cleanly.

Insert Text Every Line adds your text to each line at the position you choose.

How to use Insert Text Every Line

  1. Paste the lines you want to edit into the input box.
  2. Type the text and choose start or end, and Insert Text Every Line adds it to each line there.
  3. Copy the edited lines, or download them as a .txt file.

Use cases

Good to know

Insert Text Every Line places your exact text at either the beginning or the end of each line, based on the position you select. Every line is treated the same, so the inserted text lines up on the chosen side.

Frequently asked questions

Can I choose where the text goes?

Yes. A position control lets you insert at the start or the end of every line.

Is this different from adding a prefix or suffix?

It is the same idea with a single control for either side, so you can switch between leading and trailing inserts quickly.

Does it insert on empty lines too?

Yes. Blank lines receive the inserted text as well, which keeps the column consistent.

Related Line Formatting Tools