Chat Export Cleaner
Paste a conversation copied from ChatGPT, Claude, or any AI chat and turn it into clean markdown or a JSON messages array. Handles "You said:" / "ChatGPT said:" and "Human:" / "Assistant:" markers automatically, with a manual fallback for plain text.
How detection works: the cleaner looks for role marker lines like "You said:", "ChatGPT said:", "Claude said:", "Human:", "Assistant:", "User:", "AI:", and "Me:". Everything between two markers belongs to the previous speaker. If no markers are found it falls back to treating blank-line separated blocks as alternating turns, using the first-speaker dropdown you choose. The JSON output uses the standard
{"role": "user" | "assistant", "content": "..."} shape used by the OpenAI and Anthropic APIs, so it can go straight into code. Everything runs locally; your conversation never leaves the browser.