Text & OCR

Add / Remove Line Numbers

Number every line (1. 2. 3., 1) 2) 3), [1] [2], zero-padded…), skip empty lines, start anywhere — or strip existing numbers from pasted code or lists.

In the browser

Your text is processed in your browser and is never uploaded.

About this tool

Number every line (1. 2. 3., 1) 2) 3), [1] [2], zero-padded…), skip empty lines, start anywhere — or strip existing numbers from pasted code or lists.

Numbers are added with the chosen format, start and step; zero-padding uses the width of the largest number. Removal recognises 1. 1) 1: 1- [1] (1) and a bare number followed by a space or tab.

Example: 3 lines with “01.” format → 01. 02. 03.

Removal only looks at the start of each line, so numbers inside the text are kept.

Quick steps

  1. Paste your text or open a file (or press Try an example).
  2. Choose the options — the result updates as you type.
  3. Copy the result or download it as a file.

Everything runs in your browser. Nothing you type is sent to 1CLIK.

FAQ

How does the Add / Remove Line Numbers work?

Numbers are added with the chosen format, start and step; zero-padding uses the width of the largest number. Removal recognises 1. 1) 1: 1- [1] (1) and a bare number followed by a space or tab.

What should I keep in mind?

Removal only looks at the start of each line, so numbers inside the text are kept.

Is my text uploaded or saved?

No. It is processed on your device in a separate background task that is stopped if it takes too long; nothing is stored or sent.

A useful next step

Site policies: Privacy · Terms