Add Line Numbers
Add sequential line numbers to each line of text. Customize starting number, separator style, and zero-padding. Free and instant.
About this tool
Add sequential line numbers to each line of your text. Customize the starting number, separator, and optional zero-padding for consistent formatting.
Useful for code reviews, referencing specific lines in documents, or preparing numbered lists. All processing runs in your browser.
settingsSettings
Frequently Asked Questions
Can I start from a number other than 1?
Yes. Set any starting number in the settings. The tool will count up sequentially from there.
What separators are available?
Choose from period-space (1. ), colon-space (1: ), parenthesis (1) ), tab, or type your own custom separator.
What is zero-padding?
Zero-padding adds leading zeros to keep numbers the same width. For example, with padding: 01, 02, ... 99 instead of 1, 2, ... 99.