AI Automation

Migrate Off Lovable: 2026 USA Guide, Steps and Cost

AD By Anees Dilawar Updated Nov 22, 2026 10 min read
Code editor showing React source code, the standard codebase you take with you when you migrate off Lovable

To migrate off Lovable, sync the code to your own GitHub, create your own Supabase project and restore the database export there. Then copy storage files and secrets by hand and deploy to a host such as Vercel or Netlify. A full move takes one to two weeks and typically costs $1,500–$5,000 at a USA agency in 2026, or $4,000–$12,000 with security hardening.

Most founders decide to migrate off Lovable for one of three reasons. A developer wants to work in Git, a customer asks where the data lives, or the credit bill no longer matches the value. The good news is that Lovable apps are standard React code on a Supabase-compatible backend, so the move is a project, not a rewrite.

We help owners move AI-built web apps to their own GitHub, hosting and databases, and this guide shares the exact order we follow. It covers the four exits, what the export leaves behind, a cutover checklist, typical USA costs and the mistakes that cause downtime. Every platform fact below comes from Lovable’s own documentation, checked in November 2026.

What You Actually Own Before You Migrate Off Lovable

Lovable’s hosting documentation states the principle plainly: “The applications you build with Lovable can be hosted anywhere.” Your project is one of two types. Older projects are React + Vite apps that build to static files, and newer ones are TanStack Start apps that need a server. Check package.json for @tanstack/react-start to find out which one you have.

You also own the database schema, because migration files sit in the repository. However, the editor and AI agent stay with Lovable, and so do app connectors and AI features until you replace them. That distinction decides most of the work in a migration.

  • Code: Git sync to GitHub, GitLab or Bitbucket is available on all plans. The one-time .zip download needs a paid plan.
  • Schema: SQL migrations in supabase/migrations/ (or Drizzle migrations) move with the code.
  • Data and files: neither Git sync nor the download includes database rows or uploaded files. Those move separately.
  • Secrets and connections: function secrets, OAuth settings and connector accounts are not exported at all.

Four Ways to Migrate Off Lovable: Decision Table

Not every owner needs the full exit. First, decide which problem you are solving, because each exit fixes a different one. The table below is the decision tool we use with owners before quoting anything.

ExitWhat movesSolvesTypical cost (USD)Typical time
1. Frontend hosting onlyCode to GitHub, build on Vercel, Netlify or Cloudflare Pages; backend stays on Lovable CloudCustom domain control, CI/CD, a developer in Git$300–$9001–2 days
2. Backend to your own SupabaseEverything in exit 1 plus schema, data, users, files, functions and secretsData ownership, predictable billing, customer due-diligence questions$1,500–$5,0001–2 weeks
3. Full ownership with hardeningExit 2 plus row-level security audit, secret rotation, staging, monitoringReal customers and payments on the app$4,000–$12,0002–4 weeks
4. Rebuild from scratchNew codebase; Lovable app used as the specCode that breaks on every change$15,000–$60,000+8–20 weeks
Typical 2026 ranges for USA small businesses and founders, not fixed quotes. Scope depends on tables, users, files and integrations.

Most owners with paying users land on exit 2 or 3. Exit 4 is rarely right, because the Lovable app already encodes your validated data model. If the app is unstable rather than simply hosted in the wrong place, read our cost to fix a vibe coded app guide first.

Need help with this? AK Softs Digital builds websites, mobile apps and AI automation for small businesses in the USA, UK, UAE and Australia. Message us on WhatsApp or get a free quote in 24 hours.

What the Export Carries and What You Move by Hand

This is where migrations go wrong, so it deserves its own list. According to Lovable’s external hosting guide, the database export is a custom-format archive that you restore with pg_restore. You can request one export every 24 hours.

Password hashes are included, so users keep their passwords. Active sessions do not carry over, so everyone signs in again.

  • Carried by the export: tables, rows and user accounts with password hashes.
  • Carried by Git: source code, migration files and the supabase/config.toml project reference.
  • Moved by hand: storage files (copied bucket by bucket), function secrets, OAuth providers and redirect URLs, scheduled jobs and Edge Functions (deployed with npx supabase functions deploy).
  • Replaced, not moved: Lovable app connectors and AI features, which run through Lovable while you use the built-in backend. You need your own provider accounts.

Some older guides say passwords cannot be exported and every user must reset. Lovable’s current documentation says the opposite. Because the two disagree, test sign-in with a real migrated account before you trust either statement.

One trap deserves a bold warning. Lovable’s guide notes that removing the database “deletes the backend permanently, including exports saved to its storage.” Therefore, download every export and file to your own machine before you remove anything.

JavaScript code on a dark screen, showing the exported code and data you move by hand when you migrate off Lovable

How to Migrate Off Lovable Step by Step (Cutover Order)

Order matters more than speed here. Each step below produces something you can test before the next one, so a failure never takes the live app down. This is the sequence we follow for a Lovable migration as part of our website development services.

Phase 1: build the new stack beside the old one

  1. Connect Git sync and clone the repo. Run the app locally with the current .env values to confirm it builds. Lovable’s build settings are npm run build, Node.js 22 and the dist output folder for Vite apps.
  2. Create your own Supabase project. It initializes in about two minutes. Save the new URL, publishable key and project ID.
  3. Run migrations in timestamp order. Then request the data export from Lovable (More → Database → Manage → Settings → Export data) and restore it with pg_restore. Compare row counts table by table.
  4. Recreate auth and secrets. Add OAuth providers, redirect URLs for your new domain, and every function secret. None of these are exported.
  5. Copy storage files into buckets with matching names, then deploy Edge Functions and recreate scheduled jobs.

Phase 2: test, freeze and cut over

  1. Deploy the frontend to a temporary URL. Set VITE_SUPABASE_URL, VITE_SUPABASE_PUBLISHABLE_KEY and VITE_SUPABASE_PROJECT_ID on the host. These are baked in at build time, so rebuild after any change. Also configure the host to serve index.html for unmatched routes, or nested pages will 404 on refresh.
  2. Test with migrated accounts. Sign in and out, read, write, upload a file, and refresh a nested route.
  3. Freeze and take a final export. Pause writes, jobs and webhooks, export once more, copy changed files, then restore the delta.
  4. Move the custom domain and unpublish on Lovable. Your lovable.app address keeps serving the last published version until you unpublish it.
  5. Search the code for leftover Lovable calls and keep the old project readable for two weeks as a fallback. Exporting code cancels nothing, so cancel the subscription yourself when the window ends.

What It Costs to Migrate Off Lovable in the USA

Two bills matter: the one-time migration and the new monthly running cost. The one-time ranges are in the decision table above, and a migration audit of $500–$1,500 comes first when the app has real users. You can estimate your project cost with our calculator to set a starting budget.

Monthly running cost after you migrate off Lovable: worked example

Take an illustrative booking app for a cleaning company called Sparkle Cleaning, with a few hundred customers and under 1 GB of data. Here is what the hosting bill looks like before and after, using list prices from each provider’s pricing page in November 2026.

SetupMonthly cost (USD)What you get
Stay on Lovable Pro$25 plus Cloud usage100 credits, custom domain, editor and backend in one place
Stay on Lovable Business$50 plus Cloud usageTeam features on top of Pro
Own stack, free tiers$0Supabase Free pauses projects after 1 week of inactivity, so it suits testing only
Own stack, production tiers$45Supabase Pro from $25 (8 GB disk, 100 GB storage, 100,000 monthly active users) plus Vercel Pro from $20
List prices from the providers’ pricing pages, November 2026. Usage above the included limits is billed extra on every plan.

The honest conclusion is that a small app does not save money by leaving. Lovable Pro costs $25 a month, while Supabase Pro starts at $25 and Vercel Pro starts at $20. You migrate off Lovable for ownership, developer access and answers to customer security questions, not for a cheaper bill.

Savings appear only when a developer you already pay replaces credit-based editing. For most owners, that happens once the app has paying customers and weekly changes.

Adding AI Features Once You Own the Code

Many Lovable apps already use AI features, and those calls run through Lovable’s gateway on your workspace credits. Once the code is in your own repository, you move them to your own provider account. That gives you per-feature spend caps, logs of every answer and the freedom to switch models without touching the builder.

It also opens the door to features the builder could not offer. For example, an assistant that reads a customer’s own bookings through narrow backend tools, or AI follow-ups that sync to your CRM. We build these through our AI automation services.

Our cost to add AI features to an existing app guide lists the typical price for each one. Do the migration first, then add AI, so the new feature lands on a backend you control.

Mistakes That Cause Downtime When You Migrate Off Lovable

  • Removing the Lovable database before downloading exports. The exports live in that backend’s storage and vanish with it.
  • Forgetting that VITE_ variables are build-time. Changing them on the host does nothing until you rebuild, so the app keeps talking to the old backend.
  • Skipping the SPA fallback. Without index.html served for unmatched routes, every bookmarked page returns a 404 after refresh.
  • Not updating OAuth redirect URLs. Google or GitHub sign-in fails on the new domain until the provider and Supabase both list it.
  • Running pg_restore --clean blindly. Lovable’s guide warns against adding --clean to silence conflicts without reviewing what it drops.
  • Leaving row-level security as the builder wrote it. Moving the database does not fix weak policies. Test with two accounts that one user cannot read another’s rows.
  • Assuming the move cancels billing. It does not; cancel the subscription and Cloud usage separately once the fallback window ends.

Avoid these and the cutover itself usually takes an afternoon. The weeks go into preparation and testing, which is exactly where they should go.

Key Takeaways

  • Lovable apps are standard React + Supabase projects, so you can migrate off Lovable without a rewrite.
  • Git sync works on all plans, but the export never includes rows, files, secrets or OAuth settings. Those move by hand.
  • Pick the exit that solves your problem: frontend only ($300–$900), own Supabase ($1,500–$5,000), full hardening ($4,000–$12,000) or rebuild ($15,000–$60,000+).
  • Production hosting on Supabase Pro plus Vercel Pro is about $45 a month, so you leave for ownership, not savings.
  • Download every export before removing the Lovable database; removal deletes them permanently.
  • Move AI features to your own provider account after the migration, then add new ones on the backend you control.

Frequently Asked Questions

Can I migrate off Lovable without losing my data?

Yes. Request a database export from Lovable Cloud, restore it into your own Supabase project with pg_restore, and copy storage files bucket by bucket. Then compare row counts, test with real accounts, and download every export before you remove the Lovable database.

Do my users have to reset their passwords after the migration?

Lovable’s current documentation says password hashes come with the export, so users keep their passwords but must sign in again. Some older guides say a reset is required. Test sign-in with a migrated account before launch, and keep a password-reset email ready either way.

Can I keep using the Lovable editor after I move hosting?

Yes, if you choose exit 1 or keep Git sync connected. Lovable’s Publish button only publishes to Lovable hosting, so your new host rebuilds from the Git repository instead. Once you disconnect Git sync or delete the project, editing continues in your own tools.

Cost and timing questions

How much does it cost to migrate off Lovable?

Typical 2026 USA agency ranges are $300–$900 for a frontend-only move and $1,500–$5,000 for a full move to your own Supabase. Add security hardening and monitoring and the range is $4,000–$12,000. A rebuild runs $15,000–$60,000+, and monthly hosting afterwards is about $45 on Supabase Pro plus Vercel Pro.

How long does it take to migrate off Lovable?

A frontend-only move takes one to two days. Meanwhile, a full backend migration takes one to two weeks for a typical app, and two to four weeks when there are many tables, stored files and integrations. The final cutover itself is usually an afternoon once testing is done.

Get a Fixed Quote to Migrate Off Lovable

AK Softs Digital moves AI-built apps to your own GitHub, Supabase and hosting as part of our website development and web app services. With 175+ client reviews and a 4.9 rating, we will audit your project, tell you which exit fits and give you a fixed price before any cutover. Book a free consultation and bring your Lovable project link.

Anees Dilawar

Written by

Anees Dilawar

Founder & CEO of AK Softs Digital. MS Computer Science, 10+ years teaching and building software, and 6+ years delivering WordPress, Flutter and AI automation projects for clients in the USA, UK, UAE and Australia.

AI Automation

Get a clear plan and a fixed quote in one call

Want this automated for your business? We build n8n, MCP and AI receptionist workflows that save hours every week.

✓Fixed price before work starts✓Reply within hours★★★★★4.9/5 from 175+ Fiverr reviews
Free website auditSpeed, SEO & security check. Report in 24 hours.Get free audit