Count source code lines, comments, blank lines, characters, bytes, and LOC percentages.
Pick the closest syntax so full-line comments are classified correctly.
Paste a file or snippet into the editor. Counts update immediately.
Review total lines, code lines, blank lines, comments, characters, bytes, and code percentage.
Lines of code statistics help you understand the rough size and shape of a source file. Total lines alone can be misleading, so this tool separates code, blank lines, and comment-only lines.
Use it when comparing snippets, documenting project size, reviewing generated code, or checking whether a file is mostly implementation, comments, or whitespace. It is a quick browser-side counter, not a replacement for a full repository analyzer.
A higher LOC number is not automatically better or worse. Small files can be complex and large files can be generated or repetitive. Use LOC statistics as a quick size signal, then pair them with tests, readability, and maintainability review.
Comment lines explain code but do not usually represent executable logic. Separating them makes it easier to tell whether a file is dense implementation, documentation-heavy, or simply padded with blank lines.
Diff Checker
Compare two texts and highlight added, removed, and unchanged lines instantly.
Word Frequency Counter
Analyze and count word frequency in your text with statistics.
Empty Line Remover
Remove all empty and blank lines from text.
Line Number Adder
Add line numbers to each line of text.
Hex Color Chart
Browse hex colors, read hex codes, and convert color numbers to RGB with a searchable chart.
Morse Code Converter
Convert text to Morse code and Morse code back to text instantly.