AnyFact
AI Content Detection · Detector 06Open in beta

AI Code Detector

Estimate whether source code was written by an AI assistant.

Paste at least 30 lines of code. A code-specialised open-source model measures how predictable each function is, and suspicious functions are highlighted. This is the least reliable detector: use it as a conversation starter, never as proof.

1 credit per analysis
Files deleted after 30 days
An indication, not proof

AI Code Detector

1 credit

The verdict you get

Probably human
Uncertain
Probably AI

Never a bare percentage: each verdict comes with a short explanation and the limits of the method.

What we look at

Fast-DetectGPT method
Qwen2.5-Coder
Claude (code style review)

Free plan · 10 credits a month · No credit card

How it works
01

Paste the code

At least 30 lines; Python, JavaScript, TypeScript, Java, PHP, C/C++ and more.

02

Function-by-function scoring

Each function gets its own score and style cues are listed.

03

A verdict in three levels

Probably human, uncertain or probably AI — never a bare percentage — with a short explanation and the limits of the method.

Use cases

When to use the AI Code Detector

A take-home coding test looks unusually polished

See which functions look generated before the interview.

A programming school reviews assignments

Get an indication to discuss with the student — never a sanction on its own.

Methods and models
Fast-DetectGPT method
Qwen2.5-Coder
Claude (code style review)

We name our methods because a verdict should be explainable.

In your result

BetaSuspicious functionsStyle cues

A result is an indication, not proof. Detectors can be wrong, especially on compressed, edited or very short content. Only submit content you have the right to share. If you think a verdict is wrong, tell us from the result page.

Other detectors

Estimate whether source code was written by an AI assistant.

Free plan: 10 credits every month. No credit card required.

Files deleted after 30 days
Verdict explained in plain words
An indication, not proof