Your codebase has dead weight.

Detect unused exports, dead functions, and orphan files across JS/TS, Python, Go, and CSS. Ship less. Ship cleaner.

$ clawhub install deadcode click to copy
$ deadcode scan ./src
 
💀 DeadCode: Scanning 847 files across 12 directories...
 
  !! CRITICAL  utils.ts:42       Unused export
     Export formatCurrency is exported but never imported
 
  !  HIGH      parser.js:118    Dead function
     Function legacyParser() unreachable after refactor
 
  ~  MEDIUM    old-auth.ts       Orphan file
     File has 0 imports — not referenced anywhere
 
  ───────────────────────────────────────
  Health Score: 68/100 (D)
  12 dead code issues found (2 critical, 4 high, 6 medium)

Up to 30% of production code is never executed.

Dead code bloats bundles, confuses developers, and hides bugs. Every unused export is a maintenance trap waiting to waste someone's afternoon. DeadCode finds it all and gives you a clean kill list.

60+
Detection patterns
5
Languages supported
100%
Local analysis
Zero
Telemetry

Everything you need to eliminate dead code

📦

Unused Export Detection

Finds exports that are never imported anywhere in your project. Catches the #1 source of dead code in modular codebases.

⚰️

Dead Function Finder

Identifies functions that are defined but never called, or are unreachable after refactors. No more ghost code haunting your repo.

📂

Orphan File Scanner

Detects files with zero inbound imports. Finds forgotten modules, abandoned experiments, and files that slipped through code review.

🪝

Pre-commit Hooks

Block new dead code at the source. Integrates with Lefthook to scan every commit and reject code that introduces unused exports.

🌍

Multi-Language Support

Works across JavaScript, TypeScript, Python, Go, and CSS. One tool for your entire stack, regardless of language boundaries.

📊

SARIF CI Output

Generate SARIF reports for GitHub Code Scanning and CI pipelines. Integrate dead code detection into your existing review workflows.

How DeadCode compares

Feature Manual Review IDE Plugin Tree-shaker DeadCode
Multi-language (per-language) (JS only) JS/TS, Py, Go, CSS
Unused exports (error-prone) (partial) Full cross-file
Orphan files
Pre-commit hooks
CI integration (build step) SARIF native
Cross-repo analysis
SARIF output
Offline / local

Simple, transparent pricing

Start scanning for free. Upgrade when your codebase demands it.

Free
$0
  • 5 files per scan
  • Basic detection patterns
  • Single directory scanning
  • Community support
Install Free
Team
$39/mo
  • Everything in Pro
  • Cross-repo analysis
  • Custom ignore rules
  • SARIF output
  • CI integration
  • Priority support

Get notified about updates

No spam. One email per week max. Unsubscribe anytime.

Dead code is tech debt that hides in plain sight

Install DeadCode in 30 seconds. Find every unused export, dead function, and orphan file in your repo.

$ clawhub install deadcode click to copy