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

MOSS

theory.stanford.edu

  • Free plan
  • Linux
  • Web

What MOSS is

MOSS is a free service that measures program similarity, primarily for detecting possible plagiarism in programming classes. It compares submitted files and returns HTML pages pairing similar programs with matching passages highlighted. Expected shared code, such as libraries or instructor-provided code, can be excluded from comparisons. MOSS analyzes 24 listed languages, including C, C++, Java, C#, Python, JavaScript, Haskell, and Matlab. Anyone may request an account by emailing the specified registration message to [email protected]. Use is non-commercial and limited to 100 submissions per day per user. MOSS identifies similar code but cannot explain why programs match or decide whether plagiarism occurred, so a person must review the passages. Submitted code may appear in results accessible to anyone holding the result URL. Stanford says URLs are sent only to submitters, use random integers, and are not browsable or indexed by robots. Results usually disappear after 14 days, sometimes sooner when disk space is constrained.

Who it suits

MOSS suits instructors and others comparing student programs for possible similarity in non-commercial settings. It is intended for users who can review highlighted matches themselves.

Good to know, and what to watch

  • Free for non-commercial use
  • Supports 24 programming languages
  • Highlights matching passages in HTML
  • Can exclude shared libraries or instructor code
  • 100 submissions per day per user
  • Requires human interpretation of matches
  • Non-commercial use only
  • Results URLs can expose submitted code
  • Results are usually deleted after 14 days

Free

Free

Free plan

The verdict

MOSS offers straightforward code-similarity reports across many languages at no charge. Treat its output as review material rather than a plagiarism decision, and consider the URL-based result access when submitting code.

What the maker publishes

Commercial use
MOSS is for non-commercial use; the page directs people interested in commercial use to Similix Corporation. source
Community integrations
Community-contributed interfaces and clients include a Node.js package implementing the MOSS socket protocol, AutoMoss web UI, and Nim, Python, OCaml, Common Lisp, Java, and PHP tools. source
Confidentiality
Submitted code appears in results accessible to anyone with the result URL; Stanford says the URL is sent only to the submitter, contains a random integer, and the results directory cannot be browsed or indexed by robots. source
Founded
1994 source
Human review
MOSS identifies similar code but cannot determine why programs are similar, so a person must review highlighted passages before deciding whether plagiarism occurred. source
Languages
It analyzes C, C++, Java, C#, Python, Visual Basic, JavaScript, FORTRAN, ML, Haskell, Lisp, Scheme, Pascal, Modula2, Ada, Perl, TCL, Matlab, VHDL, Verilog, Spice, MIPS assembly, a8086 assembly, and HCL2. source
Purpose
MOSS automatically measures program similarity and has primarily been used to detect plagiarism in programming classes. source
Results
The service returns HTML pages showing pairs of similar programs and highlights matching passages. source
Retention
Results are typically deleted after 14 days and may be deleted earlier when server disk space is constrained. source
Shared code
MOSS can exclude matches to expected shared code, such as libraries or instructor-supplied code. source
Submission limit
The submission limit is 100 submissions per day per user. source
Support and availability
The page says connection or results delays can indicate server overload and advises users to try again later. source
Who can use it
Anyone may obtain an account by emailing the specified registration message to [email protected]. source

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