---
title: Own your code and data
description: Export your code and delete your account when you leave.
---

Your code stays yours. Pro accounts can download any owned app as a zip, at the live version or any earlier commit.

1. Open Settings → Export code in the [Console](/get-started/console-tour), or ask your agent for `export_code`.
2. Pick the version and press Download .zip.
3. Open the link within one hour. The stored zip is deleted after 24 hours.

Exports hold up to 256 MiB. Agent reference: [Export app code as a zip](/agents/deploy/export). Full guide: [Export your code](/collaboration/export).

## Delete your account

1. Open Account in the [Console](/get-started/console-tour).
2. Start delete-account and type your email to confirm.
3. Every session signs out; apps you own are deleted, and collaborations stay with their owners.

:::note
Downgrade pauses Pro behaviors but keeps code and data: see [Choose a plan](/account/plans).
:::
