Add Line Numbers to Text

Quickly add line numbers to a block of text for sharing code snippets, log excerpts, or referencing specific lines in a review. Optional zero-padding, custom starting number, custom separator. The reverse mode strips existing line numbers.

How to use the Add Line Numbers to Text

Paste text. Pick add or strip mode. Configure start number, padding (so all numbers align), and the separator between number and line. Output updates live.