ChatGPTJSONExport

How to export a ChatGPT conversation to JSON

Step-by-step guide to exporting any ChatGPT conversation to clean, structured JSON with the free ConvoVault browser extension. Works locally in your browser — nothing is uploaded.

ConvoVault Contributors

ConvoVault is a free, privacy-first browser extension that exports any ChatGPT conversation to clean, structured JSON in one click. The export runs entirely in your browser, so nothing is uploaded to a server, and the resulting file is ready for scripts, agents, or a local archive.

The short answer

Install ConvoVault, open the ChatGPT conversation you want to save, and click the export button added to the toolbar. Pick JSON as the format, choose which messages and metadata fields to include, then copy the result to your clipboard or download it as a date-stamped file. The whole process takes a few seconds and stays on your device.

Step-by-step: export a ChatGPT conversation to JSON

  1. Install ConvoVault. Add the extension to Chrome or any Chromium browser from the store. There is no account and no setup wizard.
  2. Open the conversation. Go to chatgpt.com and open any chat. An export button appears in the conversation toolbar.
  3. Click export. This opens the export panel, where you choose the format and fields.
  4. Choose JSON. Select JSON for structured output, or pick Markdown / plain text if you prefer. Toggle which metadata fields to include.
  5. Copy or download. Copy the JSON to your clipboard, or download it as conversation_2026-07-14.json.

What the exported JSON looks like

Each message becomes an object with a role and text, and the file includes the conversation title and source platform. You control which optional fields are included.

{
  "title": "Refactoring a React component",
  "source": "ChatGPT",
  "exportedAt": "2026-07-14T18:42:00Z",
  "messages": [
    { "role": "user",      "text": "How do I split this component?", "timestamp": "..." },
    { "role": "assistant", "text": "You can extract the list into its own…",  "timestamp": "..." }
  ]
}

JSON vs Markdown vs plain text

  • JSON — structured and machine-readable. Best for scripts, agents, databases, and re-importing elsewhere.
  • Markdown — readable for notes, docs, and sharing the thread as text.
  • Plain text — universal and dependency-free.

For most developers and anyone building with AI, JSON is the right choice — it keeps the structure and roles intact.

How this compares to ChatGPT's built-in export

ChatGPT offers a built-in data export in Settings, but it is designed for account portability, not for grabbing a single conversation on demand.

ChatGPT built-in exportConvoVault
ScopeYour entire account historyOne conversation, on demand
DeliveryEmailed zip archiveInstant clipboard or download
Sign-in / emailRequiredNot required
Choose messagesNoYes — pick individual messages
Choose fieldsNoYes — toggle metadata fields
PrivacyProcessed server-sideLocal-only, in your browser

Keep only the messages you need

Not every message in a long thread is worth saving. ConvoVault adds a checkbox to each message so you can keep the answers that mattered and drop the dead-ends before exporting. Shift + click selects a range; Ctrl + click clears everything at once. See the features page for the full selection workflow.

Privacy

ConvoVault has no backend, no database, and no analytics. Exports are generated in your browser and never sent over the network. Read more in the privacy section or the privacy policy.

Frequently asked questions

  1. Can I export a ChatGPT conversation to JSON for free?
    Yes. ConvoVault is a free browser extension that exports ChatGPT conversations to JSON, Markdown, or plain text. There is no account, no paywall, and no usage limit. Install it, open a chat, and click export.
  2. Does exporting ChatGPT conversations send my data to a server?
    No. ConvoVault is local-only. Every export is processed inside your browser tab and the JSON is generated on your device. There is no backend, no database, and no analytics. Your conversations never leave your computer.
  3. What is included in the exported JSON?
    The JSON contains each message's role (user or assistant), text, timestamp, the conversation title, and the source platform. You can toggle optional fields like the page URL, export date, and message timestamp before exporting.
  4. How is this different from ChatGPT's built-in data export?
    ChatGPT's built-in export downloads your entire account history as one zip and requires an email. ConvoVault exports a single conversation on demand, in clean JSON, with no sign-in, no email, and no wait. You also pick which messages and fields to include.
  5. Can I export only part of a ChatGPT conversation?
    Yes. Each message has a checkbox so you can keep some messages and drop others before exporting. Use Shift + click to select a range, or Ctrl + click to clear all selections. Selections are remembered per thread.

Next

Related guides

← All guides

Keep the conversations worth keeping.

Add ConvoVault to your browser and your next export is one click away. Free, and nothing leaves your device.

Independent tool. Not affiliated with OpenAI, Google, xAI, or Anthropic.