Skip to content
TabKiwiTabKiwi

Add or Remove Line Numbers

Number every line with your own start value and separator, or strip existing numbers off.

TextRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Prefix each line with a number to reference code, lyrics, legal text or steps, choosing the starting number and the separator that follows it. Turn on alignment to pad numbers so the text lines up in monospace fonts. The remove mode does the reverse, stripping numbers like "12.", "3)" or "7:" from the start of every line.

How to use Add or Remove Line Numbers

  1. Paste your text.
  2. Choose Add or Remove.
  3. When adding, set the starting number, separator and alignment.
  4. Copy the result.

Frequently asked questions

Can I skip blank lines when numbering?

Yes. With that option on, empty lines are left without a number and the count continues on the next line with text.

Which number formats can be removed?

Numbers at the very start of a line followed by a dot, bracket, colon, pipe, dash or a space, such as "1.", "2)", "3:" or "4 ".

More Text tools

View all 60 →