Number Lines

Add sequential numbers to the start of each line. Configure the starting number, separator and zero-padding.

What this tool does

Number Lines adds a sequential number to the start of every line in your text. Paste a list and get back a numbered version — 1, 2, 3 and so on — with control over where the numbering starts, what separator follows each number, and whether numbers are padded with leading zeros for alignment.

Why numbered lists are useful

Numbering turns a plain list into an ordered, referenceable one. It is essential when sequence matters — steps in a procedure, ranked items, a checklist, or any list where you need to point to "item 7." Numbered lines also make it easy to count entries at a glance and to communicate about specific lines with someone else. Adding the numbers by hand is tedious and breaks the moment you insert or remove a line; this tool renumbers instantly.

The options

Set the starting number to begin at something other than 1 — useful when continuing a list from elsewhere. Choose the separator that follows each number, such as a period and space, a parenthesis, or a colon, to match the format you need. Enable zero-padding to align numbers neatly, turning 1, 2 … 10 into 01, 02 … 10 so the list stays visually aligned regardless of how many digits each number has.

Common uses

Create numbered steps for instructions or recipes. Build a ranked list of items. Add line numbers to code or data for reference. Prepare a numbered list for a document or email. Because the numbering is generated fresh each time, you can reorder or edit the list and re-run the tool to renumber cleanly. It all happens in your browser with nothing uploaded.

Adding line numbers to a list

Numbering lines turns a plain list into an ordered, referenceable one. Number a set of steps so they read as a sequence, add line numbers to a list of items for easy reference, create a ranked list, or prepare numbered entries for a document. Each line gets a sequential number at its start, and you control where the numbering begins, what separates the number from the text, and whether numbers are padded with leading zeros for alignment.

Custom start, separator and zero-padding

TextCaret lets you tailor the numbering. Set the starting number to anything — begin at 0, at 1, or at 100 to continue an existing list. Choose the separator between the number and the text, whether a period and space, a parenthesis, a colon or a tab. Enable zero-padding so 1 becomes 01 or 001, which keeps numbers aligned in a fixed-width column and sorts correctly as text. These options make the output fit whatever format your document or data needs.

Frequently asked questions

Can I start numbering from a number other than 1?
Yes. Set the starting number to any value, which is useful when you are continuing a numbered list from another document or section.
What is zero-padding for?
It adds leading zeros so all numbers have the same width — 01, 02 … 10 instead of 1, 2 … 10. This keeps the list visually aligned, which is helpful for longer lists and for sorting.
Can I choose what comes after each number?
Yes. The separator is configurable — a period and space, a parenthesis, a colon, or whatever format you need after each number.
Does it renumber if I change the list?
Re-run the tool after editing and it renumbers the whole list cleanly from your chosen starting point, so there are never gaps or duplicates.
Is my list uploaded?
No. Numbering happens in your browser with no upload.
What is zero-padding and why use it?
Zero-padding adds leading zeros so numbers line up in a fixed width (01, 02 ... 10 instead of 1, 2 ... 10). This keeps columns aligned and makes the numbers sort correctly when treated as text.
Can I change the separator after the number?
Yes. Choose what comes between the number and the line text — a period and space, a parenthesis, a colon, a tab or other characters — to match your desired format.