The Paper Room

Add Line Numbers

Paste text and prepend sequential line numbers to every line. You can set the starting number (default 1) and choose a separator between the number and the text — tab, space, or period followed by a space (like '1. ').

This is handy for creating numbered lists from plain text, adding line references to code snippets for discussion, or preparing numbered content for documentation. The numbering is purely cosmetic — it's prepended as text, not as any special list format.

Everything runs in your browser — your text is never sent anywhere.

By The Paper Room Editorial TeamText Tools

Frequently asked questions

Can I start numbering from a number other than 1?

Yes — use the start number field to set any starting number. This is useful when you're numbering a section that continues from a previous block.

What separator options are available?

Three options: tab (for tab-separated output, good for pasting into spreadsheets), space (compact), and period+space (like '1. ', '2. ', which reads as a numbered list).

Does this handle blank lines?

Yes — blank lines are numbered like any other line. They get a number and separator prepended, even though there's no text after it.