Skip to content
Jellykit

Remove Line Numbers

Remove line numbers from the start of each line, like 1. or 2) or 10 | in code copied from tutorials and PDFs. Keeps the rest of each line intact. Free.

Runs in your browser. Nothing is uploaded.

About Remove Line Numbers

Code samples copied from tutorials, PDFs and some websites often arrive with a number glued to the start of every line. Remove Line Numbers deletes a leading number and the separator after it (a full stop, bracket, colon, pipe or dash) and keeps everything else.

It also works on numbered lists when you want plain bullet-free lines.

How to use Remove Line Numbers

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. The result appears instantly as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Will it remove numbers in the middle of a line?

No. Only a number at the very start of a line (after any spaces) is removed.

What about indentation?

Spaces before the number are removed along with it. Re-indent code with your editor's formatter if needed.

Is Remove Line Numbers free and private?

Yes. Remove Line Numbers is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all text tools →