Add Line Numbers
Prefix every line of your text with an incrementing number. Choose the starting number and separator, free and private, right in your browser.
Paste in any block of text or code and get every line prefixed with its number, ready to drop into a bug report, a code snippet, or a document where you need to reference specific lines. Everything happens locally in your browser, so nothing you paste is ever uploaded.
How to use it
- Paste or type your text into the input box
- Choose your numbering options (start value, padding, separator)
- Copy or download the numbered result
Frequently asked questions
- Can I start counting from a number other than 1?
- Yes, set the starting value to whatever you need, useful when numbering a snippet that continues from a previous file or excerpt.
- Will it number blank lines too?
- By default every line gets a number, including empty ones, so your line numbers stay in sync with the original file. This matters if you're cross-referencing against something like a code editor or a diff.
- Can I change the format of the numbers, like padding or a custom separator?
- Yes. You can pad numbers with leading zeros (e.g. 001, 002) and choose the separator between the number and the text, such as a period, colon, or tab.
- 1
Nothing is uploaded
The file never leaves your device. There is no server to send it to, so there is nothing to leak, log, or subpoena.
- 2
No signup, no limits
No account, no email, no daily cap, no watermark, and no paid tier waiting behind the third file.
- 3
Works offline
Load the page once and it keeps working with the network off, because all the work was always happening locally.