EVERYTHING XIAOMI
Get listed
Ranked chart · Developer Tools

Best Code Clone Detection Tools in 2026

jscpd leads this chart of 23 (7.4/10, free plan). PMD is next (6.8/10, free plan), and Duplo is the next highest-placed with a free plan (6.5/10). Code clone detection tools find repeated or similar code; your choice depends on detection method and supported platforms, especially Android availability. Check whether the tool runs on Android, then review web, Windows, iPhone or iPad, Mac, and Linux support. Compare scan scope, clone types, supported languages, CI and IDE connections, self-hosting, and price. If you need to inspect or change code, read the…

23 appsSorted 5 Dec 2026How we rank
17.4
jscpd logo

jscpd is free open-source software with API, Linux, macOS, self-hosted, and Windows support.

Free planOpen sourceAPILinuxmacOS
Free plan
26.8

PMD is free Linux, macOS, self-hosted, and Windows code analysis software with copy-paste detection.

Free planLinuxmacOSSelf-hosted
Free plan
36.5

Duplo is free Linux, macOS, and Windows software that finds duplicate source code blocks.

Free planLinuxmacOSWindows
Free plan
  1. 4

    CCFinderSW

    CCFinderSW is free open-source Windows software for token-based code clone detection.

    Free planWindows
    6.4Free plan
  2. 5

    CopyPaste

    CopyPaste is free Windows and macOS clipboard software with local history and search.

    Free planmacOSWindows
    6.2Free plan
  3. 6

    dcd

    dcd is free Linux and macOS software for duplicate code within a project.

    Free planLinuxmacOS
    6.2Free plan
  4. 7

    NiCad

    NiCad is free Linux, macOS, self-hosted, and Windows near-miss clone detection software.

    Free planLinuxmacOSSelf-hostedWindows
    6.2Free plan
  5. 8Simian Similarity Analyzer logo

    Simian Similarity Analyzer

    Simian is free open-source Linux, macOS, and Windows software for duplicated code blocks.

    Free planLinuxmacOSWindows
    6.2Free plan
  6. 9

    Hound

    Hound is free API, Linux, macOS, self-hosted, and web source code search software.

    WebAPILinuxmacOS
    6.1
  7. 10

    CloneWorks

    CloneWorks is free Linux, macOS, and Windows software for prepared code clone detection.

    Free planLinuxmacOSWindows
    6.0Free plan
  8. 11

    copydetect

    copydetect is free API, Linux, macOS, self-hosted, and Windows code plagiarism software.

    APILinuxmacOSSelf-hosted
    5.9
  9. 12

    phpcpd-next

    phpcpd-next is free open-source API, Linux, and self-hosted software for PHP copy detection.

    Free planAPILinuxSelf-hosted
    5.9Free plan
  10. 13

    dskDitto

    dskDitto is free Linux and macOS duplicate-file software with terminal and graphical interfaces.

    LinuxmacOS
    5.8
  11. 14CodeMatch logo

    CodeMatch

    CodeMatch is paid Windows software with a free plan and trial for comparing source files.

    Windows
    5.7
  12. 15

    Deckard

    Deckard is free open-source API, Linux, macOS, self-hosted, and Windows tree-based clone software.

    APILinuxmacOSSelf-hosted
    5.7
  13. 16

    QuickDup

    QuickDup is free open-source Linux, macOS, and Windows structural clone detection software.

    LinuxmacOSWindows
    5.7
  14. 17

    semdup

    semdup is free open-source Linux, macOS, self-hosted, and Windows semantic clone detection software.

    LinuxmacOSSelf-hostedWindows
    5.6
  15. 18

    DUDE (DUplicates DEtector)

    DUDE is free Linux and Windows GUI software for finding and managing duplicate files.

    LinuxWindows
    5.5
  16. 19

    SourcererCC

    SourcererCC is free open-source Linux and self-hosted token-based clone detection software.

    LinuxSelf-hosted
    5.5
  17. 20art-dupl logo

    art-dupl

    art-dupl is an open-source tool for finding code clones in Go repositories.

    5.4
  18. 21

    @kongyo2/similarity-ts

    @kongyo2/similarity-ts is a free TypeScript-only analyzer for structurally comparing functions, types and classes across a repository.

    5.3
  19. 22

    Amimica

    Amimica is free API and self-hosted software for offline repeated-code detection.

    APISelf-hosted
    5.2
  20. 23
    4.4

Choosing well

Which clone detection method fits your code?

Exact matching catches identical blocks, while fuzzy, token, tree, structural, and semantic methods can find changed or rearranged code. jscpd detects exact clones by default and offers renamed, near-miss, and semantic modes; semdup compares semantic meaning.

CloneWorks supports Type-3 detection and accepts a similarity threshold from 0.0 to 1.0. CCFinderSW uses token-based analysis, and Deckard builds vectors from parse trees. Choose the method that matches the duplication you need to review.

What files, languages, and granularity must it scan?

Check supported languages and whether scanning works at file, function, block, or statement level. NiCad supports file, function, and block analysis; SourcererCC supports files, methods, statements, or blocks.

Simian lists source code, markup, stylesheets, Markdown, and plain text. copydetect uses Pygments tokenization for more than 500 languages, while PMD supports multiple languages and includes its CPD copy-paste detector.

Does it run on Android or your other systems?

No listed tool provides an Android platform entry for this category. Check Linux, Windows, macOS, self-hosted, API, web, and iOS support instead. Algo VPN lists Android and iOS, but it is a VPN rather than a clone detector.

jscpd, copydetect, and Deckard list API or self-hosted options. dcd lists Linux and macOS. A self-hosted option keeps the service on infrastructure you control, subject to setup requirements.

Can it fit CI, editors, or local review?

For automated checks, look for build or workflow support. jscpd can fail a build when duplication passes a configured threshold, semdup provides a GitHub Actions workflow, and art-dupl includes baseline checking for CI.

Local tools differ in output and privacy. dcd supports fuzzy matching and gap tolerance; phpcpd-next produces console, XML, JSON, and SARIF reports. Review the command options and report formats before adding a tool to a pipeline.

Questions people ask

Are code clone detection tools available on Android?

The listed clone detectors do not show Android platform support. Check Linux, Windows, macOS, web, API, or self-hosted options for your workflow.

Which tool supports the most languages?

copydetect says Pygments tokenization supports more than 500 languages. jscpd lists support for 224 languages, while other tools list narrower sets.

What is semantic clone detection?

Semantic detection compares meaning rather than exact token sequences. semdup uses semantic comparison, and jscpd offers semantic detection as an experimental option.

Can clone detection run in CI?

jscpd can fail a build after duplication exceeds a threshold. semdup provides a GitHub Actions workflow, and art-dupl supports baseline checking.

Which tools can run self-hosted?

jscpd, NiCad, copydetect, Deckard, Hound, semdup, SourcererCC, phpcpd-next, and others list self-hosted platforms. Check setup requirements.

Are these clone detection tools free?

Many listed tools have free plans or free pricing. CodeMatch lists a paid model with a free plan and trial, so verify current terms before adoption.

More in Developer Tools

The whole section