Skip to tool

Add Line Numbers

About this tool

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

Privacy and details

Your files never leave your device.

Fast browser processing with no account required.

Optimized for desktop and mobile with accessible controls.

How to use
  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.