Numbering code, scripts and lists
Line numbers make it easier to reference specific lines when discussing code snippets, scripts or long lists — zero-padding keeps numbers aligned for lists with more than 9 items.
Paste your text to add a sequential number in front of every line, with a custom starting number and separator.
Paste your input into the editor.
Choose format / mode options if available.
Copy the transformed output (it usually updates as you edit).
Line numbers make it easier to reference specific lines when discussing code snippets, scripts or long lists — zero-padding keeps numbers aligned for lists with more than 9 items.
Paste into Add Line Numbers, tweak options, and copy the output. Formatting and conversion run in the browser for this tool.
Keep a backup of original input before bulk transforms. Invalid input should show an error instead of silent corruption.
Whenever possible, Add Line Numbers processes your data locally with JavaScript in this page. That means drafts, secrets, and unfinished work stay on your device by default. Prefer this workflow when you do not want to upload sensitive text, tokens, passwords, or files to a third-party service.
Yes, set any starting number in the "start" field, including 0 or negative numbers.
It adds leading zeros so all numbers have the same width — e.g. 01, 02, … 10 instead of 1, 2, … 10.
For most FlyUtils tools, no. Processing happens in your browser with JavaScript. If a tool ever needs a server, that will be stated clearly on the page.
Yes. Add Line Numbers is free, with no sign-up and no artificial usage caps for normal personal and work use.
Yes. The page is mobile-first, so you can paste input, tweak options, and copy results from a phone or tablet.