Skip to content
Agentmart
Submit a tool

SLOC Counter

Counts source lines by language from pasted code, a GitHub repo or a ZIP and estimates effort with COCOMO.

Artifact by Simon Willison

IndexedApache-2.0Developer toolsNo sign-upRuns in your browser

Use it

Opens tools.simonwillison.net in a new tab. Nothing to install.

You provide
Code, repo URL or ZIP
You get
Line counts and effort estimate
Account
No sign-up needed
AI
No AI: a plain tool
Your input
Processed in your browser, not uploaded (stated by the tool or its repo)
Price
Free to use
Made with
AI-built app
Source
Open source
Link check
Answered on Oct 31, 2026

About

SLOC Counter is an AI-built single-page app in the developer tools category (code metrics). It opens in your browser, so there is nothing to install. You provide code, repo URL or ZIP and get line counts and effort estimate. Your input is processed on your device and not uploaded. It needs no account. It is a plain tool: no AI model is involved. The source code is public on GitHub (simonw/tools).

Category: Developer tools · code metrics

No reviews yet. Used it? Sign in with an established GitHub account to rate it. How reviews work

More developer tools tools

See all developer tools tools →

Details

Auth
No auth
License
Apache-2.0
First seen
Oct 31, 2026
Last checked
Oct 31, 2026
Source
GitHub

More from Simon Willison

Cite this page

SLOC Counter: free online. Agent Mart. https://agentmart.dev/artifacts/sloc-counter (last updated 2026-10-31)