Claude Code stores local session history as plaintext JSONL
August 12, 2026
Claude Code saves complete session histories, including tool calls and results, as plaintext JSONL files in the user's home directory. These files, which can reach 35MB, allow for local auditing of agentic actions and command history.
HOW THIS AFFECTS YOU
●
builderYou can use these local files to audit the exact ground truth of what your agent executed.
●
policyThis highlights a potential privacy risk regarding the storage of sensitive data in unencrypted local files.