How to recover a deleted Lovable or Bolt project or repo
Deleting the builder project and deleting the Git repository are different events. Lovable and Bolt both say a deleted project cannot be restored. A GitHub repo often can, for 90 days.
Updated 2026-10-14. Written from the vendor docs linked at the end. Not a guarantee that a restore will work.
The project and the repository are not the same object
A Lovable or Bolt project holds the chat, the preview, and often the database. A Git repository holds the code that was synced or pushed. Deleting one does not automatically describe the other. Before you follow a restore click-path, decide which of the two is gone.
If the project is still there, use version history rather than this page. Lovable’s revert and Bolt’s version history both work on a project that still exists. This page is for something that was deleted, or for a repository that was deleted while the project remains.
If the Lovable project is gone
Lovable says deleting a project is permanent. Project settings ask you to type the project name, and the docs say you cannot restore the project, the version history, or the chat. Remix it, or download the code, before you confirm. Download codebase, in Project settings → Git or at the bottom of the code editor, is documented for paid plans.
Git sync does not bring a deleted Lovable project back. Disconnecting leaves the repository in place and leaves the project in place, but that is disconnect, not delete. Lovable also says you cannot import an existing repository, and reconnecting creates a new repository rather than re-linking the old one. If all you have is the Git repo, you have the code as last synced. You do not have the chat, and you do not have the database rows. The migration files describe the schema. Lovable says the repository never contains the data.
If Cloud is still running, export before you remove it. More → Cloud → Overview → Advanced settings → Export project data. Lovable says the export is the database, structure and data, including user accounts and password hashes, and that it does not include Storage files, edge function code, or secrets. Lovable’s published limits are a database of up to 15 GB, an export file of at most 5 GB, and one export every 24 hours. You cannot export a paused backend. If credits ran out, Lovable says the data stays while services are paused, and you resume with Wake up before you can export. Removing Cloud deletes that instance and cannot be undone.
If the GitHub repository is gone and the Lovable project is not
Lovable says deleting the connected repository stops sync. On GitHub you can restore that repository, and Lovable says sync then resumes on its own. The other path Lovable documents is to disconnect the project and connect again, which creates a new repository from the current Lovable code. Restoring the old repository is the one that keeps history. Creating a new one does not.
GitHub’s own rule is separate from Lovable’s. A deleted repository can be restored within 90 days, unless it was part of a fork network that is not empty. It can take up to an hour after deletion before Restore appears. For a personal account: Settings → Repositories → Deleted repositories → Restore. For an organisation: the organisation’s Settings → Deleted repositories → Restore. GitHub’s steps are on Restoring a deleted repository.
If the Bolt project is gone
Bolt’s project page says deletion permanently removes the project and its data, including chat history, project files and the database. If the project was published, Bolt unpublishes the site and cleans up connected hosting and domains. Bolt says you cannot restore it later. The delete dialog tells you to export the project first if you want a local copy.
A missing project is not always a deleted project. Bolt says you may be in another workspace, or signed in with a different account. The account menu shows the email. Every project under that account also appears in the Bolt collection on StackBlitz: Collections → Bolt collection, then Open in bolt.new. If it is in neither place, Bolt says to write to support@bolt.new from the address you used to create it, and to include the project name or URL if you have it.
If you downloaded a zip before deletion, Bolt documents a manual restore. Sign in to StackBlitz, create any new project, delete its files, unzip the download, drag the files in, save, then Open in bolt.new. That creates a new Bolt project from the files. It does not recreate the old chat.
If the code is on GitHub, Bolt says to import that repository, which creates a new Bolt project from the files. You can also open a public GitHub repository by prefixing the GitHub URL with bolt.new, for example bolt.new/~/github.com/owner/repo. Disconnecting a Bolt project from GitHub is permanent for that link: Bolt says you cannot manually reconnect it, and to contact support if you need the same repository again.
After you have a repository again
Clone it to your own machine before you do anything else in the builder. A builder project can be deleted again. A repository you can see on GitHub, and a clone on a disk that is not that GitHub account’s only copy, is harder to lose in one click.
The free scan reads a public repository, or a private one after you install the LastGood GitHub App on it. It will not restore a deleted Lovable or Bolt project. Use it to see whether the code you recovered still shows the usual gaps: no backup workflow, a committed env file, no lockfile.
Questions
Can Lovable restore a deleted project?
No. Lovable’s project docs say deletion is permanent. There is no restore of the project, its version history, or its chat. Download the code or remix the project before you delete it, if you might need it.
Can I import the GitHub repo back into Lovable?
No. Lovable’s Git sync documentation says sync is export only. Connecting a project always creates a new repository. You cannot re-link a repository you disconnected, and you cannot import an existing repository into Lovable.
Can Bolt restore a deleted project?
No. Bolt says deletion permanently removes the project, chat history, project files and database, and that you cannot restore it later. A downloaded zip can be loaded into a new StackBlitz project and opened in Bolt. A GitHub repo can be imported into a new Bolt project. That is a new project, not the deleted one.
Sources
- Lovable: Projects
- Lovable: Project settings
- Lovable: Git sync
- Lovable: GitHub
- Lovable: Export Cloud data
- Lovable Cloud
- Lovable: Credits and usage
- Bolt: Manage your projects
- Bolt: Backups, restore, and version history
- Bolt: Missing projects
- Bolt: GitHub for version control
- GitHub: Restoring a deleted repository
Related
Vendor limits quoted above are from those docs, not measurements by LastGood.