Add Line Numbers
Runs in browserAdd line numbers to text with customisable separator, start number, and zero-padding.
Last updated 08 Apr 2026
Paste any text and add line numbers to every line with your choice of separator (dot, colon, tab, or pipe). Set the starting number and optionally zero-pad numbers to a consistent width. Runs entirely in your browser — nothing is uploaded.
Separator
How to use
- 1
Paste your text
Paste or type the text you want to number into the input box.
- 2
Choose a separator
Select from dot (1. ), colon (1: ), tab, or pipe (1 | ) to control the formatting between the number and the line content.
- 3
Set options
Change the start number if the list continues from a previous block. Enable zero-padding to align numbers into a consistent-width column.
- 4
Copy the result
Numbered text appears instantly in the output box. Click Copy to send it to your clipboard.
Frequently asked questions
What separators are available?
What does zero-padding do?
Can I start numbering from a number other than 1?
Does it handle empty lines?
Is my text uploaded or stored?
The Kordu Add Line Numbers tool prepends a number to every line in your text.
Choose from four separator styles: dot (1. ), colon (1: ), tab (1→), or pipe
(1 | ). Set the starting number to any value — useful when numbering a section
that continues from a previous block. Enable zero-padding to align numbers to a
consistent width so lists stay visually neat.
Common uses: numbering code snippets for documentation and screenshots, adding
reference numbers to interview questions or quiz answers, numbering log lines
for debugging references, and creating ordered lists from unordered text.
All processing runs client-side in your browser. Your text is never uploaded,
stored, or transmitted to any server.
Related tools
Remove Empty Lines
Remove blank lines from text, or collapse multiple blank lines into one. Free online tool.
Sort Lines
Sort lines alphabetically, by length, numerically, or randomly. Optionally remove duplicates.
Remove Duplicate Lines
Remove duplicate lines from text instantly. Keeps first occurrence, case-sensitive or insensitive.
Word Counter
Count words, characters, sentences, and paragraphs with reading time, speaking time, and keyword density.
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more — instantly.