Skip to content

Add line numbers

Add numbers at the start of each line with your choice of start, separator and zero padding.

AvailableIn your browserInput: Text

How to use: Add line numbers

  1. Paste the lines you want to number.
  2. Choose the start number, separator, zero padding and whether to skip empty lines.
  3. Copy or download the numbered text.

What it accepts and what you get

Input
Text with several lines.
Output
Each line preceded by its aligned number.
Where your data is processed
Your data is processed in your browser and is not sent to our servers.

Limitations and notes

  • The start number must be an integer between -1,000,000 and 1,000,000.

Suggested next steps