Add line numbers to any text, code or list instantly — choose your separator style and starting number. Perfect for code reviews and document referencing.
Paste any text, list or code block into the input box. Each line will receive its own line number in the output.
Choose the separator style (dot, colon, bracket or space), the starting number, and whether to pad numbers with leading zeros for alignment.
Click Copy to grab the numbered output, or Download to save it as a .txt file for use in documents or code reviews.
The tool supports four separator styles: dot (1. text), colon (1: text), bracket (1) text), and tab/space (1 text). You can also set any custom separator string.
Yes — set any starting number in the options. This is useful for continuing a numbered list from where a previous section left off.
By default empty lines are not numbered. Toggle the option to include empty lines in the numbering if needed for strict line-by-line code referencing.
Yes — enable zero padding and all numbers are aligned to the same width (e.g. 01, 02, 03 instead of 1, 2, 3). Useful for sorted file lists and code snippets.
No. Paste documents with thousands of lines — the tool handles them all instantly in your browser.
Yes. All processing happens in your browser. Your text is never uploaded to any server.