jscpd
jscpd: A broad, self-hosted clone detector with strong CI, reporting, and history analysis. Ranked #1 of 23 in Code Clone Detection Tools by our editors (9.4/10); pricing: Open source; best for broad, CI-driven multi-format clone detection.
At a glance
- Editor score9.4 / 10
- PricingOpen source
- Best forBroad, CI-driven multi-format clone detection
- Paid fromFree
- Clone detection methodToken
- Facts checked20 Sep 2026

Where it wins
- Detects exact, renamed, and near-miss clones across repositories
- Supports 224 language and document formats
- Adds GitHub Actions, SARIF, history trends, and multiple reporters
Where it doesn't
- Primarily a command-line tool rather than a visual-first product
- Self-hosted operation places deployment responsibility with the team
- Its strongest workflow is centered on repository and CI scanning
Our verdict on jscpd
jscpd is an open-source command-line tool for detecting duplicated source-code blocks across repositories. It uses language-aware tokenization to identify exact, renamed, and near-miss clones, making it suitable for development teams that want repository-level duplication analysis without adopting a paid hosted service. It runs on Windows, macOS, and Linux, and is also available through an API. The project supports 224 language and document formats, with distribution through a self-contained binary and package ecosystems including npm, PyPI, Cargo, Homebrew, Nix, and Docker.
Its CI and reporting options are a major part of the product’s appeal. The GitHub Action supports CI scans and SARIF uploads, while Docker and pre-commit provide additional ways to fit scanning into development workflows. Reports can be generated as HTML, JSON, PMD-CPD, badge, SARIF, and other formats. That combination gives teams several ways to publish results, review findings, or connect clone detection with code-quality processes. Git history analysis adds duplication trends over time, while dead-code and complexity analysis extend the tool beyond a single clone report.
jscpd also includes an MCP server and an AI-focused reporter, which may suit teams building AI-assisted engineering workflows. Its open-source, self-hosted model is a good fit for organizations that prefer control over execution and repository data, especially when broad format coverage matters. Teams seeking a polished hosted interface or a primarily visual review experience may prefer a different type of product. For developers comfortable with command-line tooling, CI configuration, and self-managed operation, jscpd offers a wide detection scope with practical automation and reporting depth.
Your product? Our editors can test jscpd in depth and publish a review, labelled as paid · from $149/mo →
jscpd pricing
jscpd fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Clone detection method | Token |
| Scan scope | Repository |
| CI integration | Yes |
| IDE integration | Not verified |
| Self-hosted option | Yes |
| Supported languages | Not verified |
| Deployment | Self-hosted |
| Platforms | Windows, macOS, Linux |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 3 integrations: GitHub Actions, Docker, pre-commit |
| Pricing | Open source |
| Website | jscpd.dev |
| Facts checked | 20 Sep 2026 |
jscpd integrations
jscpd lists 3 integrations on its own site.
- GitHub Actions
- Docker
- pre-commit
Alternatives to jscpd
- art-duplA focused, self-hosted clone analyzer for Go teams building duplication checks into CI.9.2
- PMDA strong open-source choice for teams pairing clone detection with broad static analysis.9.0
- NiCadA configurable, self-hosted choice for exact and near-miss clone analysis.8.8
jscpd vs the competition
- jscpd vs art-dupl
- jscpd vs PMD
- jscpd vs NiCad
- jscpd vs Amimica
- jscpd vs @kongyo2/similarity-ts
- jscpd vs QuickDup
Compare jscpd with any tool side by side →
Also Ranked In
jscpd is ranked in 2 of our directories.
Used jscpd? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used jscpd for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
jscpd is listed in our Code Clone Detection Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/jscpd/"><img src="https://www.itechguides.com/best/badge/jscpd.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update

