Add Line Numbers

Prepend line numbers to each line of text instantly. Customise the starting number, separator (period, colon, or tab), and optional zero-padding.

Your files never leave your device

How to Add Line Numbers

  1. Paste your text into the input area.
  2. Set the starting line number (default 1).
  3. Choose a separator: period and space, colon and space, or tab.
  4. Enable zero-padding to align line numbers to the same width.
  5. Copy or download the numbered output.

Why Use This Tool?

Line numbers are essential when referencing specific lines in code reviews, technical documents, or log files. This tool adds them instantly without opening a code editor.

Frequently Asked Questions