Line numbering tool

Prefix each text line with a sequential number.

Text Stateless

Maximum input length per field: 32768 Unicode code points. See the operation limits in the instructions.

Quick guide

Try it with your own data when you’re ready.

Try an example

You enter

Text to number
alpha
beta
Starting line number
1

You get

1: alpha
2: beta
How it works & limits

Choose a starting integer from 0 to 1000000. Up to 1000 lines and 32768 code points are accepted.

Output uses number: text and LF separators, with no extra line for a final line break. Empty text is allowed.

Example: alpha and beta on separate lines become 1: alpha and 2: beta.