Et
EditText.app

Add Line Numbers

Add line numbers to any text or code online. Free online line number generator — customize format and starting number.

🔒 Your text stays in your browser — nothing is sent to our servers
Input
0Characters
0No spaces
0Words
0Sentences
0Lines
< 1 minRead time
Result
How to Use

Three steps to get started

1

Paste your text

Paste any multi-line text — a list, code snippet, or document.

2

Numbers added

Each line gets a sequential number prepended in your chosen format.

3

Copy or download

Click Copy or download the numbered text as a .txt file.

About This Tool

Add line numbers to any text instantly

Line numbers are useful in many contexts: referencing specific lines in code reviews, creating numbered lists from plain text, adding sequence numbers to data rows before importing, or making documents easier to discuss and annotate.

Common use cases:

  • Adding numbers to a list of items for reference
  • Numbering code lines for documentation or screenshots
  • Creating numbered step lists from bullet points
  • Adding row numbers to CSV or TSV data
  • Preparing text for discussion where line references matter

Three format options: standard "1. " (period), "1) " (parenthesis), and zero-padded "01" for lists that need consistent column alignment. All processing happens in your browser — private and instant.

FAQ

Frequently Asked Questions

Related Tools