New Breakthrough Catch AI-written code before you grade it. Our most accurate model yet. It finds 90% of AI and GPT code with only 1.3% false flags. 90% caught, 1.3% false flags. Start checking Start checking
New: MCP integration. Run plagiarism scans from Claude, Cursor or any AI assistant. Run scans from Claude or Cursor. Set it up

A MOSS alternative that also checks the web and AI

MOSS (Measure of Software Similarity) compares the files in one batch with each other, and it does that well. It does not search GitHub or Stack Overflow, has no AI detection, and deletes its results after 14 days. Codequiry runs the same comparison and adds the rest.

2-day free trial. Checks every file against classmates, the web and AI, in 65+ languages.

94%
MOSS: no match. Codequiry: copied from Stack Overflow No classmate had it, so MOSS had nothing to compare
Example
Student submissionLab3.java
1class Lab3 {2 static int vowels(String word) {3 return word.length() - word4 .replaceAll("(?i)[aeiou]", "")5 .length();6 }7}
Found on Stack Overflowanswer
1class Text {2 static int countVowels(String s) {3 return s.length() - s4 .replaceAll("(?i)[aeiou]", "")5 .length();6 }7}
Classmates (what MOSS checks): no matchWeb sources: 1 matchAI detection: not flagged

A distinctive one-line trick, copied with the names changed (highlighted). Peer comparison cannot see it, because the original was never in the batch.

Used in programming courses at

  • Harvard University
  • Stanford University
  • ETH Zurich
  • MIT
  • University of Cambridge
  • University of Illinois Urbana-Champaign

What MOSS does well

MOSS was written by Alex Aiken at Stanford in 1994 and it is still the tool many CS departments start with. It earned that place:

  • It is free for academic, non-commercial use.
  • It ignores cosmetic edits. Its winnowing fingerprints skip names, comments and whitespace, so a renamed copy of a classmate's program still matches.
  • It handles starter code. Pass the base file and code every student was given is left out.
  • It is fast on a batch of a few hundred files.

If the only question is "did two students in this class hand in the same program?", MOSS answers it well.

Where MOSS falls short

Most copying in a programming course no longer happens between classmates. It comes from the web and from AI, and MOSS was never built to look there.

  • No web search. A solution copied from GitHub or Stack Overflow passes unless another student copied the same one. The example above is exactly that case.
  • No AI detection. Code from ChatGPT, Claude, Gemini or Copilot passes unless two students handed in nearly identical output.
  • Results expire. The report page is deleted after 14 days. If a case reaches a hearing later in the term, you need your own copy.
  • A script, not an app. You register by email, run a Perl script from a terminal, and read results as linked HTML pages. There is no dashboard, no LMS integration and no history across terms.
  • No support. It is a free research service. When the server is slow or down, there is no one to call.

Peer comparison has limits inside the batch too. What MOSS misses shows refactored copies it does not flag, side by side.

MOSS vs Codequiry

Stanford MOSSCodequiry
Compares students with each otherYesYes
Excludes starter codeYesYes
Checks GitHub, Stack Overflow and the webNoYes
Detects AI-generated codeNoYes
Compares with past termsNoYes
LanguagesAbout 2565+
How you use itPerl scriptWeb app, LMS, API, CLI
Results kept14 daysIn your account
CostFree for academic usePaid plans, free trial

Comparing more tools? MOSS vs Dolos vs JPlag covers the other free options.

Switching from MOSS

You do not have to change how you collect submissions. The same folder of files you send to MOSS works here.

  1. Create an assignment and pick the language. Add the starter code if there is any.
  2. Upload the submissions as a zip, one folder or file per student, or pull them from your LMS.
  3. Choose the checks. Peer comparison runs on every check. Add web sources and AI detection, or pick our independent winnowing engine for fingerprint-based peer comparison. Scores from different tools are not interchangeable.
  4. Read the results. Each student gets a score, and each match opens the two files side by side with the shared lines marked.

Run your last MOSS batch through Codequiry

Upload the same files and see what the web and AI checks add.

Start free trial

2-day free trial

When MOSS is still enough

MOSS is a fine choice for a small class, an assignment unique enough that no answer exists online, a course that allows AI, and an instructor comfortable in a terminal. If all four are true, keep using it.

If any of them is not, peer comparison alone will miss copies. That is the gap a code plagiarism checker with web and AI detection closes. For a one-off check without an account, the free checker compares files with each other at no cost.

Frequently asked questions

Is MOSS free?

Yes, for academic, non-commercial use. You register by email with Stanford, receive a submission script, and send files from the command line. Commercial use is not covered.

Does MOSS check GitHub or Stack Overflow?

No. MOSS only compares the files you send it with each other. A solution copied from the web is caught only if another student in the same batch copied the same solution.

Does MOSS detect AI-generated code?

No. MOSS has no AI classifier. Code written by ChatGPT, Claude, Gemini or Copilot passes unless two students handed in nearly the same generated answer.

How long do MOSS results last?

MOSS typically keeps results for 14 days, but may delete them earlier. Save the report if it is needed for a review.

Can Codequiry run a MOSS-style comparison?

Yes. Codequiry uses independently developed winnowing-based peer comparison alongside Hexagram and Zeus. It is separate from Stanford MOSS, and can add web and AI checks to the same report.

Can I exclude starter code, like the MOSS -b option?

Yes. Upload the starter or base code with the assignment and matches against it are left out, the same idea as MOSS's base file option.

Which languages are supported?

MOSS supports about 25 languages. Codequiry supports 65+, including Python, Java, C, C++, C#, JavaScript, TypeScript, Go, Rust, Kotlin, Swift, SQL and Jupyter notebooks.

Keep the peer check. Add the web and AI.

Upload a class's submissions and see which ones match classmates, the web or AI, with the lines side by side.

Start free trial

2-day free trial

Just one assignment? Run a single check

Tools and sources referenced on this page

Codequiry is compared with these tools above. Each link goes to the project's official site so you can check the claims yourself.

  • MOSS (Measure of Software Similarity) Stanford University, Alex Aiken

    Free academic similarity service from 1994 that fingerprints code with winnowing and reports matching passages between submissions.

  • JPlag Karlsruhe Institute of Technology, open source

    Open-source token-based detector that compares programs with Greedy String Tiling and produces a similarity report per pair.

  • Dolos Ghent University, open source

    Open-source similarity tool built on tree-sitter parsing, with a web interface for exploring clusters of related submissions.

  • Winnowing: Local Algorithms for Document Fingerprinting Schleimer, Wilkerson and Aiken, SIGMOD 2003

    The paper that defines the fingerprinting algorithm MOSS is built on, and the reference point for every "winnowing-based" detector.

Topic index

Explore Codequiry's code plagiarism detection toolkit

Dig deeper into the most accurate source-code plagiarism checker on the market, every language, every detection engine, every academic-integrity use case.