Answer: By default, Claude Code stores transcripts as JSONL at `~/.claude/projects//.jsonl`, where `` is your working directory path with non-alphanumeric characters replaced by `-`. Status: Confirmed Entry: tool/claude-code/privacy-and-data/transcript-storage-location Revision: 4 Digest: sha256:09aef4dd9d43eb48 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:28:09Z Last changed: 2026-11-18T12:20:18Z (default retention: — → 30-day) Last verified: 2026-11-20T12:25:18Z Next check: 2026-11-21T12:25:18Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of storage location | ~/.claude/projects//.jsonl | | [1] | 2026-11-20 format | JSONL | | [1] | 2026-11-20 project name conversion | your working directory path with non-alphanumeric characters replaced by `-` | | [1] | 2026-11-20 name truncation limit | 200 characters | characters | [1] | 2026-11-20 default retention | 30-day | days | [1] | 2026-11-20 Sources: [1] Anthropic. "Manage sessions". https://code.claude.com/docs/en/sessions.md Role: primary. Accessed: 2026-11-20T12:25:18Z Quote: "By default, Claude Code stores transcripts as JSONL at `~/.claude/projects//.jsonl`" (Supports: storage location) Quote: "Claude Code stores transcripts as JSONL" (Supports: format) Quote: "where `` is your working directory path with non-alphanumeric characters replaced by `-`" (Supports: project name conversion) Quote: "Claude Code truncates the name to 200 characters and appends a hash of the full path" (Supports: name truncation limit) Quote: "Change the 30-day retention" (Supports: default retention) Published: 2026-11-20T02:54:19Z Snapshot SHA-256: aedb0e5e1a91e0ff098b7ea81bc825aa7be451eea083d94389d347b206ec8324 (captured 2026-11-20T12:25:17Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:25:18Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:25:18Z Last attempt: 2026-11-20T12:25:18Z Notes and limitations: Extracted automatically from a single official source (section "Where transcripts are stored"). Related: https://latestn.com/tool/claude-code/privacy-and-data/zdr-scope-coverage What data does Zero Data Retention cover in Claude Code? https://latestn.com/tool/claude-code/settings/accessibility-settings What accessibility settings does Claude Code offer for screen magnifiers, reduced motion, and colorblind-friendly themes? https://latestn.com/tool/claude-code/settings/action-parameters What action parameters can I configure for Claude Code GitHub Actions? https://latestn.com/tool/claude-code/privacy-and-data/manage-local-session-data-hipaa How do I manage or delete local session data for Claude Code under HIPAA? https://latestn.com/tool/claude-code/privacy-and-data/request-zero-data-retention How do I request Zero Data Retention for Claude Code? https://latestn.com/tool/claude-code/privacy-and-data/self-hosted-data-locality What data stays on my infrastructure when using Claude Code self-hosted environments? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:20:18Z | changed | default retention: — → 30-day | [1] 2026-11-18T12:20:18Z | changed | name truncation limit: — → 200 characters | [1] 2026-11-18T12:20:18Z | changed | project name conversion: — → your working directory path with non-alphanumeric characters replaced by `-` | [1] 2026-11-18T12:20:18Z | changed | format: — → JSONL | [1] 2026-11-18T12:20:18Z | changed | storage location: — → ~/.claude/projects//.jsonl | [1] 2026-11-18T12:20:18Z | changed | Default retention period: 30-day → — | [1] 2026-11-18T12:20:18Z | changed | Truncation limit for converted name: 200 characters → — | [1] 2026-11-18T12:20:18Z | changed | Project directory naming: your working directory path with non-alphanumeric characters replaced by `-` → — | [1] 2026-11-18T12:20:18Z | changed | Default transcript storage location: ~/.claude/projects//.jsonl → — | [1] 2026-11-16T12:12:40Z | changed | Truncation limit for converted name: — → 200 characters | [1] 2026-11-16T12:12:40Z | changed | Project directory naming: — → your working directory path with non-alphanumeric characters replaced by `-` | [1] 2026-11-16T12:12:40Z | changed | Default transcript storage location: — → ~/.claude/projects//.jsonl | [1] 2026-11-16T12:12:40Z | changed | Name truncation limit: 200 characters → — | [1] 2026-11-16T12:12:40Z | changed | Project directory naming rule: - → — | [1] 2026-11-16T12:12:40Z | changed | Default transcript storage path: ~/.claude/projects//.jsonl → — | [1] 2026-11-13T12:14:27Z | changed | Default retention period: — → 30-day | [1] 2026-11-13T12:14:27Z | changed | Project directory naming rule: — → - | [1] 2026-11-13T12:14:27Z | changed | Default transcript storage path: — → ~/.claude/projects//.jsonl | [1] 2026-11-13T12:14:27Z | changed | Retention period: 30-day → — | [1] 2026-11-13T12:14:27Z | changed | Project directory naming: your working directory path with non-alphanumeric characters replaced by `-` → — | [1] 2026-11-13T12:14:27Z | changed | Default storage location: ~/.claude/projects//.jsonl → — | [1] 2026-11-13T02:28:09Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/privacy-and-data/transcript-storage-location/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/privacy-and-data/transcript-storage-location POST: https://latestn.com/dispute/tool/claude-code/privacy-and-data/transcript-storage-location with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/privacy-and-data/transcript-storage-location?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Where does Claude Code store session transcripts? Revision 4, last verified 2026-11-20T12:25:18Z. https://latestn.com/tool/claude-code/privacy-and-data/transcript-storage-location (accessed 2026-11-21T09:55:00Z). @misc{LatestN_tool_claude_code_privacy_and_data_transcript_storage_location_r4, title = {Where does Claude Code store session transcripts?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/privacy-and-data/transcript-storage-location}}, note = {Revision 4; digest sha256:09aef4dd9d43eb48; last verified 2026-11-20T12:25:18Z; accessed 2026-11-21T09:55:00Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/privacy-and-data/transcript-storage-location