# Add Line Numbers

> Prefix every line with a sequential number, with a custom start, separator and zero padding.

To add line numbers, paste your text above and choose the starting number, the separator style and whether numbers should be zero-padded to equal width. Numbering is applied to every line including blank ones, so line positions stay accurate.

**URL:** https://convertto.tech/t/add-line-numbers
**Category:** Text Tools (https://convertto.tech/c/text-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your text.
2. Set the start at.
3. Choose the separator.
4. Turn "Pad with zeros" on or off as needed.
5. The result appears immediately — copy or download it.

## FAQ

### Why number lines in a document?

So people can refer to a specific place unambiguously. Legal contracts, code review, translation and proofreading all depend on being able to say "line 47" rather than describing where the text is.

### Should the numbers be part of the text?

Only if the text will be read as plain characters. In a word processor or code editor, numbering is a display setting that keeps the underlying text clean — baking numbers in makes the content impossible to copy or diff properly.

## Related tools

- [Case Converter](https://convertto.tech/t/case-converter): Convert text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case and more.
- [Columns to Lines Converter](https://convertto.tech/t/columns-to-lines): Switch between a delimited single line and one item per line, in either direction.
- [Line Sorter](https://convertto.tech/t/line-sorter): Sort lines alphabetically, numerically, by length or in reverse — with natural-order support.
- [Remove Duplicate Lines](https://convertto.tech/t/remove-duplicate-lines): Delete repeated lines from a list, keeping the first occurrence of each unique line.
- [Remove Line Breaks](https://convertto.tech/t/remove-line-breaks): Turn multi-line text into a single line, joining with a space, comma or custom separator.
- [Text Wrap & Truncate](https://convertto.tech/t/text-wrapper): Hard-wrap text at a line width, or truncate it to a maximum length.
- [Whitespace Remover](https://convertto.tech/t/whitespace-remover): Strip extra spaces, tabs, blank lines and trailing whitespace from any text.
- [ASCII Art Text Generator](https://convertto.tech/t/ascii-art-generator): Turn words into large ASCII banner text for terminals, READMEs and code comments.
- [NATO Phonetic Alphabet Converter](https://convertto.tech/t/nato-phonetic-alphabet): Spell any word using the NATO phonetic alphabet — Alfa, Bravo, Charlie — for clear radio and phone use.
- [URL Slug Generator](https://convertto.tech/t/slug-generator): Turn any title into a clean, SEO-friendly URL slug with accents stripped and symbols removed.
