Add Line Numbers to Text

Paste a list below and prefix every line with a sequential number. Perfect for creating ordered lists, numbering code snippets, or auditing data.

When to Add Line Numbers?

Adding static line numbers into your actual text data (rather than just viewing them in an editor) is useful when you need to share numbered reference points in plain text formats.

  • Legal or Contract Auditing: Quickly prep a list of names or clauses so that when discussing them in an email or document, everyone has an exact static reference number. ("Let's discuss line #143").
  • Code Snip Sharing: Adding line numbers to code blocks so you can paste them into emails or chat clients that don't support code blocks.
  • Top Lists: Easily turn a dumped list of 50 movies or songs into a structured "Top 50" ranked list without typing numbers manually.