Add Line Numbers

Paste your lines and get a numbered list back.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the add line numbers

  1. Paste your text, one item per line.
  2. Set the starting number and choose a format such as 1. or 1).
  3. Copy the numbered text.

Options

  • Start at lets a list continue from where another stopped, or start from 0 for code.
  • Format controls what comes after the number: a full stop, a bracket, a colon, a space or a tab. Use the tab format when you plan to paste into a spreadsheet, so the number and text land in separate columns.
  • Skip empty lines leaves blank lines unnumbered so paragraph spacing stays intact.
  • Pad with zeros writes 01, 02 … 10 so that the numbers line up and sort correctly as text.

Typical uses

Numbering the steps of instructions, the lines of a poem or script for discussion, quiz questions, or lines of code quoted in a document. If the list needs ordering first, run it through the sorter.

Frequently asked questions

How do I remove line numbers instead?

Use the find and replace tool with Regular expression ticked: find ^\d+[.):]?\s* and replace with nothing.

Is my text stored or sent anywhere?

No. Everything happens inside your browser. Your text is not uploaded, logged or read by anyone. The page remembers your last text on this device only, so you can pick up where you left off; press Clear to remove it.

Related tools