New Tool Radar

Local AI

How to Export an LM Studio Chat as a File

Open the three-dot menu on a chat in LM Studio, choose Export, and save the conversation as a PDF, markdown, or plain-text file you can keep or share.

Schematic diagram with three steps: open the three-dot menu on a chat, choose Export, then save the conversation as a PDF, markdown, or text file.

A good LM Studio conversation is easy to lose: it lives inside the app, and copying each reply by hand is slow and error-prone. Since version 0.4.0, LM Studio has a built-in export — one menu, three file formats — so a conversation can be saved, filed, or shared as a document. This is about saving a chat you already had; starting a chat, saving a preset, and calling the server from code are different guides.

Have a chat worth keeping

First, have the conversation. For a practice check, ask a local model one question with a checkable answer — for example, “The lighthouse keeper is named Mara. When does she check the lamp?” — and wait for the reply that says noon. The export captures the conversation as it stands, so finish the part you want to keep before you export it.

Export from the three-dot menu

LM Studio’s 0.4.0 announcement describes the feature in one sentence: “You can now export your chats to PDF, markdown, or plain text. Click the ••• menu on a chat and head to ‘Export’ for all available options.” Pick the format that fits what you will do with the file:

Format Use it when
PDF You want a fixed, shareable document that looks the same everywhere
Markdown You want to keep editing the text, or paste it into notes or a document
Plain text You want the simplest possible file, with no formatting at all

Save the file somewhere you will find it again, such as a folder for exported chats.

Check the exported file

Open the saved file and check it against this table:

Check What you should see If you do not see it
Question Your question about Mara and the lamp is in the file You exported a different chat — the ••• menu belongs to the chat it sits on
Answer The reply saying noon is in the file The export happened before the reply finished — wait, then export again
Format The file opens as a PDF, markdown, or text file as chosen You picked the wrong format in the Export menu — export again in the one you want

Expected result. We checked LM Studio’s own 0.4.0 announcement for the export formats and the ••• menu step. We did not run LM Studio.

Limits

An export is a snapshot: messages you send after exporting are not in the file, so export again if the conversation continues. The PDF export has had rough edges — the 0.4.0 release notes record fixes for exports with very large images failing and for larger PDF exports failing, and the 0.4.17 changelog notes that chat-to-PDF export was updated to include styled markdown — so if a PDF export fails, try markdown or plain text instead. Export needs LM Studio 0.4.0 or newer; older versions do not have the Export menu. We did not run LM Studio, so no exported file here is a recorded result.

Sources

See all