Toolzy

Add Line Numbers

Prefix every line of text with a sequential number.

Input
Output

Add numbering to a list or code snippet, with a custom start value, separator and optional zero-padding.

How to use

  1. Paste your lines of text.
  2. Set the starting number and separator.
  3. Copy the numbered output.

Frequently asked questions

Can I start from zero?
Yes, set any start value including 0 or a negative number.
What does zero-padding do?
It pads numbers with leading zeros so every line number has the same width.

Related tools