# Export as prompt

Copy as Markdown[View as Markdown](/docs/studio/diagrams/diagram-to-prompt.md)

***

### How to export your diagram as a prompt for LLMs[​](#how-to-export-your-diagram-as-a-prompt-for-llms "Direct link to How to export your diagram as a prompt for LLMs")

You can export your diagram as a prompt for LLMs.

Your diagram will be converted into a mermaid diagram for the prompt, and [any documentation you have added to your design](/docs/studio/diagrams/adding-documentation.md) will be included in the prompt.

To export your diagram as a prompt, click the `Actions` then `Export as prompt` in the navigation bar.

You can copy the prompt to your clipboard, using the `Copy Prompt` button.

![Export as prompt](/assets/images/export-as-prompt-25239106b4592f774d1bbd6c74284453.png)
