PulseAugur
EN
LIVE 17:59:08

Claude Code stores and purges chat history locally on Windows

Claude Code, a tool for developers, stores chat transcripts and file history locally on Windows. Transcripts are saved as JSONL files within project-specific folders, and file history is kept in a separate directory. By default, Claude Code automatically deletes sessions older than 30 days, but this retention period can be customized. Users can manually purge project data using the `claude purge` command, which can be used with a `--dry-run` option to preview deletions before execution. AI

IMPACT Provides guidance on managing local storage for AI coding assistants, relevant for developers concerned with data footprint.

RANK_REASON Article details the local storage and management of chat history for a specific developer tool.

Read on dev.to — Claude Code tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Claude Code stores and purges chat history locally on Windows

How we ranked this

Signal score
23 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Article details the local storage and management of chat history for a specific developer tool.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · RIGSWEEP.COM ·

    Claude Code chat history on Windows: where it's stored and how to clean it

    <p><strong>Claude Code saves every session as a <code>.jsonl</code> transcript in <code>%USERPROFILE%\.claude\projects</code>, one folder per project, and keeps copies of the files it edits in <code>%USERPROFILE%\.claude\file-history</code>.</strong> It deletes sessions older tha…