> ## Documentation Index
> Fetch the complete documentation index at: https://getchatcache.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Export ChatGPT conversations to HTML or plain text

> Export ChatGPT as a self-contained HTML file for web viewing, or as a plain TXT file for archiving — both formats processed locally in your browser.

ChatCache offers two text-based export formats beyond Markdown: HTML and TXT. HTML keeps the visual structure of the conversation intact so it renders correctly in any browser. TXT strips all formatting and gives you clean, minimal plain text. Both formats are processed entirely in your browser with no data sent to any server.

**HTML**

## HTML export

HTML export produces a self-contained `.html` file that opens directly in any browser. It preserves the visual structure of the conversation — code blocks, tables, and images appear as they do in ChatGPT.

### What HTML export preserves

* Visual layout and conversation structure
* Code blocks with syntax highlighting
* Tables with headers and alignment
* Images — DALL-E outputs, uploads, and inline graphics
* Bold, italic, and other inline formatting

### Use cases

* **Web viewing** — open the file in a browser and read it like a webpage
* **Sharing** — send the `.html` file to someone who doesn't have ChatGPT access
* **Archiving** — store a self-contained snapshot of the conversation that renders without any dependencies
* **Embedding** — include the file in a web project or internal documentation site

### Processing

HTML export runs entirely in your browser. No data leaves your device.

**TXT**

## TXT export

TXT export produces a plain `.txt` file with minimal formatting. It contains the raw text of the conversation without any markup, styling, or embedded assets.

### What TXT export includes

* All message text from the conversation
* Speaker labels (user and assistant turns)
* Minimal structural separation between messages

### What TXT export omits

* Syntax highlighting and code block wrappers
* Table structure
* Images
* Bold, italic, and other inline formatting

### Use cases

* **Plain-text archiving** — store conversations in the most universally readable format
* **Importing into other tools** — paste or import plain text into note-taking apps, word processors, or custom scripts
* **Search and indexing** — plain text is easy to grep, index, or feed into text processing pipelines

### Processing

TXT export runs entirely in your browser. No data leaves your device.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.