Best Code Clone Detection Tools in 2026
Updated
In short: Duplo is ranked #1 of 23 as of 4 October 2026, ahead of PMD and NiCad. The best-ranked option with a free plan is PMD.
Finding duplicated or closely similar code can help you decide what to review across a codebase. Compare supported languages, scan scope, and clone detection method to understand what each tool covers. CI and IDE integration show where a tool may connect with development work, while self-hosting, free-plan availability, and paid-from pricing offer additional distinctions. The ranking begins with copydetect, Duplo, Hound, and PMD; Simian Similarity Analyzer and CloneWorks also appear among the first entries. Match the listed capabilities to the languages and repositories you need to inspect, and consider how you want results to fit into your review process.
23 code clone detection tools ranked on what their makers publish — plans and prices, free tiers, platforms and the facts on their own pages.
#1 Duplo Top pick · 7.2 Free plan · Free
#2 PMD Runner-up · 7.2 Free plan · Free
#3 NiCad Also great · 7.1 Free plan · Free- Free plan LinuxmacOSWindows
- Free plan
- Yes
- Clone detection method
- text
- Scan scope
- repository
- CI integration
- Yes
RecognisedDocumentedFree planPlatforms - Free plan LinuxmacOSself-hostedWindows
- Free plan
- Yes
RecognisedDocumentedFree planPlatformsFree About PMDVisit site - Free plan LinuxmacOSself-hostedWindows
- Free plan
- Yes
- Clone detection method
- hybrid
- Scan scope
- repository
RecognisedDocumentedFree planPlatforms - Free plan LinuxmacOSWindows
- Clone detection method
- text
- Scan scope
- repository
- CI integration
- Yes
- IDE integration
- No
RecognisedDocumentedFree planPlatforms - Free plan LinuxmacOSWindows
- Free plan
- Yes
- Clone detection method
- token
- Scan scope
- repository
RecognisedDocumentedFree planPlatforms - Free plan LinuxmacOS
- Free plan
- Yes
- Clone detection method
- text
- Scan scope
- repository
- CI integration
- Yes
- IDE integration
- No
RecognisedDocumentedFree planPlatformsFree About dcdVisit site - Free plan apiLinuxmacOSself-hostedWindows
- Clone detection method
- token
- Scan scope
- repository
- CI integration
- Yes
RecognisedDocumentedFree planPlatforms - apiLinuxmacOSself-hostedWindows
- Free plan
- Yes
- Clone detection method
- token
- Scan scope
- repository
- CI integration
- No
- IDE integration
- No
RecognisedDocumentedFree planPlatforms - apiLinuxmacOSself-hostedWeb
- Free plan
- Yes
RecognisedDocumentedFree planPlatforms - AndroidiOSLinuxmacOSWindows
- Clone detection method
- semantic
- Scan scope
- repository
RecognisedDocumentedFree planPlatforms - WindowsmacOSLinux
- Clone detection method
- ast
- Scan scope
- repository
- CI integration
- No
- IDE integration
- No
RecognisedDocumentedFree planPlatforms - WindowsmacOSLinux
- Clone detection method
- hybrid
- Scan scope
- repository
- CI integration
- Yes
- IDE integration
- No
RecognisedDocumentedFree planPlatforms -
- Free plan
- Yes
- Clone detection method
- ast
- Scan scope
- repository
- CI integration
- Yes
- IDE integration
- No
RecognisedDocumentedFree planPlatforms -
- Free plan
- Yes
- Clone detection method
- hybrid
- Scan scope
- repository
- CI integration
- No
- IDE integration
- No
RecognisedDocumentedFree planPlatforms -
- Clone detection method
- token
- Scan scope
- repository
- CI integration
- Yes
- IDE integration
- No
RecognisedDocumentedFree planPlatforms -
- Clone detection method
- ast
- Scan scope
- repository
- CI integration
- Yes
RecognisedDocumentedFree planPlatforms - Windows
- Clone detection method
- token
RecognisedDocumentedFree planPlatforms -
- Clone detection method
- semantic
- Scan scope
- repository
- CI integration
- Yes
RecognisedDocumentedFree planPlatforms -
- Clone detection method
- token
- Scan scope
- repository
RecognisedDocumentedFree planPlatforms -
- Free plan
- No
- Clone detection method
- hybrid
- Scan scope
- repository
RecognisedDocumentedFree planPlatforms - WindowsmacOS
- Free plan
- Yes
RecognisedDocumentedFree planPlatforms - macOSLinux
- Free plan
- Yes
RecognisedDocumentedFree planPlatforms - WindowsLinux
- Free plan
- Yes
RecognisedDocumentedFree planPlatforms
Is your app on this list?
Numbered spots on this list can be sponsored. They are labelled, and the editorial order and scores never change for payment.
Questions about this list
Which code clone detection tool is ranked first on Everything Xiaomi?
Duplo is ranked #1 of 23 with a score of 7.2. PMD is second and NiCad third.
How many of these have a free plan?
7 of the 23 on this page publish a free plan on their own pricing pages.
How is this list ranked?
Ranked on what each maker publishes: documentation depth, a free tier and the platforms it runs on. Paid placements never change a rank.























