Add Line Numbers Online

Need numbered lines for code reviews, transcripts, or lists? This tool adds line numbers to every line so you can reference text quickly.

Paste your text, add line numbers, and copy the numbered output in seconds.

Input Text

Cleaning Options

Cleaned Text

Privacy & usage: your text stays in your browser. See Privacy, Terms.

Try It in 30 Seconds

  1. Paste or type your text into the input box.

  2. Keep "Add Line Numbers" enabled.

  3. Click Clean Text and copy the numbered output.

Examples

Example 1

Input

Alpha
Beta
Gamma

Output

1. Alpha
2. Beta
3. Gamma

Example 2

Input

Line one
Line two
Line three

Output

1. Line one
2. Line two
3. Line three

Example 3

Input

Todo A

Todo B

Output

1. Todo A
2. 
3. Todo B

How It Works

  1. Paste your text into the input box.

  2. Add line numbers for quick reference.

  3. Copy the numbered output into your document.

Common Sources

Code snippets
Logs
Meeting notes
Transcripts
Lists

Frequently Asked Questions

Does it number empty lines?

Yes. Every line is numbered so you can reference positions accurately.

Does numbering start at 1?

Yes. Line numbers start at 1 by default.

Can I remove the numbers later?

Yes. Use the Remove Line Numbers tool.

Will it change the text content?

No. It only adds a numeric prefix to each line.

Is this useful for code reviews?

Yes. Line numbers make it easy to reference specific lines.