jscpd is an open-source tool that scans repositories for repeated source code and can fail a build when duplication exceeds a configured threshold.
Alternatives to dcd
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.
Duplo is free software for finding duplicated source code blocks in large codebases.
- 4
CCFinderSW
CCFinderSW is a free, open-source code clone detector for Windows that identifies and outputs similar code pairs using token-based matching.
Free planWindows6.4Free plan - 5
CopyPaste
CopyPaste is a free, local-first clipboard manager for Windows and macOS.
Free planmacOSWindows6.2Free plan - 6
NiCad
NiCad is a near-miss source code clone detector for finding similar code fragments across a repository.
Free planLinuxmacOSSelf-hostedWindows6.2Free plan - 7

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 - 8
Hound
Hound is a free source code search engine that indexes repositories and lets users search them with regular expressions.
WebAPILinuxmacOS6.1 - 9
CloneWorks
CloneWorks prepares source code into fragments and detects clones in those fragments.
Free planLinuxmacOSWindows6.0Free plan - 10
copydetect
copydetect is a free tool for comparing code directories and producing an HTML report that highlights matching code slices.
APILinuxmacOSSelf-hosted5.9 - 11
phpcpd-next
phpcpd-next is a token-based detector for copied and similar PHP code across a repository.
Free planAPILinuxSelf-hosted5.9Free plan - 12
dskDitto
dskDitto finds duplicate files across disks with parallel scanning and offers a terminal interface by default plus an optional, experimental graphical interface.
LinuxmacOS5.8 - 13

CodeMatch
CodeMatch is a Windows program from SAFE Corporation for comparing source code across two directories, including their subdirectories.
Windows5.7 - 14
Deckard
Deckard is a free, open-source tool for detecting code clones in source code and analyzing clone-related bugs.
APILinuxmacOSSelf-hosted5.7 - 15
QuickDup
QuickDup is a structural code clone detector that identifies candidate duplicates using indentation changes and the first word on each line.
LinuxmacOSWindows5.7 - 16
semdup
semdup is an open-source fuzzy-search tool for finding near-duplicate code by semantic meaning rather than token sequences.
LinuxmacOSSelf-hostedWindows5.6 - 17
DUDE (DUplicates DEtector)
DUDE (DUplicates DEtector) is a free desktop utility for finding duplicate files on Linux and Windows.
LinuxWindows5.5 - 18
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 - 19

art-dupl
art-dupl is an open-source tool for finding code clones in Go repositories.
5.4 - 20
@kongyo2/similarity-ts
@kongyo2/similarity-ts is a free TypeScript-only analyzer for structurally comparing functions, types and classes across a repository.
5.3 - 215.2
- 224.4
