Skip to content
Local

Text

Add Line Numbers

Add line numbers to text or code, or take them off again, with your own start, step, separator and padding.

Runs in your browser. Files stay on this device.

Open Add Line Numbers

Free, no account, no watermark and no daily limit.

Open Add Line Numbers

How to use Add Line Numbers

  1. 1Paste your text or code, or drop a text file.
  2. 2Choose where to start, the step and the separator, or switch to Remove.
  3. 3Copy the result or download it as a text file.

Questions

Can I remove numbers from code I copied?

Yes. Choose Remove and the number at the start of each line goes, with the dot, colon, bracket, bar or space after it.

What does "Line up numbers" do?

It pads short numbers with zeros (01, 02) or spaces so every line starts in the same column.

Is my text sent anywhere?

No. The numbering happens in your browser and your text stays on your device.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc