Free · Private · Zero-shot

Detect AI writing.
Free, private, unlimited.

The highest-scoring zero-shot AI detector on RAID, the largest public benchmark for AI-text detection. It runs on your own computer: no account, no word limit, and your text never leaves your device.

92.33% on RAID #1 zero-shot detector $0 forever

Try a sample

Saved results from the app. Install it free to scan your own text.
Pick a sample and press Scan.

Accuracy

Proven on the largest public benchmark.

RAID tests detectors on 672,000 texts from 11 AI models, 8 kinds of writing and 11 attack types. Detect Law was scored by RAID's official evaluation.

92.33%of AI text caught while flagging only 5% of human text
88.99%including 11 kinds of adversarial attacks
86.54%at a strict 1% false-positive rate
0.22%of human texts wrongly flagged in our tests

#1 among zero-shot detectors

AI text caught at 5% false positives, no attacks.
Detect Law
92.33
Binoculars
78.98
GLTR
59.69
LLMDet
33.40

Strong on every kind of writing

AI text caught at 5% false positives, no attacks. Ahead of Binoculars in all 8.
95.0Books
94.8Reviews
94.4Wikipedia
92.1Reddit
92.0News
91.3Recipes
89.8Abstracts
89.4Poetry

Hard to fool

AI text caught under RAID's attacks, at 5% false positives. Hidden characters, look-alike letters and spacing tricks are cleaned before every check.
Look-alike letters (homoglyphs)92.3%Binoculars 36.1%
Synonym swaps80.8%Binoculars 42.1%
Extra whitespace92.3%Binoculars 68.7%
Paraphrasing, the hardest attack76.6%Binoculars not tested

Near-perfect on chat models

Catches 99.6–100% of text from chat-tuned models (Llama 2 chat, ChatGPT, Mistral chat) at 5% false positives, with no training on AI text. AI text caught by the model that wrote it, no attacks.
Llama 2 chat
100.0
ChatGPT
99.8
Mistral chat
99.6
MPT chat
99.5
GPT-4
98.2
GPT-3
95.2
Cohere chat
89.3
GPT-2
88.3
MPT
83.1
Mistral
82.3
Cohere
81.8
Base models with random sampling are harder to detect. RAID's models date from 2023.

Official results from RAID's evaluation service, 8 October 2026 (submission); listed on the RAID leaderboard once merged. Trained commercial detectors score higher on RAID. Detect Law is the top detector that needs no training on AI text.

Use cases

Built for people who read a lot of text.

Educators

Screen essays and assignments on your own laptop. Student work never leaves your computer.

Editors and publishers

Check submissions before you publish. Drop in a .docx or .pdf and get an answer in seconds.

Content and SEO teams

Audit content at any volume for free. One GPU checks about 7 thousand-word documents per second.

Developers

An HTTP API and an MCP server come built in. Add AI detection to your app or your AI assistant.

How to use it

Three steps. Seconds per check.

Install it free

One command on a Mac, Windows or Linux computer. No account, no credit card.

Paste or drop a file

Paste any text, or drop a .txt, .md, .docx or .pdf file into the app.

Get a clear verdict

A plain answer in seconds, not a made-up percentage.

AI evidence

The text shows statistical evidence of AI writing. Send it to a person for review.

No evidence

The text was checked and an AI-sized effect was ruled out. Not proof of human authorship.

Undecided

No significant AI evidence, but not enough to rule it out. Most human writing ends here.

Features

Everything you need. Nothing you pay for.

Private by design

Runs entirely on your computer. Nothing is uploaded, ever.

Free and unlimited

No account, no word limit, no daily cap, no trial that runs out.

Fast

About 2 seconds for a 1,000-word document on a laptop. It stops as soon as it's sure.

Careful with people

Wrongly flagged 0.22% of human texts in our tests, about 1 in 450.

Hard to fool

Hidden characters, look-alike letters and spacing tricks are cleaned before checking.

Works where you work

Web app, command line, HTTP API, and an MCP server for Claude and other assistants.

Reads your files

Plain text, Markdown, Word and PDF, with reference lists skipped automatically.

Works offline

After a one-time download, no internet connection is needed.

Pricing

Free. Not a free trial.

Detect Law runs on your own hardware, so there is nothing to meter and nothing to pay.

Everything included

Detect Law

$0 / forever
  • Unlimited words and documents
  • Web app, command line, API and MCP server
  • Your text stays on your device
  • Works offline
  • No account, no credit card
Get it free

What 1,000 words cost elsewhere

Detectorper 1,000 words
Pangram$0.50
GPTZero$0.09–0.15
Originality.ai$0.09–0.12
Winston AI$0.05–0.10
Sapling$0.015–0.03
Detect Law$0
Published list prices, checked 6 October 2026. Those services score higher on RAID and send your text to their servers.

The film

Check any text. Zero-shot.

Get started

One command. Then it's yours.

You get the app, a command line tool, an HTTP API and an MCP server. The first run downloads about 5 GB once.

1. Install

pip install "git+https://github.com/devkancheti4-design/detect-law"
MacApple silicon, runs on the built-in GPU
Windows and LinuxNVIDIA GPU if present, otherwise CPU
NeedsPython 3.10+ and a C compiler

2. Open the app

detect-law-server

Then open 127.0.0.1:8765 in your browser. Paste text or drop a file.

Or check files from the terminal

detect-law essay.docx report.pdf

Or call the API

curl -s 127.0.0.1:8765/v1/detect -H 'content-type: application/json' -d '{"text": "Paste the essay here"}'

Add it to Claude and other AI assistants

claude mcp add detect-law -- uvx --from git+https://github.com/devkancheti4-design/detect-law detect-law-mcp
check_textcheck_fileabout_detect_law

The check still runs on your computer.

FAQ

Questions, answered.

Is Detect Law really free?

Yes. It runs on your own computer, so there is no server cost to pass on: no account, no credit card, no word limit and no trial period.

Is my text private?

Yes. Every check runs locally, and nothing you check is uploaded or stored anywhere else. After the one-time download it works offline.

How accurate is it?

On RAID's official test of 672,000 texts it caught 92.33% of AI-written text while flagging 5% of human text, 88.99% including adversarial attacks, and 86.54% at a strict 1% false-positive rate. That is the highest score of any zero-shot detector on RAID. Trained commercial detectors score higher on RAID; Detect Law needs no training on AI text and costs nothing.

Which AI models can it detect?

On RAID it was tested on text from ChatGPT, GPT-4, GPT-3, GPT-2, Llama chat, Mistral, MPT and Cohere models, catching 82% to 100% depending on the model. Text from chat models (Llama 2 chat, ChatGPT, Mistral chat) was caught 99.6–100% of the time. Newer frontier models are harder to detect in short texts; longer documents give much stronger evidence.

What do the three verdicts mean?

AI evidence: the text shows statistical evidence of AI writing. No evidence: an AI-sized effect was ruled out. Undecided: no significant evidence either way, which is where most human writing ends up.

Can a verdict prove someone used AI?

No. A verdict is statistical evidence, not proof, and a small share of human texts are flagged (0.22% in our tests, more for poetry). Use it to decide what a person should read closely, never to penalise anyone automatically. Human writing heavily polished by an AI tool can also be flagged.

Does it work on paraphrased text?

Partly. Paraphrasing is the hardest attack: Detect Law caught 76.6% of paraphrased AI text on RAID, and paraphrased text is often marked Undecided.

Which languages does it support?

English.

How long should a text be?

200 words or more works best. Very short texts are often Undecided, and longer documents give stronger evidence.

What do I need to run it?

An Apple silicon Mac, or a Windows or Linux computer with Python 3.10+ and a C compiler. An NVIDIA GPU makes it faster but is optional. The first run downloads about 5 GB.

Start checking text in a minute.

Free forever. Private by design.