Counter•Client-Side Processing
Line Counter
Count total lines, non-empty lines, empty blank lines, and average characters per line.
Developer workbench
⌘ / Ctrl + Enter to runConfigure. Run. Inspect.
Runs locally. Inputs and results are not automatically saved.
30 input bytes
Output
How to Use Line Counter
01
Paste source code or document lines.
02
Inspect total lines, empty lines, and filled lines.
03
Copy line metrics.
Frequently Asked Questions
Are carriage returns (\r\n) counted properly?
Yes, both Unix (\n) and Windows (\r\n) line endings are supported.
Related Developer Tools
Explore more free client-side developer utilities in this category