Add Line Numbers to Text
Prepend a line number to each line with custom start and separator.
Paste any text and automatically prepend a line number to each line. Perfect for referencing specific lines in documents, formatting code for review, or preparing numbered lists from raw data.
Features
Use Cases: When This Tool Helps
-
Reference lines in code reviews
Number a snippet so teammates can say "see line 42" in chat or email.
Read the guide → -
Prepare legal and transcript documents
Add line numbers to depositions, scripts, or contracts for precise citation.
-
Teach poetry and literature
Number lines of a poem so students can discuss specific verses in class.
-
Create numbered checklists
Turn plain to-do items into a numbered list for SOPs, recipes, or packing lists.
-
Mark up translation files
Number source sentences so translators and reviewers can match them line by line.
-
Organize raffle and queue lists
Give each entry a number for draws, waitlists, or customer service queues.
How to Add Line Numbers
- Paste your text in the input area.
- Set the starting number and separator format.
- Copy the numbered text.
FAQ
Can I start from a number other than 1?▾
Yes, set any starting number — useful when numbering a continuation of a larger document.
Will blank lines get numbers?▾
By default yes, but you can toggle to skip empty lines.
Use Cases
- Numbering code snippets for code review discussions.
- Creating numbered reference lists from raw text.
- Preparing court documents or legal briefs with line numbers.