Prefix & Suffix Each Line

Add consistent text to every line and use {n} when you also need a sequence number.

How to use

These are example steps; replace the values for your task.

  1. Set the prefix to “[{n}] ”, suffix to “;”, and start number to 3.
  2. Check the result, then copy it or download TXT.

Text to add

Use {n} inside the prefix or suffix to insert a line sequence. Example: No.{n}

Original text

0 characters

Not saved

Updated result

0 characters

0 lines changed

About this tool

Add quotes to URL lists, symbols to product names, sequence numbers to rows, and other repeated line-level additions.

Try a use case and check the result

Apply a prefix or suffix to each row, for example to make a bullet list.

Try this example replaces the input and settings. Restore previous input returns to the state before the latest example. Normal draft-saving rules apply.

After trying multiple examples, repeat Restore previous input to return to your original input. History is kept only in this page; restore any input you need before closing it.

Add bullet markers

Input and settings

apple
pear

Prefix: • ; Suffix: None; Start number: 1; Skip blank lines: On

Expected result

• apple
• pear

How to read the result

The prefix and suffix are added literally. Original wording is not corrected.

Scope and pitfalls

This does not escape content for SQL or HTML. Check the destination’s syntax.

Continue with the next task

Frequently asked questions

What does {n} do?

It becomes an increasing line number. For example, “No.{n} ” produces No.1, No.2, and so on.

Can text be added to blank lines?

Yes. Turn off “Leave blank lines unchanged”.

Is my text sent to a server?

No. Processing and storage take place only in your browser.

Related tools

Check whether blank lines should change

The entered text is added before or after every line. When blank lines are included, characters are also inserted on visually empty lines. For quotes or delimiters, inspect both ends of several output lines.

Inputs and storage

Keep a separate copy before clearing or resetting. This browser autosaves entered text and tool settings. Data is not restored when read 30 days or more after its last save. Clearing site data or storage restrictions may remove it sooner.

Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.

Explore tools & games

All 120 tools · 16 games

All 120 tools · 16 games

Text & writing 26

Calculators & converters 22

Date & time 12

Images & PDF 26

Data & web 28

Random & handy 6

Games 16