Add line numbers
Number every line of your text, or remove the numbers.
Editor
Add line numbers: what it does
Number every line with a single click, for lists, scripts, quotes or code you want to refer to. The reverse tool strips list numbers such as “1.”, “2)” or “3:” from the start of each line.
Add line numbers: how to use it
- Paste or type your lines.
- Choose Number lines to add numbers, or Remove line numbers to take them off.
- Select Apply and copy the result.
Add line numbers: when to use it
- Number the lines of a script, a quote or a poem so people can refer to a specific line.
- Turn a plain list of tasks or steps into a numbered checklist for a document or a message.
- Strip the numbers from a list copied from a web page before sorting or editing it.
Add line numbers: examples
Input
apple banana cherry
Result
1. apple 2. banana 3. cherry
Input
Preheat the oven Mix the batter Bake for 25 minutes
Result
1. Preheat the oven 2. Mix the batter 3. Bake for 25 minutes
Add line numbers: questions and answers
Which format do the numbers have?
Each line starts with its number, a full stop and a space, like “1. apple”.
Will it remove a year at the start of a line?
No. A number is only removed when it is followed by a full stop, bracket or colon and a space, so “2024 results” stays as it is.
Does it number empty lines?
Yes, every line gets a number so the count matches the editor’s line numbers. Run Remove empty lines first if you do not want that.
Can I renumber a list that is out of order?
Yes. Run Remove line numbers to strip the old numbers, then Number lines to add fresh ones in sequence.
Is my text sent to a server?
No. Everything runs in your browser on your own device, so your text never leaves it.
Related tools
Tools people often use together with this one.
- Bullet list maker
Turn lines into a bullet list, or remove the bullets.
- Reverse text
Flip the text backwards, or reverse words or lines.
- Remove empty lines
Delete blank lines from your text in one click.
- Add a blank line between lines
Double-space your text with one empty line between lines.
- Remove line breaks
Turn many lines into one line in a click.
- Split text into lines
Put every word or list item on its own line.
- Add text to each line
Add a prefix, a suffix or both to every line.
- Add quotes around each line
Wrap every line in quotes, brackets or any text.