Free code line counter that classifies every line of pasted source as code, comment or blank. Choose a language so single-line markers (//, #, --) and block comments (/* */, <!-- -->) are detected correctly, then read the live totals, percentages and a proportion bar. Runs entirely in your browser.
Open