Number Lines Tool

Add line numbers to a pasted list.

Text inputPreview and copyRuns in your browser

Enter your text

Result

How to use

  1. Paste only the lines that should receive a number and check the first line’s prefix.
  2. Select Convert to generate the output.
  3. Review the output before copying it.

How it works

Add line numbers to a pasted list. Prefix each line with its 1-based position.

Formula or processing rules

Prefix each line with its 1-based position.

Worked example

Two lines beginning with apple and pear receive the numbers 1 and 2.

Example text lengths in UTF-16 code units
Input · 10
Output · 16
Worked example
MeasureValue
Source textapple pear
Result1. apple 2. pear

Pros and cons

Pros

Add line numbers to a pasted list. The sample provides an immediate check of the expected output.

Cons

Blank rows have positions and receive a number.

Limitations and troubleshooting

Keep an unnumbered copy if the destination already applies automatic numbering.

Remove a numbering prefix from plain text

Frequently asked questions

Should I include a title in the input?

Include it only if it should be numbered. Otherwise, add it back above the converted list.

What rule does the Number Lines Tool apply?

Prefix each line with its 1-based position.

What should I see in the Number Lines Tool example?

Two lines beginning with apple and pear receive the numbers 1 and 2.

What should I verify after using Number Lines Tool?

Blank rows have positions and receive a number.

Is my input stored by the tool?

The transformation is computed in the open page. The tool does not save the submitted text.