Line Counter

Count lines of code or text. Blank lines, code lines.

Drop file here or click to select
Lines
Code lines
Blank lines

How Line Counter works

Line Counter reads your file with the browser's File API and processes it with JavaScript on this page. The result is shown in the page or offered as a download created in your browser.

Limits

Check it yourself

Open the Network tab of your browser's developer tools (F12) while you use the tool: no request carries your file. The page's Content-Security-Policy only allows our anonymous error counter (what it receives). Step-by-step: how to check that a tool doesn't upload your file.

Related tools

Lorem Ipsum Generator · 한국어 더미 텍스트 · Password Strength Checker · Password Generator · Remove Line Breaks · All tools