Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

JPlag

github.com

  • Free plan
  • Open source
  • Windows
  • macOS
  • Linux
  • Web
  • API
  • Self-hosted
8.5 Club score Visit github.com

What JPlag is

JPlag compares programs pair by pair to identify source-code similarities that may indicate plagiarism or collusion. It examines programming-language syntax and program structure, which can reveal matches even when code has been partly obfuscated. The project says analysis runs on the user's machine and sends no data externally; it compares submissions with one another rather than searching the internet. Listed language support includes Java, C, C++, C#, Python, JavaScript, TypeScript, Go, Kotlin, R, Rust, Swift, Scala, LLVM IR, Scheme, EMF, SCXML, text, and multi-language submissions, with maturity varying by language. Users can run it through a command-line interface or Java API, and the CLI can launch a report viewer. JPlag is available through Maven Central as a Java project dependency. It is free, but running or building it requires Java SE 25. By default, the report's top list and code comparison include at most 2,500 pairs, a limit adjustable with the -n option. Lowering the minimum matching-token length increases sensitivity but can also raise false positives.

Who it suits

JPlag suits programming educators comparing submitted programs, as well as developers looking for duplicated or slightly modified software components. Users should be comfortable with its Java requirement and local command-line or Java API workflows.

Good to know, and what to watch

  • Analysis runs locally without sending data externally
  • Compares syntax and structure across many listed languages
  • Available through CLI and Java API
  • Free and usable as a Maven Central dependency
  • Does not compare submissions against internet sources
  • Requires Java SE 25 to run or build
  • Default report comparison includes at most 2,500 pairs
  • Higher sensitivity may increase false positives

JPlag

Free

Free plan

The verdict

JPlag provides local pairwise comparison for code submissions across a broad, though variably mature, set of languages. Its internet-search limitation and Java SE 25 requirement are important to consider before adopting it.

What the maker publishes

Build process
Building from source uses Maven, and including the report viewer in the assembled JAR additionally requires Node.js. source
CLI
JPlag provides a command-line interface with language selection, run/view modes, result-file output and configurable comparison limits. source
Cluster analysis
A cluster view shows relationships and group dynamics among multiple programs. source
Documentation and support
Documentation is provided through the GitHub wiki, repository README, issue tracker, discussions and a listed project email address. source
Early research record
The original JPlag publication describes pairwise similarity scoring with similarity regions and a Greedy String Tiling-based comparison algorithm. source
Education use
The project is primarily intended for detecting copied student programming assignments, although it also describes software-theft use cases. source
Extensibility
The repository contains separate language, language-API, parser-utility and report-viewer modules for extending or integrating the system. source
Founded
1996 source
Historical comparison
New submissions can be compared with one another and with an old-submission set, while old submissions are not compared among themselves. source
History
JPlag originated in 1996 at Karlsruhe Institute of Technology and was revived and modernized from late 2020. source
How it compares
It analyzes programming-language syntax and program structure, which helps it detect similarities despite some obfuscation attempts. source
Independent comparison
Codequiry describes JPlag as self-hosted open-source KIT software requiring Java and contrasts it with hosted alternatives. source
Independent directory facts
Helmholtz's Research Software Directory describes JPlag as locally executable open source and lists GPL-3.0-only licensing. source
Integration
JPlag is published on Maven Central for inclusion as a dependency in Java projects. source
Interfaces
JPlag can be used through its command-line interface or Java API, and the CLI can launch the report viewer. source
Internet matching limit
JPlag compares submissions with one another rather than searching the public internet. source
Java API
The project exposes a Java API that can run analyses and create saved reports from Java applications. source
Language maturity
Language modules are marked with different maturity levels, including mature, beta, legacy and alpha. source
Languages
The README lists support for Java, C, C++, C#, Python, JavaScript, TypeScript, Go, Kotlin, R, Rust, Swift, Scala, LLVM IR, Scheme, EMF, SCXML, text, and multi-language submissions, with varying maturity levels. source
Latest release news
Release 6.3.0 added Java 25 support, rarity-based match weighting, a version-check skip option and a Google AutoService-based API change. source
License
The software is distributed under the GPL-3.0-only license. source
Limit: benchmark accuracy
The same benchmark reported 37 of 42 confirmed copied pairs detected, five false positives, 88.1% precision and 88.1% recall for JPlag in that test. source
Limit: benchmark runtime
A 2026 independent benchmark reported JPlag 5.2.0 took 18 minutes 24 seconds on 214 Python submissions and produced a 14 MB result archive. source
Limit: fine-grained transformations
A research evaluation found that available plagiarism detectors, including JPlag, were not robust against some fine-grained source-structure transformations, although JPlag was among the more robust tools tested. source

Checked against the maker's pages on 15 Oct 2026.