How to Add Line Numbers to Text
A line number generator puts a number at the start of every line, so a plain list becomes a numbered list. Doing this by hand is slow and easy to get wrong, especially when you have dozens of lines or need to renumber after edits.
Number Styles
- 1. Text: The classic numbered list.
- 1) Text and (1) Text: Common in documents, exams and legal text.
- [1] Text: Often used for references and citations.
- 1 - Text and 1: Text: Clean styles for steps, scripts and notes.
When Is It Useful?
- Lists in Chats: Number your points before pasting them into WhatsApp, so a long message is easy to follow. To send it to someone not in your contacts, use the Direct WhatsApp Chat tool.
- Scripts and Lyrics: Number lines so a team can refer to line 12 or line 40.
- Code and Logs: Add line references when sharing a snippet in a document.
- Instructions and Checklists: Turn raw steps into a clear, ordered guide.
Handy Options
Don't number empty lines keeps blank lines blank and does not use up a number, which is handy for text with paragraph gaps. Zero padding makes all numbers the same width, such as 001 to 100, which looks tidy and sorts correctly in other tools.
Prepare and Clean Your List
For best results, put your list in order with the Text Sorter and delete repeated lines with the Duplicate Line Remover before numbering. If your text already has old numbers, strip them first using the Text Cleaner.