Skip to content

Exporting from claude ai to Local

Made something cool in claude.ai and want it on your computer?

Terminal window
# 1. Start Claude Code locally
claude
# 2. Tell it what you built:
"I made an app in claude.ai that does [describe it].
Can you recreate it locally?"
# Claude will rebuild it with proper file structure.
1. In claude.ai: Click the Artifact → "Copy code"
2. On your Mac: Create a file, paste the code
Terminal window
mkdir ~/my-project && cd ~/my-project
# Use any text editor to create index.html, paste your code
open index.html # Opens in browser

Pro tip: If you think a project might grow, start in Claude Code from the beginning. Easier than exporting later.