> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bytebase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export Data

There are two ways to export query results:

* As **SQL Editor User**, export directly from SQL Editor.
* As any project member, request a time-boxed export through [just-in-time data export](/security/database-permission/just-in-time#just-in-time-data-export) — useful when direct export is disabled at the workspace level.

<Note>
  A **Workspace Admin** can turn off **Enable data export** under **Settings > General** to disable direct export across the workspace. Members then export through the just-in-time data-export flow instead.
</Note>

## Export directly from SQL Editor

As **SQL Editor User**, after you run a query, click **Export** to download the result. See [Export data](/sql-editor/run-queries#export-data) for how Export behaves.

## Just-in-time data export

Any project member can request a time-boxed export by including **Export** in a just-in-time access request — useful when direct export is disabled at the workspace level. See [Just-in-time data export](/security/database-permission/just-in-time#just-in-time-data-export).
