Line Number Adder

Text Tools

Add numbers to the start of every line

FreePrivateInstant
Add a file · .txt .md .csv .json … · up to 2.00 MB
Start at
Separator

Similar tools you may like

History

All history →

Line Number Adder — at a glance

Number every line of your text, or strip the numbers off again.

Your text
apple
banana
Run
Numbered
1. apple
2. banana

How to use it — step by step

Paste a list, script or code. Pick the style of numbering.

1

Paste your input

Paste or type your content into the big input box.

2

Choose options

Pick the mode and options that fit what you need.

3

Add Numbers

Press the button. The result is created instantly on your device.

4

Copy the result

Check the output and press Copy to use it anywhere.

Pro tips

Small things that make the result better.

✦Use Zero padding to keep columns tidy (01, 02 … 10).
✦Start at 0 for programming-style indexes.
✦Skip blank lines to number only real content.

Quick facts

5 stylesdot, bracket, colon, dash, tab
Custom startbegin at any number
Reversibleremove numbers too
Privateruns locally

Frequently Asked Questions

Can I remove existing numbers?+

Yes. Switch to “Remove numbers” and it strips leading numbers such as “1.” or “2)”.

Can numbering start from 0?+

Yes. Change “Start at” to 0 or any other number.

Does it work for code?+

Yes — paste any code and each line gets a number.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

More Free Tools