- Free and Pro plans: Your published app URL can be visited by anyone with the link. You cannot restrict URL access on these plans, so make sure you’re ready to share before publishing.
- Business and Enterprise plans: You can control who can visit your published app URL, either anyone with the link or only authenticated workspace members.
Website access settings (Business and Enterprise plans)
On Business and Enterprise plans, you can manage who can visit the published app URL to maintain privacy and control. This enables you to:- Build and share internal apps that stay private to your workspace.
- Prevent teammates from unintentionally publishing apps externally.
- Support governance and compliance for organizations that handle sensitive data.
Workspace-level setting
Workspace admins and owners can set a default published URL access policy for all published apps. Go to Workspace settings → Privacy & security → Default website access, and choose one of:- Anyone: Anyone with the link can visit the published app URL (public website access).
- Workspace: Only authenticated workspace members can visit the published app URL (private website access). When selected, the publish button label changes to Publish to workspace.
Project-level setting
You can override the workspace default for individual projects. Go to Publish and set Who can visit the URL? to:- Anyone: Anyone with the link can visit the published app URL (public website access).
- Workspace: Only authenticated workspace members can visit the published app URL (private website access). When selected, the publish button label changes to Publish to workspace.
Publishing your project
By default, editors and above can publish projects on all plans.- On Business and Enterprise plans, this includes both publishing internally to the workspace and publishing externally to the web.
- On Enterprise plans, workspace admins and owners can go to Workspace settings → Privacy & security → Who can publish externally to restrict external publishing to:
- Admins & owners
- Owners only
- In your project, click the Publish icon in the top-right corner.
- In the Publish modal, review and configure:
- Published URL: Enter your preferred URL or leave the input field empty for Lovable to auto-generate a URL. By default, your app is published to
[published-url].lovable.app. When published, you can add a custom domain (available on paid plans). - Choose who can visit the URL:
- Anyone: Anyone with the link can visit the published app URL (public website access).
- Workspace (available only on Business and Enterprise plans): Only authenticated workspace members can visit the published app URL (private website access).
- Website info: Lovable provides site metadata, but you can customize how your site appears in browser tabs, search results, and link previews.
- Icon & title: the site icon (favicon) and site title shown in browser tabs, search results, and link previews. Click on the icon to upload a new one. Click on the title text to update it.
- Description: the meta description used in search results and link previews. Click on the text to update it.
- Share image: the social sharing image (OG image) shown when your website link is shared, for example, on social media and messaging apps. Click to upload an image. By default, a screenshot of the app is used.
- Published URL: Enter your preferred URL or leave the input field empty for Lovable to auto-generate a URL. By default, your app is published to
- Click Review security to surface potential security vulnerabilities before going live.
Always perform a security review before publishing. This helps identify vulnerabilities that could expose sensitive data or allow unauthorized access. Learn more in Security.
- When ready, click Publish.
When the deployment is complete, you’ll receive a pop-up with the published link.
FAQ
Does publishing expose my project and code?
Does publishing expose my project and code?
No, publishing only makes the app available at the published URL. It does not grant anyone access to your project or code, and publishing your project does not make it automatically remixable.Your project visibility setting determines who can view, collaborate on, and remix your project. Projects are private to your workspace by default. Only projects with public project visibility can be viewed and remixed by anyone.
Why can't I see my changes on the published version of my site?
Why can't I see my changes on the published version of my site?
Changes aren’t automatically pushed to your live app. To publish updates, click Publish and then Update.
Can I change my site metadata (favicon, site title, meta description, OG image)?
Can I change my site metadata (favicon, site title, meta description, OG image)?
Yes, at any time, you can customize how your site appears in browser tabs, search results, and link previews.By default, Lovable generates site metadata, adds a Lovable logo as the favicon, and a screenshot of your app as the Open Graph (OG) image.To change this, click Publish and review and configure the website info:
- Icon & title: the site icon (favicon) and page title shown in browser tabs, search results, and link previews. Click on the icon to upload a new one. Click on the page title text to update it.
- Description: the meta description used in search results and link previews. Click on the text to update it.
- Share image: the social sharing image (OG image) shown when your website link is shared, for example, on social media and messaging apps. Click to upload an image.
Can I change my published link (website URL)?
Can I change my published link (website URL)?
Yes. You can change your project URL subdomain, which forms your lovable.app website address in two ways:
- Click Publish, edit your subdomain, and click Update.
- Go to Project settings → Edit URL Subdomain, change the subdomain, and click Update URL Subdomain.
Can I unpublish my project?
Can I unpublish my project?
Yes. You can unpublish your project. Go to Project settings → Unpublish project and click Unpublish.Once unpublished, your app will no longer be accessible to anyone.
Why can't I publish my site?
Why can't I publish my site?
If you get an error when publishing your site, it is most likely due to an unsurfaced build error causing the current version of your website not to function. Try troubleshooting the issue by asking the Lovable Agent to investigate it.