Code Complexity Estimator
Estimate the cyclomatic complexity of each function in pasted JavaScript, TypeScript, Python or C-like code.
Open toolCount code, comment and blank lines by language for pasted code, files or a whole project ZIP.
Drop source files, a folder’s files, or a ZIP of a whole project to see how many lines are code, comments and blank — per language and per file, like the cloc command-line tool. More than 35 languages are recognised by extension, including JavaScript, TypeScript, Python, Java, C#, Go, Rust, PHP, Ruby, SQL, HTML, CSS, shell, YAML and Dockerfiles. Inside ZIPs, node_modules, .git, dist, build and vendor folders are skipped, and binary files are ignored.
A line with code followed by a comment counts as code; lines inside block comments count as comments; comment markers inside simple string literals are ignored. You can download the per-file counts as CSV, or paste a snippet to count it directly. Everything runs in your browser. Your data is never uploaded, logged or stored.
Your code or text
35+ languages by file extension, ZIP archives, Pasted code
Processed in this browser
In-browser. Nothing is uploaded.
Your result
Ready to download or copy
Drop files or a ZIP, or switch to Paste code.
Read the totals and the per-language table.
Download the per-file CSV if you need it in a spreadsheet.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device · Batch ZIP export included
Launch the app and add your file. There is nothing to install and no account to create.
Read the totals and the per-language table.
Download the per-file CSV if you need it in a spreadsheet.
Estimate the cyclomatic complexity of each function in pasted JavaScript, TypeScript, Python or C-like code.
Open toolOpen ZIP files in your browser: browse contents, preview text and images, and extract files.
Open toolCount words, characters, sentences and paragraphs, with reading time and keyword density.
Open toolPretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.
Open tool