Word Counter
Clean and transform text with Word Counter — instant results, fully in-browser.
Add a number before every line — neatly right-aligned — instantly in your browser. Useful for referencing lines in a list, code or instructions.
Your browser is preparing the tool. It runs 100% locally.
Paste text and the tool adds a number before each line, starting at 1 and counting up. The numbers are right-aligned — padded with spaces so they line up — and followed by a dot and a space. So a two-line list becomes 1. apple and 2. banana. The numbers become part of the text. Everything runs in your browser; nothing is uploaded.
This tool puts a sequential number in front of every line of your text, so each line is labelled 1, 2, 3 and so on. The numbers are right-aligned and padded so they stay neatly in a column even when the count runs into double or triple figures.
It is the quick way to make a numbered version of a list, a code snippet or a set of instructions, so you can refer to a particular line by its number.
The tool splits the text into lines and counts them. It works out how many digits the largest number needs, then prefixes each line with its number, right-aligned to that width and followed by a dot and a space. So in a nine-line block the numbers are one digit, and in a hundred-line block they are padded to three.
The right-alignment keeps the numbers in a tidy column, with the dots lining up, which makes the numbered text easy to read and to reference.
each line → (right-aligned number) + . + space + the line
numbers start at 1 · width = digits in the last line's numberapple / banana → 1. apple · 2. bananaNumbers are right-aligned and padded to a common width, so they line up in a column. The numbers become part of the text, so removing them later needs a separate step.
The numbering is exact: every line gets the correct sequential number, right-aligned and padded so the column stays tidy however many lines there are.
The numbers become part of the text. That is what makes the output copyable as a numbered list, but it also means you cannot simply turn the numbers off — removing them later means stripping the prefix from each line.
It numbers every line, including blank ones. A blank line still gets its number, which keeps the count accurate but means empty lines are labelled too. Remove blank lines first if you do not want them numbered.
It counts lines as they are pasted, so wrapped text that is really one long line gets a single number. If your lines are soft-wrapped rather than hard line breaks, the numbering follows the actual line breaks, not the visual wrapping.
Turn a plain list into a numbered one.
Add line numbers to a code snippet for discussion.
Number the steps in a set of instructions.
Make it easy to point to a line by number.
For numbering that updates live, a code editor's line-number gutter keeps them separate from the text. For a different format or start number, edit the result by hand. This tool adds fixed numbers into the text.
Prefixes each line with a sequential number starting at 1, right-aligned to the width of the largest number, followed by a dot and a space.
Clean and transform text with Word Counter — instant results, fully in-browser.
Character Counter instantly as you type — free, private and lightning fast.
Case Converter instantly as you type — free, private and lightning fast.
Clean and transform text with Lorem Ipsum Generator — instant results, fully in-browser.
Text Diff Checker online with no limits, no signup and no data leaving your browser.
Remove Duplicate Lines online with no limits, no signup and no data leaving your browser.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.