๐Ÿ”ข Add Line Numbers

Add line numbers to any text or code instantly. Custom start number, separator style and blank line options. Free, private, no signup required.

Numbered Output
Your numbered text will appear here...
โ€”

About Add Line Numbers

Adding line numbers to text makes it easy to reference specific lines in discussions, code reviews, legal documents and academic writing. This tool adds line numbers instantly with full control over the start number, separator style and padding format.

Common Uses

  • Numbering lines of code for sharing in bug reports or code reviews
  • Adding line numbers to legal contracts and documents for reference
  • Numbering poetry, scripts or lyrics for easy reference
  • Creating numbered lists from plain text
  • Adding reference numbers to meeting notes or transcripts

Frequently Asked Questions

Yes. Set any start number in the Start Number field. This is useful when continuing a numbered list that starts partway through a document, or when matching line numbers from an existing file.

Zero padding adds leading zeros to numbers so they all have the same width. For example, line 1 becomes "01" and line 10 stays "10". This keeps columns aligned when viewing in a monospace font.