Add Line Numbers

Add sequential line numbers to text. Pick the start number, separator (period, colon, parenthesis, tab), and zero-padding for clean alignment.

settingsSettings

What is the Add Line Numbers?

A line numberer prepends a sequential number to every line of your text. Common reasons: numbering code snippets for a code review email, prepping a passage for classroom reference, or producing a numbered list from raw items where the numbers need to be part of the text itself.

How to use the Add Line Numbers

  1. 1

    Paste your text

    Drop the source into the input pane. Each line becomes one numbered entry.

  2. 2

    Choose where the numbers start

    Default is 1. Set any other start (10, 100, even negative) when continuing a longer document.

  3. 3

    Pick a separator

    Period-space (1. ), colon-space (1: ), close-paren (1) ), or tab. Each one fits a different style.

  4. 4

    Toggle zero-padding for alignment

    With padding, single-digit numbers become 01, 02, ... 99 so all line numbers occupy the same width. Useful when you have more than nine lines.

Frequently Asked Questions

Can I start from a number other than 1?

Yes. Type any starting number (positive, negative, or zero) into the Start Number field. The counter increments by one from there: 10, 11, 12 if you started at 10. Useful when numbering a section that continues after a break in a longer document.

What separators are available?

Four built-in: period-space (1. ), colon-space (1: ), close-paren-space (1) ), and tab. The tab option is the right pick when you'll paste the output into a spreadsheet or any tab-aware tool.

What is zero-padding?

It pads single-digit (and short) numbers with leading zeros so all line numbers occupy the same column width. Without padding: 1, 2, ..., 99. With padding: 01, 02, ..., 99. Padding makes long numbered lists line up cleanly when displayed in a monospace font.

Related Tools