Skip to content
OnlineToolStudio

Add Line Numbers

runs in your browserno sign-upfree

Number every line of text or code: choose 1. 1) [1] or tab style, the start number and step, zero-padding, and whether to skip blank lines.

StartStep
5 lines

About this tool

Add a number to the start of every line — handy for code snippets, scripts, transcripts, lyrics, instructions and lists you want to refer to by line. Choose how numbers look (1. 1) 1: [1] or a tab), where to start and how much to count up by, pad numbers with zeros (01, 02) or align them with spaces, and leave blank lines unnumbered if you like.

How to use

  1. Paste your text — one item per line.
  2. Choose the number format, the start number and the step.
  3. Copy or download the numbered text.

FAQ

Can I start at a number other than 1?

Yes — set Start to any whole number (including 0 or a negative number) and Step to count up by more than one (10, 20, 30…) or down.

What does “Skip blank lines” do?

Empty lines stay empty and don’t use up a number, so a list with gaps between paragraphs is still numbered 1, 2, 3 without missing numbers.

How do I make the numbers line up?

Choose Padding → Zeros for 01, 02 … 10, or Spaces to right-align numbers like a code editor does. A tab after the number also lines the text up neatly in most apps.

Related tools

All tools