Add Line Numbers Text
Prefix every line with a number, in whatever style you need.
Add Line Numbers is a free online tool that prefix every line with a number, in whatever style you need. It runs entirely in your web browser using plain JavaScript, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.
- Price
- Free — no account, no quota, no watermark
- Category
- Text
- Where it runs
- In your browser, on your device
- Files uploaded
- None
- Technology
- plain JavaScript
- Settings
- 4
- Works offline
- Yes, after the first visit
About Add Line Numbers
Add Line Numbers is one of 57 text tools on DuckyTools, and like all of them it runs entirely inside this page. Prefix every line with a number, in whatever style you need.
How to use it
- Paste the text you want to run through add line numbers.
- Set start at, separator and pad with zeros and the remaining options.
The 4 settings
| Setting | What it does | Default |
|---|---|---|
| Start at | A numeric value. | 1 |
| Separator | Free text. | . |
| Pad with zeros | On or off. Off by default. | Off |
| Skip empty lines | On or off. Off by default. | Off |
Under the hood
| Runs on | plain JavaScript — runs the whole thing |
| Controls | Start at, Separator, Pad with zeros, Skip empty lines |