Source Code Line Counter
Count code, comment-only and blank lines in JavaScript and TypeScript files or a local project folder.
Progress
Choose Source Files
Choose files or a project folder.
Counting Rules
JavaScript, JSX, TypeScript and TSX. Lines with code and comments count as code.
Language and Line Rules
Supported extensions are .js, .mjs, .cjs, .jsx, .ts, .mts, .cts and .tsx. Other extensions stay in the report as skipped.
CRLF, LF, CR and Unicode line or paragraph separators end physical lines. A final terminator does not add an empty line. Whitespace-only lines are blank. Nonblank comment-only lines include block comments and the initial hashbang.
Folder exclusion matches full directory names without regard to case. Choose Folder retains relative paths. Individually selected files may supply only their basename.
Line Count Report
- Physical
- 0
- Code
- 0
- Comment-Only
- 0
- Blank
- 0
No files have this status.