Guides · Updated 19 September 2026
How to download your code from Lovable as a zip (no GitHub needed)
Lovable has a button that downloads your entire project as one zip file. It is a little hidden, because it sits at the bottom of the code view rather than in a menu. Here is exactly where to find it.
Where is the download button?
- Open your project in Lovable.
- At the top, next to the Preview button, click the small menu and choose Code. The file list of your project appears on the left.
- Scroll to the very bottom of that file list.
- Click Download codebase. The button shows a spinner for a moment and your browser downloads a zip file.
Where did the file go?
Into your Downloads folder, like any other download. On a Mac, open Finder and click Downloads in the sidebar. On Windows, open File Explorer and click Downloads. The file is named after your Lovable project and ends in .zip, for example lisbon-movers.zip.
Do not unzip it. Hosting services that accept Lovable projects, including this one, want the zip exactly as Lovable made it.
What is inside the zip?
The full source code of your site: pages, components, styles and settings. Two things are not inside. Images you added in Lovable stay on Lovable's servers, and the zip only holds small pointer files to them. And if your project uses a database or logins, those live in Lovable Cloud or Supabase, not in the code.
What can I do with it?
Keep it as a backup, open it in a code editor, or host it on your own domain. To host it, drag the zip into the box on the Lovely Hosting home page. It is built and online at a free address in about a minute, with your images fetched for you. From there you can put it on your own domain for $9.00 a month.
Try it now, free
Drop the zip from your Downloads folder here. No account, no card. Your site is online in about a minute.
Common questions
Where is the zip file after I click Download codebase?
In your Downloads folder, the same place your browser puts every download. It is named after your project and ends in .zip, for example my-project.zip. Do not unzip it. Drag that file from your Downloads folder straight into the box on our home page.
Will my images still work outside Lovable?
Yes. Images you add inside Lovable are stored on Lovable's servers, not in the zip, which is why they break on most other hosts. Lovely Hosting fetches them for you during the upload so they keep working.
Does it work with sites that have a login or a database?
Pages, forms, images, animations and multi-page sites work. Sites that depend on Lovable Cloud or Supabase for logins or a database are not fully supported yet. Try the free preview first: if your site works on the free address it will work on your domain.