Add a number to the start of every line in your text. Line numbering is useful for referencing specific lines when discussing code, turning a plain list into a numbered list, or preparing text for a document where each entry needs an index. You control where the count starts, the separator between the number and the text such as a dot, a bracket or a tab, and whether numbers are padded with leading zeros so they all line up neatly. Blank lines can be numbered or skipped depending on your preference. All the numbering runs in your browser, so nothing is sent anywhere, and you can copy the result straight into your editor or document.
Yes. You can set a custom start number so numbering can begin at 0, 1 or any value you need.
Zero padding aligns numbers by width, so 1 becomes 001, keeping the numbers neatly right aligned in longer lists.
Yes. You can set the separator, such as a period, colon or space, that appears between the line number and the text.
Add a number to the start of every line in your text. Line numbering is useful for referencing specific lines when discussing code, turning a plain list into a numbered list, or preparing text for a document where each entry needs an index.
Yes. Add Line Numbers is completely free, with no sign-up and no usage limits.
Yes. Add Line Numbers runs in any modern web browser. There is nothing to download or install.
Yes. Add Line Numbers runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/add-line-numbers)