How does AI Chat Archive handle Claude Artifacts?

Short answer: Artifacts are exported inline in the transcript, with full fidelity for code, SVG, and HTML. Earlier versions of rewritten artifacts are preserved in a collapsible appendix.

Claude Artifacts are the "standalone outputs" Claude generates — a React component, an SVG diagram, a Markdown document, an HTML page — displayed in Claude's right-side panel. Because artifacts are first-class deliverables, AI Chat Archive treats them specifically, not as plain message content.

What you get, by format

Markdown export (.md)

Each artifact becomes a titled fenced code block:

**Artifact: Login form (React)**

```jsx
export function LoginForm() {
  return <form>…</form>;
}
```

The language tag comes from Claude's artifact_type field. Supported:

Claude artifact type Markdown language tag
application/vnd.ant.code The code's own language (javascript, python, …)
text/markdown markdown
text/html html
image/svg+xml svg
application/vnd.ant.react jsx
application/vnd.ant.mermaid mermaid

HTML export (.html)

Artifacts render in a styled panel with the artifact title, type icon, and the artifact body:

PDF export (.pdf)

PDF is produced by feeding the HTML export to Chrome's print pipeline, so artifacts render exactly as they do in HTML — with one caveat: interactive HTML widgets are frozen at their initial state (PDF is static).

JSON export (.json)

The full Claude API response, unmodified. Artifact blocks appear as:

{
  "type": "tool_use",
  "name": "artifacts",
  "input": {
    "command": "create",
    "id": "login-form",
    "type": "application/vnd.ant.react",
    "title": "Login form",
    "content": "export function LoginForm() { ... }"
  }
}

Use this if you're building a downstream tool that needs the raw structure.

Multiple versions of the same artifact

When you ask Claude to rewrite an artifact ("add email validation", "make it dark mode"), Claude creates new versions of the same artifact ID.

AI Chat Archive shows the final version inline in the conversation, then appends a version appendix at the end of the file:

---

## Artifact history

### Login form — earlier versions

- [v1](#artifact-login-form-v1) — Initial draft
- [v2](#artifact-login-form-v2) — Added email validation
- v3 — (final, inline in Turn 5)

Each entry links to an in-file anchor where the full earlier version is preserved. This preserves round-trip fidelity (you can reconstruct any version from the export) without cluttering the conversation flow with duplicates.

present_files — files Claude generates mid-conversation

Distinct from artifacts, present_files are downloadable files Claude generates during the conversation (e.g., an Excel file from a code-interpreter session).

Widgets (show_widget)

Claude's show_widget tool calls — the inline SVG illustrations and HTML interactive widgets produced by the visualize skill — are always exported (regardless of the "include artifacts" toggle), because they're user-visible creative output rather than internal scaffolding.

What's not included

Related