Text tool

Add Line Numbers

Prefix every line with consecutive numbers starting at 1, including blank lines.

Fast browser processing Private — no uploads Free to use
HOW IT WORKS

Use Add Line Numbers in three simple steps

1

Add text

Paste your content or import a UTF-8 TXT file up to 5 MB.

2

Review the result

Paste notes or code; each line receives a number followed by a period and a space.

3

Copy or download

Copy the result or save it as a TXT file.

ABOUT THIS TOOL

Add Line Numbers

Prefix every line with consecutive numbers starting at 1, including blank lines.

The prefix is 1. , 2. , and so on. Numbering starts at 1 every time.

FAQ

Frequently asked questions

What numbering format is used?

The prefix is 1. , 2. , and so on. Numbering starts at 1 every time.

Does it number blank lines?

Yes, including a final blank line after a trailing newline. Empty input produces no output.

Is this tool free and private?

Yes. No account is needed, and your input is processed locally in your browser without being uploaded to FormatKit.