Skip to content
BENIBIX Learn

/export Command

Also known as /export, Export conversation

It saves the whole chat as a plain text file.

Think of it like

It is like you print a whole chat to keep it.

Example

Emma found the cause of a hard bug with Claude's help. She runs /export and attaches the file to the bug ticket, so the team can read how it was found.

Why it matters

A good chat can be shared, saved with a ticket or read again later, outside Claude Code.

Definition

/export saves the current conversation as plain text. Give it a file name and it writes that file. Without one, a dialog lets you copy the text or save it to a file. The saved text is the chat as you read it, not the session file Claude Code keeps for itself.

Example code

console
/export login-fix.txt
Save this chat as a text file.

Common mistake

Thinking the exported file can be resumed. It is text for people to read. /resume works from the saved session, not from this file.

Key takeaways

  1. 1
    Plain text. The chat as you read it.
  2. 2
    A name or a dialog. File or clipboard.
  3. 3
    For people. Not for /resume.

Learn it properly