Line numbers

Add a number prefix to every line, or strip existing line numbers from pasted text.

Direction

One item per line. Up to 200,000 characters.

Processed in this browser. Nothing is sent anywhere.

Removal is conservative: it strips a leading number only when it ends in . : or ), a tab, or sits after indentation — a bare start like “2024 report” stays. Lines that are just a number with nothing after them are kept.

How to use

  1. Pick add or remove.
  2. Paste the text and set the options.
  3. Apply and copy the result.

What it supports

Adding numbers offers five separators, a custom start, zero padding, and skipping blank lines. Removal is conservative — it strips a number followed by . : ) or a tab, or one sitting after indentation, so a bare "2024 report" start stays.

Related tools

Related guides