# Line Numbers

> Add or remove numbers at the start of lines. Runs entirely in your browser — nothing you paste is sent anywhere.

Source: https://toffeekit.com/tools/add-line-numbers

**Category:** [Text](https://toffeekit.com/category/text) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/add-line-numbers

**Also useful for:** line numbers, numbering, number lines

## How it works

1. Paste your text into the input box, or click Sample.
2. Pick Mode: Add to number the lines, or Remove to strip existing numbers.
3. In Add mode, choose a Style (1., 1), 1: or a tab) and set Start at.
4. Copy the numbered text from the result box, or click Save.

## FAQ

### How do I add line numbers to text?

Paste your text with Add selected. Each line gets a number at the start, padded so the numbers line up when the list is long.

### How do I start numbering from a number other than 1?

Change Start at. Setting it to 0 or to 101, for example, makes the first line use that number and the rest follow in sequence.

### Can I use a tab after the number for spreadsheets?

Yes. Choose the tab style, labelled 1 with a tab arrow, and the number and text are separated by a tab character that spreadsheets split into columns.

### Are blank lines numbered too?

Yes. Every line gets a number, including empty ones, so the numbers match line positions in your original text.

### Does it use the Swap button?

Swap moves the result back into the input and flips Mode between Add and Remove. That lets you undo a numbering pass in one click.

### Is Line Numbers free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Line Numbers runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Word Counter](https://toffeekit.com/tools/word-counter) — Words, characters, sentences and reading time, live.
- [Case Converter](https://toffeekit.com/tools/case-converter) — UPPER, lower, Title, camelCase, snake_case and more.
- [Remove Duplicate Lines](https://toffeekit.com/tools/remove-duplicate-lines) — Keep only unique lines, in order.
- [Sort Lines](https://toffeekit.com/tools/sort-lines) — Sort A–Z, naturally, by length, or shuffle.
- [Text Cleaner](https://toffeekit.com/tools/text-cleaner) — Fix spaces, quotes, empty lines and stray HTML.
- [Find and Replace](https://toffeekit.com/tools/find-and-replace) — Replace words or regex patterns in bulk.

