Lists & lines

Add Line Numbers to Text

Add sequential numbers to text, code, instructions, transcripts, or lists. Start at any number, choose common formats such as 1., 1), or [1], or define a custom format using the {n} placeholder.

Focused workspace

Add Line Numbers

Recommended settings loaded
0 characters · 0 words
0 characters · 0 words
Tool settings

Before and after

Add Line Numbers Example

Input

Install the app
Open settings
Choose a file

Output

1. Install the app
2. Open settings
3. Choose a file

Three steps

How to use this tool

  1. Paste the lines to number.
  2. Choose a starting number and numbering format.
  3. Add the numbers and copy the result.

Useful workflows

Common use cases

  • Number instructions and checklists.
  • Add references to transcripts and code snippets.
  • Prepare numbered values for documents and presentations.

How it works

Fast text processing without an upload

The selected operations are applied in order by JavaScript running on this page. The input is not sent to the Go server and is not written to SQLite. The server provides the page, SEO content, and blog system; the browser performs the text transformation.

Questions

Add Line Numbers FAQ

Can numbering start at zero?

Yes. Enter 0 as the starting number.

How do custom formats work?

Place {n} wherever the sequential number should appear.

Can empty lines be skipped?

Yes. Empty lines are skipped by default.