Chat Transcript Cleaner

Strip roles and timestamps from chat logs.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

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

1
Step 1
Paste the transcript.
2
Step 2
Press Run.
3
Step 3
Copy the cleaned text.

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?
Paste it and press Run. Leading [HH:MM] stamps are removed.
Which role labels does it remove?
user, assistant, system, human, ai, chatgpt and claude, in any case.
Can I keep who said what?
No; the labels are deleted. Keep a copy of the original.
Is my chat uploaded?
No, the clean-up runs in your browser.

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 YouTube
  • Vectors | Essence of linear algebra

    3Blue1Brown

    Embeddings and vectors start with linear algebra intuition.

    Watch on YouTube