Tools
Runs locally

Line Numbers

Prefix each line with its number.

Ctrl+Enter runs. Ctrl+Shift+Backspace clears.

Export and import are available after you sign in. Sign in

Prefix each line with its number. Runs in the browser. Nothing is uploaded.

About this tool

Number the lines of a code snippet, a contract draft or a poem so you can refer to them precisely. Each line gets its number at the start.

How to use it

  1. 01

    Paste the text.

  2. 02

    Each line is numbered automatically.

  3. 03

    Copy the numbered text.

FAQ

Frequently asked questions

Are empty lines numbered?

Yes. Every line gets a number, so references match the original layout.

Can I add a different prefix?

Yes. Use the Prefix Lines tool to add any text, such as a bullet or a quote mark.