ClaudeFolio
Tutorials

Where Claude keeps its logs and files on Windows

Edward Kwun··3 min read
Where Claude keeps its logs and files on Windows

See more of our writing in your Google results.

Key points

  • Logs are in %LOCALAPPDATA%\Claude\Logs on current versions
  • %APPDATA%\Claude may hold only an empty marker file
  • App settings live in %LOCALAPPDATA%\Claude-Data
  • Claude Code files live in %USERPROFILE%\.claude
  • Never share config.json or .credentials.json

If you were told to look in %APPDATA%\Claude\logs for the Claude desktop app's logs and found almost nothing, you didn't do anything wrong. On my Windows 11 PC, running desktop app version 6.6395, that folder holds a single empty marker file named .user-data-left.claude_pzs8sxrjxfjjc. The logs and settings live under %LOCALAPPDATA% instead. That's the Local folder, C:\Users\you\AppData\Local, not Roaming.

Here's the map, with what each place is for:

  • %LOCALAPPDATA%\Claude\Logs: the app's current logs. main.log is the main one, and older entries roll into main1.log through main4.log, which were about 10 MB each on our machine. Next to them are logs named for other parts of the app, such as claude.ai-web.log, mcp.log, cowork_vm_node.log, remote-control.log, and ssh.log. A GitHub bug report from another Windows user, on version 5.11492.5, points to the same folder.
  • %LOCALAPPDATA%\Claude-Data\claude_pzs8sxrjxfjjc: the app's settings and data. This is where claude_desktop_config.json lives, the file the app reads local MCP server settings from, along with folders such as claude-code-sessions and vm_bundles. The odd suffix is part of the app's Windows package name, Claude_pzs8sxrjxfjjc. Mine also had an older logs folder whose last entry was from August.
  • %USERPROFILE%\.claude: Claude Code's home folder, the same ~/.claude that Mac and Linux users have. It holds your settings.json, your personal CLAUDE.md, skills, agents, and plugins, plus history.jsonl, a list of prompts you've typed.

Conversation transcripts go in .claude\projects, one subfolder per project, and sessions from the desktop app's Code tab land there too on our PC. The sessions docs say each subfolder is named after the project's path with every character that isn't a letter or number turned into a dash, so C:\Users\you\app becomes C--Users-you-app. Each session is a .jsonl file you can open in any text editor.

Two things about the .claude folder are worth knowing before you dig around. Transcripts aren't kept forever: Claude Code deletes ones older than 30 days by default, and the cleanupPeriodDays setting changes that. They're also plain text. Anthropic's docs say transcripts and history aren't encrypted, and that anything passing through a tool lands in the transcript, including file contents, command output, and pasted text. If Claude read a .env file during a session, those values are sitting in that file.

When the app crashes, the logs are what a support person or a GitHub issue will ask for. Paste %LOCALAPPDATA%\Claude\Logs into File Explorer's address bar, or into the Run box you open with the Windows key and R. New entries get added to the end of main.log, so the bottom of the file is the part that matches what just went wrong.

Some files in these folders should never leave your PC. On our machine, config.json in the Claude-Data folder has entries named oauth:tokenCache, so treat it as private. The docs say .credentials.json in .claude holds Claude Code's login credentials. Don't zip up a whole folder and attach it to a public bug report. Pick the one log you need, skim it, and send just that.

If the app won't open at all, our guides to every way the Claude desktop app crashes on Windows and fixing desktop crashes with a repair walk through the fixes, and they lean on these same logs. And if you spotted cowork-svc.exe in Task Manager while poking around, here's what that process does.


 

Sources

Claude Code docs: Explore the .claude directory - What lives in ~/.claude, the 30-day cleanup, plaintext transcripts, and which state files to keep, including .credentials.json.

Claude Code docs: Manage sessions - Where transcripts are stored and how project folder names are built.

GitHub: anthropics/claude-code issue #109853 - A Windows user's report citing %LOCALAPPDATA%\Claude\Logs\claude.ai-web.log on desktop version 5.11492.5.

Found this article useful?

Add ClaudeFolio as a preferred source on Google to see our articles first.

FAQ

Where are Claude desktop logs on Windows?
On current versions of the Windows app, the logs are in %LOCALAPPDATA%\Claude\Logs, with main.log as the main file. The older %APPDATA%\Claude\logs path that many guides give may hold only an empty marker file now.
Where does Claude Code store conversations on Windows?
In %USERPROFILE%\.claude\projects, one subfolder per project, as JSONL transcript files. Claude Code deletes transcripts older than 30 days by default, and the cleanupPeriodDays setting changes that. The files are plain text and not encrypted.
Is it safe to share my Claude log files?
A single log file you've skimmed is usually fine to send to support. Don't share config.json from the Claude-Data folder or .credentials.json from .claude, and don't zip up whole folders, since they can hold sign-in data and transcripts.

Related posts

Comments