Import a project from Replit, Bolt, v0, or another tool
You can move an app built in tools like Replit, Bolt, or v0 into Lovable by uploading a ZIP file of its code. Lovable rebuilds the project and sets up your database and user accounts on its built-in cloud backend.
Anyone who built an app in another builder or codebase and wants to continue developing and hosting it inside Lovable.
Do this, in order
- 1
Export your project code from your current tool as a ZIP file under 250 MB, making sure to exclude environment files and dependency folders.
Lovable needs your clean code and configuration files without oversized build folders or exposed credentials.
- 2
Go to the Lovable dashboard, click the '+' button inside the prompt box, and select 'Import project to Lovable'.
This opens the import tool where you can choose your source app builder or upload code directly.
- 3
Choose your source tool or select 'Upload code', drop your ZIP file into the dialog, and click 'Start import'.
Lovable reads your files, recreates your screens and backend tables, and opens the project chat to manage the migration.
- 4
Provide any required API keys through the secure popup forms that appear during the build.
External services like Stripe or email providers need active keys to work, but sensitive credentials should never be typed directly into chat.
- 5
Export each database table and your user accounts as individual CSV or JSON files from your old tool, and attach them in the project chat.
Code ZIP files never contain database records or user accounts, so you must supply the data files separately.
- 6
Test the preview, publish the project, and connect your custom domain when you are ready to switch from your old tool.
Your original app keeps running without interruption until you point your domain to your new Lovable project.
Paste this into your project
I have attached the exported database tables and user records as CSV files. Please import them into the built-in database, map the users to their original IDs, and verify that all tables and relationships are correctly set up.
Words decoded
- .env file
- A plain text file where developers store private passwords and secret keys for external services.
- SQL dump
- A single database backup file containing raw database code, which Lovable cannot import directly through chat.
- Webhook
- A dedicated web address that outside services like Stripe call to notify your app when something happens, such as a completed payment.
Where people get stuck
- Never include .env files or passwords in your code ZIP; input keys only through the official secret forms when Lovable prompts you.
- Do not upload a single whole-database SQL dump; export each table separately as a CSV or JSON file under 2 MB each.
- User passwords and active logins do not transfer; notify existing users that they will need to confirm their email and pick a new password on their first login.
- Uploaded media files like images or documents stored in the old tool's file storage are not included in database exports and must be transferred separately.
- Only the first build of your first import is free; subsequent prompts and data imports consume workspace credits.
The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.