← Reddit

Wrote a CLI tool for Claude to use to read my old ChatGPT conversations

Reddit · PrimaryLonely5322 · April 27, 2026
A developer created a CLI tool called chatparser to enable Claude to access and parse archived ChatGPT conversations from data exports. The tool was written with assistance from Claude Code and is available on GitHub for others to use.

Detailed Analysis

A developer known as squirtymcgirt has published an open-source CLI tool called **chatparser** on GitHub, designed to parse ChatGPT data exports into a format readable by Claude — specifically through Claude Code. The tool addresses a practical friction point: when users migrate from OpenAI's ChatGPT to Anthropic's Claude, they can export their conversation history as a ZIP file containing structured JSON, but that raw format is not readily consumable by Claude in any native or convenient way. The developer built chatparser after sitting on their exported data for some time, crediting Claude Code's recent capability improvements as the catalyst that finally made the project feel tractable to complete in a single session.

The significance of this tool lies in the growing reality of AI platform switching. As Claude has matured — particularly with the release of Claude Code and improvements to long-context reasoning — a measurable cohort of power users has begun migrating away from ChatGPT, treating their historical conversations as a meaningful personal knowledge asset they do not want to abandon. ChatGPT exports contain rich, structured data: conversation titles, timestamps, and full message threads. Without tooling like chatparser, that data sits inert, inaccessible to Claude in any semantically useful way. The tool effectively creates a bridge, allowing Claude to surface past reasoning, decisions, and research threads that a user accumulated over potentially years of ChatGPT usage.

The broader landscape of solutions for this problem has been fragmented and largely manual. Existing approaches include uploading export ZIPs to Claude Desktop's Cowork sessions with elaborate prompting instructions, or using small scripts built around command-line JSON processors like `jq` to convert conversations into Markdown files that can then be ingested into Claude Projects. Third-party tools such as the Claude Conversation Extractor and Claude Chat Manager address history management for Claude's *own* logs — stored in `~/.claude/projects/` as JSONL files — but none were purpose-built for the inbound ChatGPT migration use case. Chatparser occupies a genuine gap in this ecosystem by targeting the specific JSON schema of OpenAI's export format.

This development is a small but telling indicator of a larger competitive dynamic in the AI assistant market. The existence of community-built migration tooling historically signals meaningful platform churn — the kind of user investment that compels developers to write and publish utilities rather than simply abandon old data. The fact that the author explicitly credits Claude Code's improvement as the enabling factor also points to a recursive quality: Claude Code has become capable enough that users are now employing it to build tools that deepen their own reliance on Claude. That feedback loop — where Claude's coding assistant capabilities lower the barrier to building Claude-adjacent infrastructure — mirrors how mature developer ecosystems tend to grow, with tooling begetting more tooling. Whether chatparser gains broad adoption will depend on its robustness against ChatGPT's evolving export schema, but its existence reflects a community actively investing in Claude as a long-term platform rather than a transient experiment.

Read original article →