{% extends "docs/base.html" %} {% block title %}Data Import Guide - Claude Code Project Tracker{% endblock %} {% block doc_content %}
Learn how to import your Claude Code usage history using the ~/.claude.json
file.
The ~/.claude.json
file is automatically created by Claude Code and contains your usage history,
including project paths, conversation summaries, and usage statistics.
~/.claude.json
~/.claude.json
%USERPROFILE%\.claude.json
There are two ways to import your Claude Code data:
Recommended method
Best for most users
Server-side import
For advanced users
Find the .claude.json file on your system:
# Open terminal and check if file exists
ls -la ~/.claude.json
# Or use finder/file manager
open ~/.claude.json
# Open Command Prompt
dir %USERPROFILE%\.claude.json
# Or use File Explorer
explorer %USERPROFILE%
Navigate to the data import page:
Upload your .claude.json file:
Before importing, preview what data will be imported:
Complete the import process:
After successful import, you'll see:
Cause: The selected file doesn't have a .json extension.
Solution:
Cause: The .claude.json file is larger than 10 MB.
Solutions:
Cause: The file contains malformed JSON data.
Solutions:
Possible causes and solutions:
The import system prevents duplicates:
Since .claude.json has limited data:
~/.claude.json
fileCommon import questions: