Add Line Numbers

Add Line Numbers: Number every line of text while preserving original line content.

Add Line Numbers

Add Line Numbers: Paste multiple lines and choose Add line numbers. Each existing line gets a number at the start.

Loading the tool...

✓ Your inputs stay in this browser

How to use Add Line Numbers

Paste multiple lines and choose Add line numbers. Each existing line gets a number at the start.

Example

Two lines named Alpha and Beta become 1. Alpha and 2. Beta.

What to know

Numbering starts at 1. Empty lines also receive a number; no attempt is made to parse code.