# Exporting saved queries from Cloud account via designer

**URL:** <https://community.stardog.com/t/exporting-saved-queries-from-cloud-account-via-designer/5595>\
**Category:** Stardog Studio\
**Created:** [September 23, 2026, 11:03pm UTC](https://community.stardog.com/t/exporting-saved-queries-from-cloud-account-via-designer/5595 "2026-09-23T23:03:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![WWilson](https://avatars.discourse-cdn.com/v4/letter/w/e19adc/32.png) [@WWilson](https://community.stardog.com/u/WWilson)\
**Post date:** [September 23, 2026, 11:03pm UTC](https://community.stardog.com/t/exporting-saved-queries-from-cloud-account-via-designer/5595/1 "2026-09-23T23:03:52Z")

</div>

How can I export all saved queries via Designer from a Cloud account?

---

<div class="post-metadata">

**Author:** ![Joe\_Fagan](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/joe_fagan/32/1400_2.png) [@Joe\_Fagan](https://community.stardog.com/u/Joe_Fagan)\
**Post date:** [September 24, 2026, 12:13am UTC](https://community.stardog.com/t/exporting-saved-queries-from-cloud-account-via-designer/5595/2 "2026-09-24T00:13:31Z")

</div>

Designer does not have stored queries. Do you mean export stored queries from Explorer or from Studio? If the queries were stored in Studio, and if there are only a few, the most convenient way is to locate the query in Studio. To do that in the worksheet view, in the left panel choose Stored Queries and select your database. Clicking on the query will open it in a new tab. Select the text of the query and paste it where you wish. If you paste to a new worksheet you can save the query to your filesystem.

If you have more than a few queries please let us know what you are trying to achieve. There is a way to grab stored queries from one db and import to another dB using the CLI or Pystardog python library.

See [Stored Queries | Stardog Documentation Latest](https://docs.stardog.com/operating-stardog/database-administration/stored-queries)

---

<div class="post-metadata">

**Author:** ![WWilson](https://avatars.discourse-cdn.com/v4/letter/w/e19adc/32.png) [@WWilson](https://community.stardog.com/u/WWilson)\
**Post date:** [October 6, 2026, 9:30pm UTC](https://community.stardog.com/t/exporting-saved-queries-from-cloud-account-via-designer/5595/3 "2026-10-06T21:30:24Z")

</div>

Yes, I meant using the Cloud Studio.

I'm trying to export all my stored queries for documentation, etc. Although your suggestions work, copying each one by one is not desirable.

Thanks.

---

<div class="post-metadata">

**Author:** ![Joe\_Fagan](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/joe_fagan/32/1400_2.png) [@Joe\_Fagan](https://community.stardog.com/u/Joe_Fagan)\
**Post date:** [October 8, 2026, 3:00pm UTC](https://community.stardog.com/t/exporting-saved-queries-from-cloud-account-via-designer/5595/4 "2026-10-08T15:00:20Z")

</div>

If you have CLI you can export the stored queries as turtle

stardog-admin --server [https://stardog.example.com:5820](https://stardog.example.com:5820)  
--username myuser --ask-password  
stored export storedQueries.ttl

---

<div class="post-metadata">

**Author:** ![WWilson](https://avatars.discourse-cdn.com/v4/letter/w/e19adc/32.png) [@WWilson](https://community.stardog.com/u/WWilson)\
**Post date:** [October 9, 2026, 9:43pm UTC](https://community.stardog.com/t/exporting-saved-queries-from-cloud-account-via-designer/5595/5 "2026-10-09T21:43:39Z")

</div>

I do not have CLI. How can I export all stored queiries with only Cloud access?  
Thanks.

---

<div class="post-metadata">

**Author:** ![Joe\_Fagan](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/joe_fagan/32/1400_2.png) [@Joe\_Fagan](https://community.stardog.com/u/Joe_Fagan)\
**Post date:** [October 10, 2026, 10:04am UTC](https://community.stardog.com/t/exporting-saved-queries-from-cloud-account-via-designer/5595/6 "2026-10-10T10:04:48Z")

</div>

First, using studio, you need to create a user on your endpoint for API access. The instructions to do that are in the response [Connect to Stardog Endpoint using Stardog CLI](https://community.stardog.com/t/connect-to-stardog-endpoint-using-stardog-cli/5589)

Then install the CLI [CLI Installation | Stardog Documentation Latest](https://docs.stardog.com/install-stardog/client/)

Thanks

Joe
