Add line numbers to your text with customizable format, start number, step, and padding options.
All processing happens in your browser. Your data never leaves your device.
Paste your text and line numbers are added instantly. Choose from several format presets like "1. ", "1: ", "[1] ", or "(1) ". Set a custom start number and step to control the sequence. Enable zero padding for aligned numbers. You can skip empty lines entirely or keep them unnumbered. All processing happens in your browser.
Add line numbers to code snippets, legal documents, scripts, or any text that needs numbered references. Useful for code reviews, document citations, and creating formatted lists.
Yes. Set the start number to any value. Combined with a custom step, you can create sequences like 10, 20, 30 or 100, 200, 300.
When enabled, empty lines are removed from the output entirely. Only lines with content get numbered.
Empty lines are kept in the output but don't receive a number. This preserves your text's paragraph structure while only numbering content lines.
No hard limit. The tool processes text of any size instantly in your browser. Very large files (100,000+ lines) may take a moment.