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

# Export Data

> Export code, database, and files on Pro plans and above. Download your codebase as a .tar.gz archive, or your database as a ZIP snapshot with optional media.

Download your code, database, and files from Hercules. Available on Pro plans and above.

### How do I export my data?

Go to **More → Export** to access export options:

* **Download App Code:** Get your codebase as a .tar.gz archive, from main or any open branch
* **Export Database:** Get a ZIP snapshot of your database, with or without files/media

### Can I download a branch without merging it?

Yes. When your app has branches, pick one in the selector next to **Download code**, then download. The selector starts on the branch of the chat you have open, or on main. You get the branch's latest version.

Downloading never changes your app, the branch, or your published site. Merged and closed branches can't be downloaded, so they aren't listed.

### What's included in the code export?

The code export includes:

* Frontend code (React components)
* Backend code (API routes, server functions)
* Configuration files
* Dependencies list

### What's included in the database export?

Choose between two options:

* **Database only:** Tables and records in a portable format
* **Database + files/media:** Tables, records, and all uploaded assets

### Additional FAQ

<AccordionGroup>
  <Accordion title="Can you help me migrate my app to an external host?">
    We do not provide support for external hosting.
  </Accordion>
</AccordionGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.