Add Line Numbers
Adds a sequence number at the start of each line in styles like 1. 1) 01, skips blank lines, or removes existing line numbers.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this to number a guest list, quiz questions or process steps before pasting them into a chat or email, or to share a code snippet with line numbers so colleagues can point to the exact spot.
The Remove mode strips leading numbers such as 1. 2) 3: or a number followed by a space, handy when you copy a list out of Word and want to renumber it. Zero padding follows the largest number, so 120 lines run from 001 to 120.
How to use
- Paste your text into the left box.
- Choose the starting number and the numbering style.
- Click Copy or Download.
Frequently asked questions
Is my text sent to a server?
No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.
Related tools
More Text tools
Find and Replace TextFinds and replaces text in bulk, with case-sensitive matching, whole-word matching and regular expressions.Replace Smart Quotes with Straight QuotesConverts curly double quotes, curly single quotes, long dashes and ellipsis characters into plain typed characters, avoiding errors when pasting into code.Show Hidden Characters and WhitespaceShows spaces as dots, tabs as arrows, line breaks as pilcrows, and points out non-breaking spaces and zero-width characters.Strip HTML TagsRemoves HTML tags, scripts and styles, decodes special characters, and keeps plain text with sensible line breaks.Remove Extra SpacesMerges repeated spaces into one, removes spaces before commas and periods, and adds a space after commas, semicolons, colons, exclamation and question marks.Join Lines into OneMerges several lines into one line with a separator of your choice, keeping paragraph breaks if you like. Fixes text copied from a PDF with broken lines.
See all text tools