Add Line Numbers
Number each line of text automatically, choosing the starting number and separator. Great for lists, scripts, code snippets and legal drafts. Free.
Runs in your browser. Nothing is uploaded.
About Add Line Numbers
Add Line Numbers puts a number in front of every line: 1. 2. 3. or any format you like. Change the separator to ) or a tab, or start from a number other than one when continuing an earlier list.
It's handy for turning plain lists into numbered ones, referencing lines of a script or code sample, and preparing numbered clauses.
How to use Add Line Numbers
- Type or paste your text into the input box. Press Sample to see an example.
- Adjust the options. The result updates as you type.
- Copy the result, or press Use as input to chain another transformation.
Frequently asked questions
Can I use a tab after the number?
Type a tab into the separator field (or paste one), and a space or ) works too.
Are empty lines numbered?
Yes, every line is. Run Remove Empty Lines first if you don't want that.
Is Add Line Numbers free and private?
Yes. Add Line Numbers is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.