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
- Paste your text into the input area.
- Set the starting line number (default 1).
- Choose a separator: period and space, colon and space, or tab.
- Enable zero-padding to align line numbers to the same width.
- 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.