Can an AI actually tell if AI wrote something?
More and more teachers and schools use "AI detector" tools: you paste in a piece of writing, and the tool spits out a guess like "78% likely AI-generated." It sounds like a lie detector for essays — confident, precise, almost scientific.
It isn't. This page is going to show you exactly how these tools try to make that guess, using real signals researchers actually study. And then it's going to show you, with a simulator you control yourself, why that guess is a lot shakier than the confident-looking percentage makes it seem — for students who used AI, and just as often for students who never touched it.
The goal here isn't to teach you how to "beat" a detector, and it isn't to scare you into thinking every essay is at risk of a false accusation. It's to leave you with an honest, accurate picture of what these tools can and can't actually do, so you can think clearly about them instead of just trusting the number on the screen.
How AI detectors actually guess
An AI detector isn't reading anyone's mind, and it isn't checking your paper against some master list of "sentences AI has written before." What it's actually doing is running your text through a language model and measuring statistical patterns in how the words are arranged. Two patterns come up again and again:
Perplexity
A measure of how "surprising" your word choices are to a language model. AI systems tend to pick the most statistically likely next word over and over, so AI text often reads as unusually smooth and predictable — low perplexity. Human writing tends to make more unexpected, idiosyncratic choices — higher perplexity.
Burstiness
A measure of how much sentence length and rhythm vary across a piece of writing. Human writing tends to be "bursty": a short punchy sentence, then a long winding one, then another short one. AI-generated text is often more uniform, with sentences that land in a narrower length range.
These are patterns, not proof. A detector is making an educated statistical guess based on writing style — the same way you might guess someone's mood from their tone of voice. It's a real signal, but it's a guess, and guesses can be wrong.
Try a simplified detector simulator
Below is a small tool that runs one honest, simplified version of these signals — written in plain JavaScript, right here on this page. It does not call any AI model or real detector; it just measures actual sentence-length variation (a stand-in for burstiness) and actual word repetition (a stand-in for perplexity) in the sample you pick, the same way a real detector measures those things at a much larger scale.
Pick a sample. See the guess. Then reveal what the text actually is — and notice that the simulator doesn't always get it right.
Choose one of the five short writing samples below to analyze it.
—
If you tried all five samples, you probably saw the simulator get at least a couple of them backwards — calling real human writing "likely AI," or calling real AI writing "likely human." A commercial detector is far more sophisticated than this simplified demo, but it's built on the same basic idea: statistical patterns in style. That's exactly why even much better detectors still make both kinds of mistakes in the real world.
Why detectors get it wrong
The mistakes you just saw in the simulator aren't random glitches. They point to real, well-documented limitations of AI detection in general:
False positives on non-native English writers
Someone still building fluency in English often writes shorter, more uniform sentences. That natural style can look statistically similar to AI text, even though a real person wrote every word.
False positives on neurodivergent writers
Writers whose natural style is very structured, formal, or repetitive — which can be common for some neurodivergent writers — can trigger the same "too uniform" pattern a detector associates with AI.
False positives on simple or formulaic writing
A plain, formulaic five-paragraph essay, or a younger student's short, direct sentences, can look "too consistent" to a detector — even though writing simply isn't the same as writing dishonestly.
False negatives on edited AI text
Lightly editing, paraphrasing, or running AI text through a "humanizer" tool can break up the uniform rhythm detectors look for, letting AI-generated writing slip through as "likely human."
A probability treated like a verdict
Every detector output is a confidence score, not a certainty — the tools themselves generally say so. But a score like "92% likely AI" can get treated by a school as if it were definitive proof, when it's really just a stronger-than-usual guess.
What this means for you as a student
None of this means detectors are useless, and it doesn't mean you should try to "trick" one — that's a losing game, since the tools keep changing and a false sense that you've beaten one can backfire badly. What it does mean is that being falsely flagged is a real, documented risk, alongside the very real fact that AI-written work can slip through undetected. Here's how to protect yourself either way:
- Keep your process, not just your final draft. Save drafts, notes, and outlines for important assignments. If you write in Google Docs, its version history quietly keeps a record of your work as you build it — real evidence of your own process if a false accusation ever comes up.
- Know the difference between AI helping you think and AI thinking for you. Using AI to brainstorm ideas, get unstuck, or check your grammar after you've written a full draft is a very different thing from having it write your work for you. That difference matters far more than whether a detector notices anything.
- Be honest and transparent with your teacher about how you used AI, when that's allowed. Explaining your process protects you far better than hoping a detector won't flag you — because these tools are unreliable in both directions, and the safest position is one where you don't need a detector's guess to vouch for you at all.
Want the fuller picture? This page focused on detection. For a practical framework on when using AI on homework is genuinely okay versus when it crosses the line, see Can You Use AI for Homework?
Check your understanding
A detector says a paper is "92% likely AI-generated." Explain in your own words why that number is not the same thing as proof.
Your answer:
Sample answer: That 92% is a probability based on statistical writing-style patterns, like predictable word choices and uniform sentence lengths — not a confirmed fact and not a record of the AI company actually generating that exact paper. Those patterns can show up in real human writing too, especially from non-native English speakers, neurodivergent writers, or anyone writing in a plain, formal, or formulaic style. And the same patterns can be missing from genuinely AI-written text that's been lightly edited. So a high percentage means "this looks statistically similar to AI text," not "this was definitely written by AI" — treating it as proof risks punishing an honest student while still missing edited AI text elsewhere.
Quick quiz
1. Which pattern makes a detector more likely to flag text as "AI-like"?
2. Why might a detector wrongly flag a non-native English speaker's own writing as "likely AI"?
3. A detector says a paper is "92% likely AI-generated." What's the most accurate way to treat that number?
Keep learning about responsible AI
Now that you know how detection actually works and where it falls short, the next tutorial in this series looks at another everyday AI system you probably use without thinking about it: voice assistants.
Part of the "Responsible AI & Safety" tutorial series.