Add Line Numbers

Paste text below to number every line. Choose where numbering starts, how it counts and what separates the number from the text.

  • Free, no sign-up
  • Runs in your browser

Drop your file here, or

TXT, CSV, JSON, Markdown, HTML, XML, DOCX, PDF, RTF and more

Type, paste with Ctrl V, or drop a file

Options

Alignment

or press Ctrl EnterRuns in your browser

Result

Your edited text will appear here.

Add your text, then press Add line numbers.

How to use Add Line Numbers

  1. Paste your text into the input box.
  2. Set the start number, increment and separator — for example “. ”, “) ” or a tab.
  3. Choose alignment (1, 01 or space-padded) and whether to skip empty lines.
  4. Copy or download the numbered text.

Example

Before
Apple
Banana
Orange
After
1. Apple
2. Banana
3. Orange

Start 1, increment 1, separator “. ”.

Good for

  • Turning a list into a numbered list
  • Referencing lines in code or logs
  • Numbering questions, steps or lyrics

What happens to your text

Your text is processed in your browser and kept only in this tab’s memory. It is not uploaded, saved or used for analytics.

Questions about Add Line Numbers

More answers in the TextVix FAQ.

Can I count by 10s or start at 100?

Yes. Set the start number and increment to any whole numbers, including negative increments for countdowns.

How do I remove line numbers later?

Use Remove Line Numbers, which detects the numbering format and strips it.

Is my text uploaded anywhere?

No. This tool runs entirely in your browser. Your text and files are never sent to a server or stored.