Command reference ยท Claude Code
/export
Exports the current conversation as plain text.
With a filename, it goes straight to a file; without one, a dialog offers clipboard or file.
โ WHEN TO USE IT?
Save or share the whole conversation as text
/export session-notes.txt
Decide between clipboard and file via the dialog
/export with no argument opens the choice
โ WHEN NOT TO?
Only wanting to copy the last response
/export exports the entire conversation, not a single response
Better: use /copy for just the last (or, with a number, the Nth-last) response
SOURCES
- Claude Code Doku (offiziell) โ code.claude.com