Add Line Numbers to Text

Add a number to the start of every line, choose where the count starts and which separator to use, zero-pad the numbers for tidy alignment, and skip blank lines. A free, in-browser line numbering tool for lists and text.

This tool adds line numbers to any text or list. Paste your lines and each one is prefixed with its number, starting from one — or from any number you set. You choose the separator between the number and the text, whether that is "1. ", "1) ", a colon or a tab, and you can zero-pad the numbers so 1 through 100 line up as 001 to 100. There is also an option to skip blank lines so they are not counted. It is handy for turning a plain list into a numbered one, or preparing referenced lines.

  • No sign-up, ever
  • 100% free
  • Nothing uploaded
  • Works offline after first load
  • No limits, no email wall
Your lines
Numbered

How to use it

  1. 1

    Paste your lines

    Add a list or block of text, one item per line.

  2. 2

    Set the format

    Pick a start number and a separator style, and turn on zero-padding or blank-line skipping if you want them.

  3. 3

    Copy the numbered list

    The numbered version appears on the right, ready to copy.

When it comes in handy

Numbered lists

Turn a plain list into a numbered one for instructions, rankings or a table of contents.

Referencing lines

Add numbers so you can point someone to "line 14" of a pasted block.

Counting items

Number a list to see at a glance how many entries it holds.

Instant & 100% private — nothing is uploaded

Every keystroke is handled right here in your browser. Your text is never sent to a server, so there is no sign-up, no email wall, and no length cap from us. Load the page once and it keeps working even if you go offline.

Frequently asked questions

Can I start numbering from a number other than 1?
Yes. Set the start value to anything you like and the count begins there, so you can carry on from a previous list or match an existing numbering. Enter 0 to start from zero, or 100 to continue a longer sequence.
What does zero-padding do?
Zero-padding adds leading zeros so every number has the same width: in a 100-line list you get 001, 002, and so on up to 100. That keeps the text neatly aligned in a monospace view and sorts correctly as text. Leave it off for plain 1, 2, 3 numbering.
Does it number blank lines?
By default yes, so the numbers match the true line positions. If you turn on "Skip blank lines", blank lines are left untouched and only lines with content get a number, which suits lists that use spacing between groups.