When you read a finished essay, you see the product. You don't see the hour of false starts behind it, the paragraph that was deleted, or the long pause before the conclusion. Keystroke logging records that hidden part. Every key press, deletion and pause is saved with a timestamp, so the writing process can be replayed and measured.
Writing researchers have used keystroke logging for years to study how people plan, draft and revise. Now the same idea is turning up in classrooms and workplaces as a way to show that a piece of writing was really written by the person who handed it in. This guide explains what keystroke logging is, what researchers measure with it, what a log can and can't tell you, and how to use one fairly.
What is keystroke logging?
Keystroke logging is a way of recording writing as it happens. Software saves every key press, deletion, cursor movement and paste, along with the exact time of each one. The result can be replayed like a video or analyzed for patterns, such as where writers pause, how long they type without stopping and how much they revise. In writing research, it's used to study the process behind a text rather than only the finished product.
How do researchers use keystroke logging?
Keystroke logging has a long history in writing research. One widely used research tool is Inputlog. In a 2013 paper in the journal Written Communication, Mariëlle Leijten and Luuk Van Waes described how it logs keyboard, mouse and speech data in Microsoft Word and other Windows programs, each with a time stamp in milliseconds.
With data like that, researchers can study questions that were hard to answer before.
Where do writers pause? Between words, sentences or paragraphs, and for how long.
How fluently do they write? How many characters they produce between pauses.
How do they revise? Whether they fix typos at once, rewrite sentences later or cut whole paragraphs.
How does writing differ? Between first and second language writers, between tasks, or between people with different levels of skill.
Pauses and bursts
Two terms come up again and again in this research. A pause is a gap between key presses longer than a chosen threshold. A burst is a stretch of typing between pauses. A 2025 scoping review in the Journal of Writing Research describes P-bursts as uninterrupted writing units marked off by pauses of a predefined length, for example 2 seconds.
Choosing that threshold isn't simple. In a study published online in 2022 in Reading and Writing, Hall, Baaijen and Galbraith analyzed keystroke logs from 32 students and concluded that the transitions between keystrokes can't be described by a single distribution of "cognitive" pauses. In plain terms, there's no one magic pause length that marks thinking. Different kinds of pauses do different jobs.

What researchers measure | What it can suggest |
|---|---|
Pause length and position | Where the writer stopped to plan or think |
Burst length | How fluently the writer produced text |
Deletions and insertions | How much and how the text was revised |
Typing speed and rhythm | How comfortable the writer is with the keyboard and the language |
Pastes and large insertions | Where text arrived in one go rather than being typed |
Session times | When and over how long the text was written |
What does a keystroke log actually show?
We made several test recordings with our own writing recorder, Prove You Wrote It, to see what a log reveals in practice. These are the results the recorder reported.
Test recording | What the report showed |
|---|---|
A short opinion piece. An outline typed first, typos fixed as they happened, one quote pasted and labelled, a sentence deleted and rewritten, the outline removed at the end | 1 session, 58 seconds of writing, 362 edits, 56 words. 82.8% typed, 17.2% pasted. All six checks passed |
A 31-word paragraph pasted in one go | 100% pasted, 0% typed |
The same paragraph typed by a script at exactly 80 milliseconds a key | 100% typed in 16 seconds. Typing rhythm flagged as unusually even |
The same paragraph typed by a script at 8 milliseconds a key | 100% typed in 2 seconds. Rhythm flagged as even, plus a burst faster than a person can type |
The first recording shows what ordinary drafting looks like in a log. A 56-word piece took 362 separate edits, because real writing is full of small corrections, deletions and restarts. The other three show the patterns a log makes easy to spot, such as a single large paste or the perfectly even timing of automated typing.

What can't a keystroke log tell you?
A log is detailed, but it has clear limits. It's worth knowing them before you rely on one.
It doesn't judge quality. A log shows how text was produced, not whether the argument is good.
It doesn't see where ideas came from. A writer can retype ideas from notes, a friend's suggestion or an AI tool. The log shows typing, not the source of the thinking.
Typing can be copied by hand. Someone could type out text from another screen. A careful log may show unusually smooth typing with few revisions, but that's a reason to talk, not proof.
People write differently. Some plan in their head and type cleanly. Others type fast and revise heavily. Neither is more honest.
Pastes can be legitimate. Quotes, references and a writer's own earlier notes are normal. That's why our recorder lets writers label each paste.
For these reasons, a log works best as evidence of process alongside other things, such as drafts, notes and a conversation about the work.
How is keystroke logging used in schools and workplaces?
Outside research, keystroke logs now help answer a practical question. Did this person write this text? Detector scores alone can't settle it, as we explain in our guide to how teachers check for AI. A record of the writing process can show the drafting, cutting and rewriting that human writing involves.
Australia's higher education regulator, TEQSA, published "Assessment Reform for the Age of Artificial Intelligence" in November 2023, encouraging universities to rethink how they assess learning now that AI tools are common. Approaches that look at the process of learning, not only the final product, fit that direction.
If you're a teacher, here's a fair way to use a writing record.
Tell students in advance. Say what will be recorded, why, and who will see it.
Make it routine. Ask for a writing record on all work, not only from students you're unsure about.
Read the report, then the replay. Look at the typed and pasted share and the key moments before watching the details.
Treat flags as questions. A large unlabelled paste or very even typing deserves a conversation, not a penalty.
Respect privacy. Choose tools that keep recordings on the student's device until they choose to share them.
Our Prove You Wrote It recorder keeps everything in the writer's browser. When they're ready, they share a proof file that opens with a replay, a report and six checks, including a seal that breaks if the file is edited.
How do you record your own writing?
If you want a record of your own process, for a class, a client or just your own peace of mind, it only takes a minute to start.
Open Prove You Wrote It and start typing. Recording starts with your first keystroke.
Write as you normally would. If you step away for two minutes, the recording pauses by itself.
Label anything you paste, such as a quote or your own notes.
Come back over several sessions if you need to. Each visit becomes a new session.
When you're done, download the proof file or a PDF report and send it with your work.
You can also use your document's built-in history as a lighter record. Our guide to version history in Google Docs and Word shows how. And if you'd like a quick check of how your finished text reads, try our free AI detector.
Frequently asked questions
What is keystroke logging in writing research?
It's a method for recording writing as it happens. Software saves each key press, deletion, paste and pause with a precise timestamp. Researchers then analyze the log to study how writers plan, pause, produce text in bursts and revise. Tools such as Inputlog log keyboard, mouse and speech data with millisecond timestamps for this purpose.
What is a P-burst in writing?
A P-burst is a stretch of continuous typing that ends with a pause longer than a set threshold. A 2025 scoping review in the Journal of Writing Research describes P-bursts as uninterrupted writing units marked off by pauses of a predefined length, giving 2 seconds as an example. The threshold a study picks changes how many bursts it finds.
Is keystroke logging the same as spyware?
No, when it's used openly for writing. Spyware records keystrokes secretly, often across all apps, to steal information. A writing recorder records only what you type in one writing space, with your knowledge, and lets you decide whether to share it. Always choose a tool that's clear about what it records and where the data is kept.
Can keystroke logging detect AI writing?
Not directly. A log can't tell where an idea came from. It can show patterns, such as a large paste, typing faster than a person can manage or perfectly even timing from a script. It also shows the drafting and revision that human writing usually involves. That makes it useful evidence of process, but not a detector.
What pause length do researchers use?
There's no single standard. Two seconds is a common example of a threshold for separating bursts, but researchers have argued that one threshold doesn't fit every kind of pause. A 2022 study of keystroke logs from 32 students concluded that the transitions between keystrokes can't be described by a single distribution of cognitive pauses.
How long has keystroke logging been used to study writing?
Writing researchers have used computer-based keystroke logging for many years, and dedicated tools such as Inputlog were built for the job. A 2013 overview in Written Communication described how the method is used to analyze and visualize writing processes. The same idea is now used in writing recorders for schools and workplaces.






Comments