Line counter
Count lines in pasted text or a file as you type, empty lines included, with words and characters alongside.
Runs in your browserNothing uploadedWorks offline
Set up for this job. It runs on Word counter, where every option is there to change.
Loading Line counterRuns on this device. Nothing is uploaded.
Questions
Are empty lines counted?
Yes. Every line break starts a new line, so blank lines count, and so does an empty last line after a final line break.
Which line endings work?
Windows (CRLF), Unix (LF) and old Mac (CR) line endings each count as one break.
Is my text uploaded?
No. Everything is counted in this tab, Word files included. Nothing leaves your device.
Related tools
All text and documents toolsText and documentstxt md plaincamelCase converterTurn phrases, column names or snake_case into camelCase identifiers, one per line, as you type.Text and documentstxt md plainCase converterChange text to UPPER, lower, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE as you type.Text and documentstxt md markdownCharacter counterCount characters as you type, spaces included, with the count without spaces, words and sentences next to it.Text and documentstxt md plainClean AI textFix text pasted from ChatGPT, Claude and terminals: show and remove hidden characters, rejoin broken lines, fix quotes, spaces and Markdown.Text and documentstxt md csvCompare text (diff)Compare two texts or files side by side or inline, by line, word or character, with changes highlighted and a downloadable patch.Text and documentstxt md plainCONSTANT_CASE converterTurn phrases or camelCase names into CONSTANT_CASE, also called SCREAMING_SNAKE_CASE, for constants and environment variables.