Back to blog Build smart · Migration guide

How to migrate a Bubble app to custom code (2026)

Paweł Reszka
Paweł Reszka
CTO · Inigra Software House
8 min read
How to migrate a Bubble app to custom code - Inigra 2026 guide
TL;DR

Bubble lets you export your data, but never your code - so a Bubble-to-code move rebuilds the app logic and interface in a real stack (we use Next.js + Postgres) while the live Bubble app keeps running. Plan for the password switch (hashes are not portable), a route-by-route cutover with no downtime, and the five things that break first: auth, webhooks, deep-link SEO, file URLs and transactional email. At Inigra a Bubble migration starts from £2,000 (about 2 weeks) for a simple app; you own the code at the end.

Bubble is a brilliant place to prove an idea. But sooner or later a founder hits a wall - a feature Bubble cannot do, an enterprise customer who demands ownership, or a bill that keeps climbing - and asks the obvious question: can we just take our Bubble app and turn it into real code? The honest answer has a catch most people do not expect, and the rest is a well-trodden process. Here is how a Bubble-to-code migration actually works in 2026: what you can take with you, what you rebuild, what it costs, and what breaks on cutover day.

Can you export a Bubble app as code?

No - and this is the single fact that shapes every migration plan. Bubble's own documentation says it plainly: there is no way to export your application as code. You own your data and your app's design, but the code that runs the app stays with Bubble. So "migrating off Bubble" is not an export - it is a rebuild of the application logic in a portable stack, using your exported data and a spec reverse-engineered from the live app.

That sounds heavier than it is. The data comes out cleanly, the behaviour is well-defined (you can see every workflow in the editor), and a good team runs the old Bubble app and the new one side by side so users never notice. The work is methodical, not mysterious.

What you can take out of Bubble - and what you rebuild

Here is the honest split between what Bubble hands you and what has to be built new:

Part of the appWhat Bubble gives youWhat the new build does
Database recordsExport per data type as CSV / JSONMap each type to a real table; fix fields Bubble exports oddly (date intervals come out as text like "2 days")
Files and imagesThe field stores only a URL; files sit on Bubble's S3Download every file and move it to your own storage, then rewrite the links
WorkflowsVisible in the editor; backend ones callable via APIRewrite the logic as server functions / API routes
Privacy rulesServer-side "who sees what" rulesRebuild as row-level security or server checks
PluginsSome wrap paid third-party APIsReplace with a library or a direct API call
Pages & designNo code export; Bubble helps export the designRebuild the interface in the new framework
User passwordsOnly hashes, hidden even from youPlan a reset, magic link, or log-in-once move (below)

Tip: before your first agency call, run one test export of your largest data type. The file shows exactly what a team will receive - including those text date-intervals and the file links that still point at Bubble.

The password problem: moving users without locking them out

You cannot copy Bubble passwords into a new app - Bubble stores only salted hashes, invisible even to the app's developer. There are three clean ways to move users:

Users who signed up with Google or Facebook never had a Bubble password - they simply sign in with the same provider again, as long as the new app supports it.

How to migrate without downtime

The cutover is not the scary part - the first 72 hours after it are. The way to make both boring is to run the two apps in parallel and move one route at a time, the "strangler fig" pattern Martin Fowler describes: the new system grows around the old one until the old one can be switched off, so investment and risk are gradual and visible rather than one big-bang weekend.

In practice: map the data into a clean schema first, stand the new app up behind the existing one, keep both in sync, then move features one by one behind flags you can roll back in seconds. The old platform stays read-only for a while after, as a safety net. Nobody gets a "we're down for maintenance" page.

What breaks first after cutover (in order)

  1. Authentication. Everyone is logged out, because hashes do not travel. Have the reset/magic-link flow live on day one.
  2. Webhooks and integrations. Every Stripe, Zapier, Make and Calendly receiver URL changes. Dual-write for 48 hours so no payment event is lost.
  3. Deep links and SEO. Old Bubble URLs need a 301 redirect map, or Google demotes the indexed pages within about ten days.
  4. File uploads. Thousands of rows point at Bubble's S3; every file and link needs moving to the new bucket.
  5. Transactional email. "Welcome" and "reset password" emails stop the moment DNS flips, unless you wire up SendGrid / Resend / Postmark before cutover.

What a Bubble-to-code migration costs in 2026

Bubble is usually the most expensive no-code platform to leave, for one reason: the front-end is not portable code, it is a configuration that runs inside Bubble's interpreter. You are not extracting a React app - you are rebuilding both layers. Here is what we quote (fixed price, Human Expertise plus AI Efficiency, with a support window after cutover):

ComplexityWhat it looks likePrice & timeline
SimpleOne main flow, few workflows, light datafrom £2,000 / $2,600 · ~2 weeks
Standard SaaSAuth, database, a payment provider£5,000 - £9,000 · 3-5 weeks
Complex platform30+ workflows, custom plugins, fine-grained permissions£9,000 - £15,000+ · 6-8 weeks

Cost is driven by workflow count, integration complexity, data volume, and whether any part of the front-end can be kept. A code review on its own (before you commit to a full move) starts from £500. For the wider picture, see our MVP cost comparison 2026 and the deeper no-code to production migration guide.

Thinking about leaving Bubble?

Get a straight answer on a free 30-min call

Share your Bubble app - we'll tell you what the migration would cost, how long it takes, and exactly what would break. Fixed price, you own the code.

Book Free Discovery Call

How we approach it at Inigra

We move apps off Bubble, Lovable, Replit, Webflow and Adalo into a stack the client fully owns - usually Next.js or React on the front, Node.js or Python on the back, PostgreSQL for data. Some clients keep part of their front-end; most take a full rebuild. The work is fixed-price, agreed before we write a line of code, and it is Human Expertise multiplied by AI Efficiency: AI accelerates the rebuild while our engineers decide, review and own every change - so you get production-grade code faster, not a black box.

If you would rather compare options first, Inigra was featured among the agencies in Albato's independent 2026 roundup, Bubble to Code Migration Agencies Compared. For the source facts on what Bubble does and does not let you take, Bubble's own data export documentation is the primary reference, and Martin Fowler's Strangler Fig pattern explains the gradual-cutover approach.

Already decided to move? Our hands-on step-by-step migration guide walks through extracting your data, saving secrets, and deploying to a new host. Want it done for you? Book a discovery call.

FAQ

Can you export a Bubble app as code?

No. Bubble lets you export your database (CSV / JSON) and offers help exporting the design, but it does not let you export the application code - its own documentation states there is no way to export your app as code. Moving off Bubble therefore means rebuilding the workflows, pages and permissions in a portable stack using your exported data, while the live Bubble app keeps running until cutover.

How much does it cost to migrate a Bubble app to custom code in 2026?

At Inigra a Bubble-to-code migration starts from £2,000 / $2,600 (about 2 weeks) for a simple app, £5,000 to £9,000 for a standard SaaS with auth, database and payments (3-5 weeks), and £9,000 to £15,000+ for a complex platform with 30+ workflows, custom plugins and fine-grained permissions (6-8 weeks). A standalone code review starts from £500.

Why is Bubble harder to migrate than Lovable or Replit?

Because Bubble's front-end is not portable code - it is a configuration that runs inside Bubble's interpreter, so both the interface and the backend are rebuilt. Lovable generates React you can often extract and keep, and Replit apps are already standard Node, Python or React, so they are usually the cheapest and fastest to move. A Bubble move is typically a full rebuild of both layers.

Will my users have to reset their passwords?

Usually yes, for email-and-password accounts, because Bubble's password hashes are not portable. The common paths are a reset email at cutover, a one-time magic link, or a "log-in-once" trickle migration that verifies against Bubble during a window so most users never notice. Google and Facebook sign-ins carry over automatically as long as the new app supports those providers.

Can I migrate a Bubble app without downtime?

Yes. The new app is stood up alongside the live Bubble app, data is kept in sync, and features move one route at a time behind flags that can roll back in seconds (the "strangler fig" approach). The old platform stays read-only for a while as a safety net, so users are not shown a maintenance page.

Do I own the code after migration?

Yes. The whole point of leaving Bubble is ownership - at Inigra the rebuilt app lives in your own repository and hosting accounts, with no platform lock-in, which is exactly what investors and enterprise customers ask for.

Talk to us

Thinking about moving your Bubble app to custom code?

Fixed price, agreed before we write a line of code. Human Expertise multiplied by AI Efficiency. From £2,000 / $2,600, with a support window after cutover - and you own the code.

Book Free Discovery Call
Prefer DIY? Open the technical guide