> ## 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.

# Migrate from Replit to Hercules

> Migrate from Replit to Hercules. Export the project as a ZIP, drag it into Hercules, and ask for a migration plan. Use Expert, then Balanced to migrate.

To migrate from Replit to Hercules, export the project as a ZIP, drag it into Hercules, and ask Hercules for a migration plan.

<div className="screenshot sunset">
  <img src="https://mintcdn.com/zeus-0f6dadbf/uEvfYDjCgMLl8Bj0/images/apps/migrate-replit-to-hercules.png?fit=max&auto=format&n=uEvfYDjCgMLl8Bj0&q=85&s=b835b05e26e3774ad6ccb6b53d739c2f" alt="The Replit logo, an arrow, and the Hercules logo" width="2400" height="840" data-path="images/apps/migrate-replit-to-hercules.png" />
</div>

### How do I migrate from Replit?

<Steps>
  <Step title="Export as a ZIP">
    In Replit, open the file tree, click the three-dot menu at the top, and select **Download as zip**.
  </Step>

  <Step title="Drag it into Hercules">
    Drag the ZIP into the Hercules chat. A chat attachment can be up to 5 MB on the Free plan and 30 MB on Pro and Business. If the ZIP is larger, remove files you do not need, such as `node_modules` and build folders, and zip it again. Remove `.env` files and anything else that holds passwords or API keys.
  </Step>

  <Step title="Ask for a migration plan">
    Ask Hercules for a migration plan:

    ```text Ask for a migration plan wrap theme={}
    Look at the attached project and write a migration plan. Keep the existing pages, components, and styling as close to the original as possible.
    ```
  </Step>
</Steps>

### Which model should I use?

Use [Expert](/docs/ai/how-it-works) for the migration plan. After you review the plan, switch to Balanced and ask Hercules to carry out the migration. Switch models with the model selector in the chat input. Expert and Balanced are available on Pro, Business, and Ultra plans. On the Free plan, use Lite.

### What does not carry over?

Database data, user accounts, API keys, and custom domains do not move automatically. Ask Hercules to set the app up on its built-in [database](/docs/apps/database) and [auth](/docs/apps/users-auth/get-started). Add API keys again in [secrets](/docs/apps/secrets). You can [connect a domain](/docs/apps/publish/connect-existing-domain) you already own.

See [Migrate to Hercules](/docs/apps/migrate/overview) for the same steps from other tools.


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