How to export your Bolt.new code and move off Bolt
Last reviewed 25 November 2026
Maybe a developer is taking over, you want your own hosting, or you just want a copy you control. Getting the code out of Bolt is quick. The database, user accounts, secrets and sign-in settings are what catch people out.
On desktop, click the project title, then Download, to get a ZIP. Or connect GitHub for an automatic backup with full history. The code doesn’t bring your users, uploaded files, secrets or sign-in settings. To take the database with you, claim it into your own Supabase account. That needs a Pro or Teams plan, and Bolt can’t move it back afterwards.
Rather talk it through with someone? Tell us about your app →
First: protect what you have
Before you change anything, take a copy. Bolt gives you two ways, and it’s worth doing both.
- Download a ZIP. On desktop, click the project title in the top left, then Download. You can’t do this from a phone. Bolt’s projects and files guide describes it as a way to work on the project in your own code editor.
- Connect GitHub. Bolt’s GitHub guide calls this a backup with a full history of changes that lives outside Bolt. The repository (the folder on GitHub that holds your code) starts as private.
If you’re thinking of deleting the project, export it first. Bolt’s release notes say deleting a project unpublishes the live site, deletes your Bolt database, and removes your files and chat history. The delete screen offers Export project first, but not on a phone or tablet.
Getting the code: ZIP or GitHub
- ZIP download is a one-off snapshot. To run it, a developer unzips it and runs
npm installandnpm run dev. That needs Node.js, a free tool for running web apps on your own computer. Bolt doesn’t list what the ZIP includes or leaves out. - GitHub sync keeps going. Bolt saves a change to GitHub each time you make one that doesn’t break the project, and checks GitHub every 30 seconds for changes made outside Bolt. Only the project owner can connect it. You can’t merge branches inside Bolt.
- Open in StackBlitz is no longer offered for many projects. Since May 2026, Bolt says it isn’t available for new projects or projects moved to the new format. If it’s greyed out under Export, use one of the two routes above.
Be careful with disconnecting GitHub. Bolt says it permanently removes the link to that repository, and reconnecting to the same one needs Bolt’s support team.
What comes with the code, and what doesn’t
Bolt doesn’t publish a full list. The best guide is what Bolt says a duplicated project leaves behind, plus its pages on secrets, sign-in and file storage.
| Part of your app | In the code? | What to do |
|---|---|---|
| App code | Yes | ZIP or GitHub |
| Environment variables (settings the app reads, such as the database’s web address) | Yes, in a file called .env | Bolt says this file is part of your project’s code. Its docs don’t say outright that it’s in the ZIP or on GitHub, so check your copy |
| Secrets (private keys for Stripe, email and so on) | No | Bolt never writes them into your files and won’t show them again. Get fresh keys from each provider and set them at the new host |
| Database contents | No | Claim the database into Supabase, or export rows (see below) |
| User accounts | No | They live in the database, not the code. Bolt’s docs don’t describe exporting a user list, so claiming the database is the way to take them with you. Check afterwards |
| Uploaded files | No | Bolt says it doesn’t yet let you view or manage individual files. Have a developer plan how to copy them before you switch |
| Server functions (Bolt calls them edge functions) | The code, yes | They must be deployed again, with their secrets |
| Sign-in settings | No | Google sign-in, email templates and redirect addresses are set up again |
One warning on .env: Bolt says any value the code reads in the browser ends up in what’s sent to visitors of your live site. Never put a private key there.
Taking the database with you
Bolt Database is the built-in database on every Bolt plan. You have two options, and they’re very different.
- Claim it into Supabase. This is the real way to move it. Bolt’s Supabase guide says claiming moves your Bolt Database, including its data, to your own Supabase account. It needs a Pro or Teams plan. On a personal account only the project owner can do it. On a team account it’s the project owner, co-owners or team admins. You must also be an owner of the Supabase organisation. First connect Bolt to your Supabase account. Then click the database icon, then Advanced, then Claim, and follow the prompts in Supabase. Bolt says it can’t move a Supabase database back to Bolt Database, so treat this as one way.
- Export rows. From your database tables you can export or copy row data as CSV or JSON, by hand. It’s useful as a backup, but it isn’t a full copy of the database. Viewers can’t export.
Bolt’s docs don’t say whether claiming also moves user accounts, uploaded files, server functions or secrets. Test it on a copy, or check with Bolt, before you rely on it.
If you connect your own Supabase database instead, Bolt warns that doing this on a project that already has a Bolt database replaces the connection and may cause data loss. Claim first, don’t connect over the top.
Sign-in, secrets and pausing: the gotchas
- Sign-in settings live outside the code. Bolt’s authentication guide says it usually updates the Site URL and allowed redirect addresses when you publish. Its docs describe this only for publishing from Bolt. If you host elsewhere, check both yourself, or logins and password resets can fail. Bolt’s default Site URL is
localhost:3000, which doesn’t work for a live app. - Secrets can’t be copied out. Make a list of every service the app uses, such as payments, email and Google sign-in, and collect the keys again from each one.
- Databases can be paused. Bolt can pause a Bolt Database after six days or more of low use. Live sites on Bolt hosting aren’t paused, but unpublished projects and Netlify-hosted ones can be. A claimed Supabase database follows Supabase’s rules: its Free plan pauses databases after a week of low activity, even if the Bolt project is published.
- Leaked-password protection (blocking passwords that have appeared in data breaches) needs a Supabase Pro plan or higher, according to Bolt’s docs. On the Free plan it’s turned off. Check this after you claim.
Hosting and your domain
Bolt’s GitHub guide says that once your code is in GitHub, you can publish with Bolt hosting, Netlify, or another service you choose. Bolt doesn’t give step-by-step instructions for other hosts.
- Netlify. Bolt’s Netlify guide says Netlify can’t host a database or a traditional backend, so your database still has to live somewhere else. Custom domains don’t carry over between Bolt and Netlify automatically.
- Your own domain. To take a domain off a Bolt project, click the project name, then All project settings, then Domains & Hosting. Click the three dots next to the domain, then Remove domain. See Bolt’s domain guide. Then point the domain’s DNS records (the settings that tell the internet where your site lives) at the new host. Your new host will tell you which records to use.
- A domain you bought through Bolt. You don’t have to move it out to change its DNS records, because you can edit them in Bolt. To move it, Bolt’s domain purchase guide says you email Bolt support to move it into your own Name.com account, from 5 days after buying it. You can transfer it to another registrar from 60 days after buying it, using a transfer code from Name.com. When support moves it, they turn off auto-renew in Bolt, so turn it on in Name.com if you want to keep the domain. If you want it on your own Netlify account, contact Bolt support first. Bolt warns the site goes offline if the DNS settings are removed before they move.
Move without breaking things
- Keep the Bolt version running until the new one is proven.
- Take a ZIP and connect GitHub, so you have two copies of the code.
- Move the database by claiming it, and check what came across.
- Set the environment variables and secrets at the new host.
- Deploy the server functions if the app uses them.
- Update the sign-in settings with the new address.
- Test everything on a temporary address: sign-up, sign-in, payments, emails and file uploads.
- Only then point your domain at the new host.
If you’re moving because the app keeps breaking, start with our guide to getting a Bolt project unstuck. Moving a broken app just moves the problem.
When to get help
Downloading the code is the easy part. Moving live customer data, user accounts and payments without anyone noticing is where it goes wrong, and Bolt’s docs leave some of it unclear. If real customers depend on the app, have a developer plan the move and test it on a copy first. Before you switch, run through our security checklist. If you want someone to take the app over, see how we make AI-built apps ready for real customers.
Questions founders ask
Can I export my Bolt.new code on the free plan?
Bolt’s docs don’t name a plan for the ZIP download or for GitHub sync. Claiming your database into Supabase does need a Pro or Teams plan.
Can I download my Bolt project on my phone?
No. Bolt says you can’t currently download a project from a mobile device. Use a desktop browser.
Will my users and data come with the code?
No. They live in the database, not the code. Claiming the database into your own Supabase account moves the data. Bolt’s docs don’t say whether user accounts and uploaded files move too, so check after claiming.
Can I move my database back to Bolt after claiming it?
No. Bolt says it can’t move a Supabase database back to Bolt Database. Only claim it if you’re sure.
Do I need to delete my Bolt project after moving?
No, and keep it until the new version is proven. If you do delete it, Bolt removes the files, database and chat history, so export first.