Skip to main content
The preview is the live, interactive version of your app that runs on the right side of the editor. It updates as Lovable builds, so you can watch changes appear, click through your app, and test it exactly as your users would. Think of the preview as your app’s staging environment: a private testing space that always runs your latest work. Your visitors see the published version instead, a snapshot that only changes when you publish. That separation gives you room to iterate before visitors see the result. Keep in mind that the preview and your published app share the same backend and data, so changes to your database affect both.

Why the preview matters

The preview is where you check Lovable’s work. Instead of guessing whether a change landed correctly, you click around your app, try the flow you asked for, and give feedback right away. Testing in the preview before you publish keeps unfinished work off your live site.

Common ways to use the preview

  • Check each change as it lands: After you send a request, watch the preview update and confirm the result matches what you asked for.
  • Test a flow end to end: Sign up, fill in a form, or complete a checkout in the preview before your users do.
  • Review on different screen sizes: Use the device toggle above the preview to make sure your app works on a phone, not just on your laptop.
  • Collect feedback: Share a view-only preview link from the Share menu so a friend, client, or teammate can see your progress. See Share a preview.

Preview controls

The bar above the preview holds the controls for moving around your app:
  • Device toggle: Switches the preview between Desktop view, Tablet view, and Mobile view so you can check your app at phone and tablet sizes before you share it.
  • Page selector: Shows the page you’re viewing. Click it to see all of your app’s pages, find one by typing in the Find page or enter path field, or enter a path directly to jump there.
  • Refresh: Reloads the preview.
  • Open in new tab: Opens your development preview in its own browser tab, so you can test it full screen or keep it visible while you chat. This URL requires signing in to Lovable with access to your project. To show your app to someone without access, use a preview link instead.
If the preview looks wrong or won’t load, click Refresh first. Hold Shift while clicking Refresh to also restart the preview environment, which resolves most loading issues. A hard browser refresh (Cmd+Shift+R on Mac, Ctrl+Shift+R on Windows/Linux) can help too.
A few more controls sit in the top right corner, above the preview:
  • Preview toolbar toggle: Bring back the preview toolbar if you’ve hidden it, so you can select elements, edit text, and draw on the preview.
  • Comments: Open your project’s comments to catch up on feedback pinned to the preview.
  • Collaborator avatars: See who else is in the project right now.
  • Share and Publish: Invite people or create preview links, and put your app live. See Share your project and Publish your project.
The editor map describes the full top bar.

Preview pause

Your preview runs in a temporary cloud environment that Lovable starts for your project while you work. When you’re away from the project for a while, that environment pauses to save resources, and the preview shows a Still building? message noting that Lovable paused it. Click Keep building to resume. The environment starts again and the preview picks up exactly where you left off. Pausing is normal and changes nothing about your project. Your published site is never affected, and visitors can still access your live app while the preview is paused.

Edit directly from the preview

The preview toolbar, the floating toolbar inside the preview, turns the preview into an editing surface. Its four modes each change what clicking does:
  • Select elements: Point Lovable at a specific element and describe the change in plain language.
  • Edit text inline: Fix typos and copy directly on the page, without a prompt.
  • Draw annotation: Sketch on top of your app to show a layout change that’s hard to describe.
  • Add a comment: Pin feedback to a specific element for you or your collaborators.
When you know exactly which part of the page you want to change, pointing at it is usually faster and more precise than describing it in chat. See Edit from the preview for the full guide.

Test your app

Test the important flows yourself in the preview: click every button, submit your forms, and try the paths your users will take. You can also ask Lovable to test for you. Lovable can open your app in a real browser, navigate pages, click buttons, fill forms, and report what it finds, and it can run automated tests for your app’s logic. Ask in chat:
See Test and verify your app and Browser testing.

Share a preview

To let someone see your working version without giving them access to the project, create a Share preview link from the Share menu in the top right of the editor. Anyone with the link can open it while it’s valid, with no Lovable account needed. Guests can’t edit anything. By default they can leave comments on the preview, and you can turn guest comments off in the Share menu before copying the link. Links expire after 7 days, and Enterprise workspaces can disable share preview links entirely. Learn more in Share your project.

FAQ

Click Refresh above the preview first. If that doesn’t help, hold Shift and click Refresh to restart the preview environment, or do a hard browser refresh (Cmd+Shift+R on Mac, Ctrl+Shift+R on Windows/Linux).A blank preview usually comes from an error in the app itself. Ask Lovable about it in chat:
If the preview shows “Not found” or keeps spinning up, that’s often temporary. Try again in a moment.
No. The preview always shows your latest working version. Your published site is a snapshot that only changes when you publish. If you make changes in the editor, visitors won’t see them until you publish an update. See Publish your project.
Only people you let in.Collaborators open the preview in the editor. Viewers see just the preview, while editors and admins see the full editor, including chat.To show your work to someone outside the project, send them a Share preview link. Anyone with the link can view your working version in their browser, with no Lovable account needed, until the link expires after 7 days.There is no permanent public URL for your preview. See Share your project.
The preview pauses after you’ve been away for a while to save resources. Click Keep building to resume. This is normal and has no effect on your published site.
Use the device toggle above the preview to switch between Desktop view, Tablet view, and Mobile view. You can also click Open in new tab and resize your browser window, or open a preview link on your phone.