# From Bubble to code without taking the app offline

Canonical URL: https://thorfyn.com/en/notes/bubble-to-code-migration

> Cost per user, speed and lock-in: how to read each one on a Bubble app, and a migration one part at a time that never takes the app offline.

Short answer: move when the bill grows faster than the users, when the app gets slow under real use, or when you need something the platform cannot do. Move the data and the backend first, keep the screens, and replace them one by one.

- Public sources and house method
- Written by Matheus Pavaneli (https://thorfyn.com/en/about)
- Published Oct 10, 2026
- Reviewed Oct 10, 2026
- 2 min

## Three signs it is time

## The bill grows faster than the users

Bubble charges by the server work your app consumes, so heavy workflows can cost more per user as you grow.

- **Check it yourself** — Divide last month's Bubble bill by your active users, and compare it with the same number three months ago.
- **Fix it** — Find the workflows that consume the most and move them first; the rest can stay where it is.

## The app gets slow under real use

Pages that load lists, searches and reports slow down as data grows, and users notice before you do.

- **Check it yourself** — Time the three pages your users open most, with real data, on a phone.
- **Fix it** — Move those reads to a database and an API you control, and keep the page in Bubble calling them.

## You need what the platform cannot do

Bubble does not hand you the source code, so a feature it cannot build has to live somewhere else.

- **Check it yourself** — List the requests you turned down because of the platform in the last quarter.
- **Fix it** — Build those features as services in your own code and connect them, instead of waiting for a full rewrite.

## Migrate in stages, not in one jump

First the data moves to a database you own, with Bubble reading and writing through an API. Then the heaviest workflows move into code. The screens move last, one at a time, and each stage ships to production before the next starts, so the app never goes offline.

## Questions

### Can I export my Bubble app's code?

No. Bubble keeps the application logic on its platform. What you can take is the data and the design, and the logic is rewritten part by part.

### Do my users notice the migration?

They should not. Each stage replaces one part behind the same screens, and the old part stays until the new one is live.

## Sources

- [Bubble, Pricing](https://bubble.io/pricing)

## Plan the move before the first line

The discovery week maps what moves first, what stays, and the fixed price of each stage.

- See the Discovery: https://thorfyn.com/en/discovery
- Next note: https://thorfyn.com/en/notes/cost-to-fix-an-ai-built-app
- Questions and requests: hello@thorfyn.com
- Back to the home page: https://thorfyn.com/en
