---
title: "Publishing your project | Spark Docs"
description: "Review your preview, publish or unpublish your public site, and restore an earlier version."
canonical: "https://spark.site/docs/building/preview-and-publish"
---

# Publishing your project

Spark builds changes to your public site in a preview. Publishing makes those changes available at your Spark URL and any connected custom domain.

You can publish on any plan. On the Free plan your site is live at its Spark URL with a Built with Spark badge; a [paid plan](https://spark.site/docs/billing/plans-and-credits) adds a custom domain, payments and a site without the badge. [If your plan ends](https://spark.site/docs/billing/plans-and-credits#if-your-plan-ends), the site stays published at its Spark URL.

## Check the preview

Open **Public site** and use the Pages list to move through your site. Try the desktop, tablet, and phone controls above the preview.

Before publishing, check:

-   Your business details, prices, and contact information are correct.
-   Navigation and buttons lead where you expect.
-   Text and images work on a phone.
-   Any sign-in, booking, or purchase flow behaves as intended.

Treat actions involving customer data or connected services with care. A preview is a place to review your site; it doesn’t mean every action is simulated. Where **Preview as** is available, use it to check different customer states.

In **Preview as**, choose **Everything unlocked**, **Free user**, or **Signed out**. Under **Owns products**, you can select several products together. For each subscription, choose the billing interval when there is a choice, then **Active** or **Past due** to check how your site handles that state.

## Publish your public site

1.  Wait for Spark to finish the changes you’re reviewing.
2.  Choose **Publish** at the top of the public site.
3.  Review the confirmation, including the destination and listed changes.
4.  Confirm **Publish**, then open the live address to check the result.

If the confirmation offers **View changes**, open it to inspect the changes. Close that view to return to the confirmation with your selection intact. You still need to confirm **Publish** to make it live.

On a phone, publish and restore confirmations open as sheets from the bottom of the screen.

![The public-site toolbar showing Not published, Versions, Publish, and Spark.](https://spark.site/images/docs/publishing.png)

Publishing applies to the public site as a whole, including changes on other pages. Check all pending work before confirming. If there are pending changes to your site’s AI knowledge, those are included too.

After your first publish, you can keep working in the preview while visitors use the published version. Share your Spark URL with customers, or [connect a custom domain](https://spark.site/docs/business/domains).

## Unpublish your public site

An owner or admin can unpublish a site on any plan.

1.  Open **Public site** and open the menu beside **Publish**.
2.  Choose **Unpublish site**.
3.  Review the confirmation, then choose **Unpublish**.

The site shows **Offline**, and visitors who open its address see a **Page not found** page. Your project, preview, data, domains, and published history are saved. Customer subscriptions will be paused. Scheduled tasks and emails keep running.

To bring the site online again, choose **Publish** and review the usual confirmation. This publishes your latest preview, including any unpublished changes. Customer subscriptions paused by Spark will resume when your project can take payments again.

If publishing is already in progress, wait for it to finish before unpublishing.

## Restore an earlier version

Open **Versions** to review the site’s changes and published history. Find the published version you want, choose **Restore**, and review the confirmation before proceeding.

Restoring replaces the live site with that version. It doesn’t undo customer transactions or restore business data. The version you’re replacing remains in history.

## See who visits your site

Open the **Visitors** card in your project’s **Analytics** internal tool. Choose **7 days**, **30 days** or **90 days** to see visitor counts, visits, daily page views and your most viewed pages.

Spark counts visits to your published site without cookies and filters out bots. Your preview isn’t counted. A visit ends after 30 minutes without a page view.

You can also ask Spark how many people visited this week, including through [ChatGPT or Claude](https://spark.site/docs/building/use-spark-from-an-assistant). If your Analytics tool doesn’t have the Visitors card yet, ask Spark to add it.

## If a change isn’t live

Check whether the public site still shows unpublished changes. Make sure you published after the last edit and that you’re looking at the live address.

If publishing is unavailable, check whether Spark is still working or waiting for your response, then check your plan and any billing notice.

**This version can’t be published** means Spark rolled back an automatic update in that version. Choose **Review latest preview**, check the newest preview, then publish it. If Spark finds the problem after you confirm Publish, the message says **Your site wasn’t published** instead.

If every page of the live site shows **Page not found**, the site is offline. Check whether an owner or admin unpublished it. If nobody did, Spark may have suspended the account; [contact support](https://spark.site/docs/contact).

If you’ve [scheduled account deletion](https://spark.site/docs/account/delete-your-account), your sites go offline immediately and show a holding page. Sign in to Spark and cancel the deletion to bring them back online. A site that was already offline for another reason stays offline.

A “temporarily unavailable” notice on the whole site means a Spark invoice is unpaid (see [If a payment fails](https://spark.site/docs/billing/plans-and-credits#if-a-payment-fails)). At your own domain, the same notice appears when your plan no longer includes custom domains. An ended plan doesn’t take the site offline: it stays published at its Spark URL.

## Internal tools

Internal tools work inside Spark. Their changes apply when Spark finishes, without a separate Publish step. Use the **Undo** action on an applied change or the tool’s history to return to an earlier version.

To rename an internal tool, open it and choose **Rename** from the **⋮** menu beside its name. Enter the new name and choose **Save**.

To remove a tool, choose **Delete** from that menu and confirm. Deleting takes the tool offline and removes its builder history; it cannot be undone. The Payments tool has no Rename or Delete action.
