Free Tool ยท Live Result ยท No Login

Line Number Generator

Add a number to the start of every line in your text or list. Pick the start number and style, then copy the result.

Number Your Lines

Results update live as you type or change options

How It Works

3 Simple Steps to
Number Your Lines

Great for lists, scripts, code, notes and instructions.

01
๐Ÿ“‹
Paste Your Text
Add your list with one item on every line.
02
โš™๏ธ
Set Options
Choose the start number, number style, zero padding and empty line handling.
03
โœ…
Copy Result
See the numbered text and copy it with one click.
Features

Why Use This Line Numbering Tool?

Flexible numbering without a spreadsheet or code editor.

๐ŸŽจ

7 Number Styles

Pick 1. or 1) or (1) or [1] or 1 - or 1: or a plain number and space.

๐Ÿ”ข

Any Start Number

Begin at 0, 1, 101 or any other number, including negatives.

0๏ธโƒฃ

Zero Padding

Keep numbers the same width, so 01 to 10 line up neatly.

๐Ÿ”’

100% Private

Your text is numbered in your browser and never stored.

How to Add Line Numbers to Text

A line number generator puts a number at the start of every line, so a plain list becomes a numbered list. Doing this by hand is slow and easy to get wrong, especially when you have dozens of lines or need to renumber after edits.

Number Styles

When Is It Useful?

Handy Options

Don't number empty lines keeps blank lines blank and does not use up a number, which is handy for text with paragraph gaps. Zero padding makes all numbers the same width, such as 001 to 100, which looks tidy and sorts correctly in other tools.

Prepare and Clean Your List

For best results, put your list in order with the Text Sorter and delete repeated lines with the Duplicate Line Remover before numbering. If your text already has old numbers, strip them first using the Text Cleaner.

FAQ

Frequently Asked Questions

Quick answers about numbering lines.

How do I add line numbers to text online?
โ–ผ
Paste your text with one item per line. Numbers are added to the start of every line instantly and you can copy the result.
Can I start numbering from a number other than 1?
โ–ผ
Yes. Enter any start number, such as 0, 10 or 101, and the numbering continues from there.
Can I skip empty lines when numbering?
โ–ผ
Yes. Tick the option to not number empty lines and blank lines stay blank without using up a number.
What does zero padding do?
โ–ผ
Zero padding adds leading zeros so all numbers have the same width, for example 01, 02 and 10 instead of 1, 2 and 10.
Is my text stored anywhere?
โ–ผ
No. The numbering happens inside your browser and your text is never uploaded.