Chat Transcript Cleaner
Strip roles and timestamps from chat logs.
About this tool
Paste a copied chat log and get only the messages: leading [HH:MM] or [HH:MM:SS] timestamps and role labels like User:, Assistant:, Human:, AI:, System:, ChatGPT: and Claude: are removed from the start of each line. Extra blank lines are collapsed.
How to use
How it works
Each line is checked from the left: first an optional timestamp such as 10:02 or [10:02:15], then an optional role word followed by a colon, hyphen or en dash. What remains is kept. Three or more consecutive newlines are reduced to two. Lines with no timestamp or role are left alone.
Worked example
A short exchange
- Input
- [10:02] User: What is a token? [10:03] Assistant: A chunk of text. Human - thanks
- Output
- What is a token? A chunk of text. thanks
- Walkthrough
- The timestamps and the User:, Assistant: and Human - prefixes are stripped, and the three blank lines become one.
Limitations
- Only the listed role words are removed (user, assistant, system, human, ai, chatgpt, claude). Real names like Alice: stay.
- A timestamp must be at the start of the line. Timestamps in the middle are kept.
- It does not merge or reorder messages, and the speaker information is lost.
Questions
How do I remove timestamps from a chat log?
Which role labels does it remove?
Can I keep who said what?
Is my chat uploaded?
Features
- Strips timestamps
- Removes role prefixes
- Collapses blank lines
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Machine Learning for Everybody
freeCodeCamp.org
Accessible ML survey for AI calculator and metric tools.
Watch on YouTubeVectors | Essence of linear algebra
3Blue1Brown
Embeddings and vectors start with linear algebra intuition.
Watch on YouTube
- Hugging Face docs
Hugging Face
Model hub docs next to tokenizer and embedding helpers.
- OpenAI Research
OpenAI
Research notes for people exploring AI tooling trends.