Dolos is a free, open-source tool for finding similarities between source-code submissions, particularly for teachers reviewing programming tests,…
Best Code Duplication Detection Tools in 2026
These tools locate repeated or near-matching code, helping you inspect clones and apply duplication rules. The list includes free, freemium and paid choices, plus open-source projects. When comparing entries, examine language coverage, near-duplicate checks, CI or pull-request reports, duplication gates and trend views. The list spans Linux, macOS, Windows, self-hosted, API and web deployments; verify Android…
jscpd is an open-source tool that scans repositories for repeated source code and can fail a build when duplication exceeds a configured threshold.
- 4
PMD
PMD is a free, extensible static code analyzer that checks source code for programming flaws such as unused variables, empty catch blocks, and unnecessary object creation.
Free planLinuxmacOSSelf-hostedWindows6.8Free plan - 5
Duplo
Duplo is free software for finding duplicated source code blocks in large codebases.
Free planLinuxmacOSWindows6.5Free plan - 6
dcd
dcd is a free duplicate-code detector that scans a repository to find repeated code.
Free planLinuxmacOS6.2Free plan - 7
NiCad
NiCad is a near-miss source code clone detector for finding similar code fragments across a repository.
Free planLinuxmacOSSelf-hostedWindows6.2Free plan - 8

Simian Similarity Analyzer
Simian Similarity Analyzer scans files in a repository to find duplicated blocks of code and other repeated text.
Free planLinuxmacOSWindows6.2Free plan - 9
phpcpd-next
phpcpd-next is a token-based detector for copied and similar PHP code across a repository.
Free planAPILinuxSelf-hosted5.9Free plan - 10
Deckard
Deckard is a free, open-source tool for detecting code clones in source code and analyzing clone-related bugs.
APILinuxmacOSSelf-hosted5.7 - 11
SourcererCC
SourcererCC is free GPL-3.0 software for token-based code clone detection across very large codebases and Internet-scale repositories.
LinuxSelf-hosted5.5 - 12

art-dupl
art-dupl is an open-source tool for finding code clones in Go repositories.
5.4 - 13
Fallow
WebLinuxmacOSWindows5.0 - 14
CCDetect-lsp
LinuxmacOSWindows4.7 - 15
JPlag
LinuxmacOSWindows4.7 - 164.6
- 17
CloneDR
Windows4.5 - 18
CCFinderX
Linux4.4
Choosing well
Check where it runs
Entries run on Linux, macOS, Windows, self-hosted, API or web environments. Make sure that deployment approach suits your development setup.
If you want to work from an Android phone or tablet, verify Android availability directly before choosing a tool.
Match your code language
Because language coverage varies, match each tool against repositories you maintain; art-dupl, for example, detects clones in Go source code.
Review reports and gates
Look for near-duplicate detection when copied code is changed rather than repeated exactly. Review integrations can surface findings in CI or pull requests.
Duplication gates help enforce a chosen threshold, while trend visualisation can show how duplication changes over time.
Compare price and licence
A free plan is available from tools in this category, while paid pricing also appears. Fallow offers a 30-day trial and a paid tier priced from $20 per user per month.
art-dupl, Deckard and jscpd are among the open-source options. Check the licence before integrating code into a product or internal workflow.
Questions people ask
Do these tools have free plans?
Free plans are available across the category. Fallow combines a free plan with paid pricing from $20 per user per month and a 30-day trial.
Can they detect near-duplicates?
Near-duplicate detection is a comparison field for this list. Check the individual tool details to see how closely changed copies are handled.
Are open-source choices available?
Yes. art-dupl, Deckard and jscpd are listed as open source, and other entries may have different licensing terms.
Can tools report through CI or pull requests?
CI or pull-request reporting is a comparison field. Review the tool's details to confirm the workflow integrations it supports.
