Free AI code detector for any snippet
Paste a snippet and get a rough read on whether AI wrote it. Free and private, with an honest caveat: code is harder to call than prose.
Check your textHow to read your AI detector score
The AI detector gives you a single number from 0 to 100. It is the estimated chance that AI wrote the text, not a yes or no. Here is what each band means.
Probably a person
Reads like human writing. We did not pick up the patterns a model tends to leave behind.
Hard to say
Some of it leans one way, some the other. Read it yourself before you draw a conclusion.
Probably AI
This has the marks of machine-written text. Read it closely before you conclude anything.
How the AI code detector works
Three steps, a few seconds, no setup.
Add your text
Paste it, upload a Word or PDF file, or drop in a link to the page you want to check.
We check the patterns
The model weighs the text against the patterns of AI writing and human writing, including comments and structure.
Read the score
You get a number from 0 to 100 and a plain read on how likely AI was involved.
Why code is harder than prose
Code has far less stylistic room than writing. Two people solving the same problem often produce nearly identical code, and AI assistants are trained on the same public repositories everyone learns from. That overlap makes a confident call much harder than it is with an essay. Be upfront with yourself about that before reading too much into a score.
What helps the read
Comments, docstrings, commit messages and variable naming carry more signal than the logic itself, because that is where a model's writing habits show. A snippet with rich comments gives a steadier read than a few bare lines. Short snippets are close to a coin flip.
How to read the score
Use it as a soft hint, never as evidence. A high score is worth a closer look at how the code was produced, but plenty of human code will score high and plenty of AI code will score low. For anything that matters, ask about the author's process instead.
Where your code goes
The check happens in memory on our own server. As soon as you have a score, your code is dropped. No logs, no database, no training set.
There is no account holding a history of your checks either.
AI code detector FAQ
Is the AI code detector free?
Yes. Check as many snippets as you like, with no account.
How accurate is it on code?
Less accurate than on prose. Code leaves less stylistic signal, so treat the score as a rough hint.
Does it detect GitHub Copilot or ChatGPT code?
It can lean the right way, especially with comments present, but it cannot reliably name the tool.
Should I act on the result?
No, not on its own. Use it as a prompt to ask about how the code was written.
What gives the best read?
A longer snippet with comments and docstrings. Bare one-liners are close to guessing.