How to View, Search, and Export ChatGPT History JSON to Markdown & HTML
1. Why Exporting ChatGPT History Matters
OpenAI allows all users to request an archive of their entire conversation history from Settings -> Data Controls -> Export Data. You receive a zip file containing conversations.json, which often spans hundreds of megabytes with nested message trees, model parameters, and timestamps. Opening this in standard text editors like VS Code or Notepad causes severe lag or browser freezing.
2. Inside the conversations.json Architecture
Each conversation in the export is stored as a directed acyclic graph (DAG) of message nodes. An entry contains:
mapping: A dictionary mapping message UUIDs to author roles (system, user, assistant, tool).current_node: The leaf pointer identifying the latest response in an edited or branched chat thread.create_time/update_time: Unix timestamps tracking exact interaction times.
3. Viewing and Exporting Without Cloud Uploads
Uploading your full ChatGPT export to random third-party cloud converters exposes private project prompts, internal company code, and personal queries. With client-side parsing, Web Workers process the JSON archive entirely in browser memory. You can filter by date, search message contents with instant debounce, and download selected chats as GitHub-flavored Markdown or formatted HTML documents.
Try the Free Tool on MafLabs
Run 100% in your browser. Fast, ad-free, and private with zero cloud data retention.
Open ChatGPT Export Viewer →