Add line numbers
Number the lines of any text with a configurable start, step, separator, zero-padding, and skip-empty option.
Everything runs in your browser — your text is never uploaded.
About the Add line numbers
Add line numbers prefixes every line of your text with a sequential number. Set the starting value and step, choose the separator between the number and the text, zero-pad the numbers so they align neatly, and optionally skip blank lines. It's the quick way to turn a plain list or snippet into a numbered reference — instantly and entirely in your browser.
Add line numbers features
- 01
Custom start, step, and separator
Begin at any number, count up by any step, and pick the separator — dot, parenthesis, colon, tab, or space — between the number and the line.
- 02
Aligned zero-padding
Pad numbers to equal width so 1–100 line up in a tidy right-aligned column instead of a ragged edge.
- 03
Skip empty lines
Choose whether blank lines are numbered or left empty, so the numbering follows only your actual content.
Add line numbers FAQ
- How do I add numbers to each line of text?
- Paste your text and the lines are numbered automatically starting at 1. Adjust the start, step, and separator to taste, then copy or download the result.
- Can I start numbering from a value other than 1?
- Yes. Set the "Start" field to any number (including negatives) and the "Step" field to count up by 1, 5, 10, or any interval you like.
- What separators are available?
- A period ("1. "), parenthesis ("1) "), colon ("1: "), a tab, or a single space — pick whichever suits your list or code.
- Does it skip blank lines?
- Only if you enable "Skip empty lines." With it on, blank lines stay blank and don't consume a number; with it off, every line is numbered.
- Is my text uploaded anywhere?
- No. Line numbering runs in your browser and your text never leaves the page.
Related tools
Utility →- Live
Remove line breaks
Strip line breaks and hard returns from text — join everything into one block or keep paragraph breaks and replace newlines with spaces.
UtilityFreeRuns locallyOpen - Live
Remove extra spaces
Collapse multiple spaces and tabs into one, trim each line, and optionally remove all spaces or delete empty lines.
UtilityFreeRuns locallyOpen - Live
Remove duplicate lines
Delete repeated lines from a list — case-insensitive and trim options, keep the first or last occurrence, and see how many were removed.
UtilityFreeRuns locallyOpen
Explore other tools
All tools →- Live
PDF to Text
Extract all the text from a PDF in your browser and copy it or save it as a .txt file. Great for quoting, reusing, or searching PDF content.
PDFFreeRuns locallyOpen - Live
Passport Photo Maker
Create a compliant passport or visa photo for US, UK, EU, and more — free, in your browser.
ImageFreeRuns locallyOpen - Live
WebM to MOV
Convert WebM videos to MOV (QuickTime) in your browser — files never leave your device.
VideoFreeRuns locallyOpen - Live
Voice enhancer
Remove background noise from voice recordings in your browser.
AudioFreeRuns locallyOpen - Live
JSON formatter
Pretty-print, minify and validate JSON.
DocumentFreeRuns locallyOpen