Add Line Numbers

Number the lines of lists, scripts, poems or code snippets. Set the first number, the separator and padding.

Runs entirely in your browser. Your text is not uploaded.

0words
0characters
0lines
1words
3characters
1lines

How to use the add line numbers

  1. Paste your text.
  2. Set the starting number and separator, e.g. ". " or ": ".
  3. Copy the numbered text.

Questions

Can I skip blank lines?

Yes. Tick "skip blank lines" and empty lines stay unnumbered, so the count follows only lines with content.

What does zero padding do?

It pads numbers to the same width (01, 02 … 10) so text lines up in a monospaced font and sorts correctly.