How to move a Squarespace site to static hosting

Short answer

Save your public pages as static files with WebExport, deploy the folder to a static host, rebuild redirects, replace form and store blocks, then switch DNS. Squarespace’s own export produces an XML file meant for WordPress, so it does not do this job. Keep your Squarespace plan until the new host answers on your domain.

Last reviewed

Key facts

  • Squarespace’s help describes its export as an XML file for importing content elsewhere, mainly WordPress.
  • WebExport reads the public site, so you share no Squarespace login and the live site stays untouched.
  • The Free plan covers 15 pages and 20 MB per export, and Professional removes the page cap.
  • Form, newsletter and commerce blocks post to Squarespace and need replacements.

Squarespace’s export compared with a static copy

Squarespace does have an export, but its purpose is different. It packages content so another platform can import it. A static copy packages the finished pages so any web server can show them. Pick the one that matches the goal.

Squarespace exportStatic copy with WebExport
OutputAn XML fileA ZIP of HTML, CSS, JavaScript, fonts and images
Meant forImporting content into another platform such as WordPressServing the site as it looks today from any file host
DesignSquarespace’s help says features that rely on its JavaScript and CSS do not carry overTemplate stylesheets, gallery scripts and images are saved
BlogsSquarespace’s help says only one blog page exportsPages found in the sitemap are saved
Forms and commerceNot part of the fileNot part of a static copy either, so replace them

Six steps to move

  1. Count your pages from the sitemap. The command below prints how many URLs the sitemap lists.
  2. Paste your public URL into the export form, download the ZIP and open the pages from disk.
  3. Choose a host. The pages for Squarespace on Vercel, on Netlify, on Cloudflare Pages, on Amazon S3 and on Nginx show the exact files to add.
  4. Rebuild redirects for every URL that changes, starting with dated blog posts.
  5. Replace forms, newsletter signups and store blocks, then test each one.
  6. Lower the DNS TTL a day ahead, switch the records, and keep Squarespace live until the new host answers.
terminal
# how many URLs does the sitemap list?
curl -s https://example.com/sitemap.xml | grep -c "<loc>"

# check the TTL on your A record before the switch
dig +noall +answer example.com A

What happens to each Squarespace feature

FeatureOn a static hostWhat to do
Pages and galleriesSaved as files with their styles and scriptsCompare each gallery with the live site
Blog postsSaved if they appear in the sitemap or in page linksCheck dated URLs and add redirects
Contact and newsletter formsStop workingUse a form service or your email provider’s embed
Store and checkoutNot includedKeep a store elsewhere and link to it
Load-more and searchMay still ask the live site for dataTest with the network tab open, or remove them

What can go wrong

  • Cancelling Squarespace before the DNS change has spread leaves some visitors with a dead site.
  • Dated blog URLs without redirects return 404s and lose their search traffic. See the SEO migration guide.
  • A gallery heavy site can pass the 20 MB Free plan limit. Check the ZIP size, and convert images with the image optimizer.
  • A page that still loads files from squarespace-cdn.com depends on your Squarespace plan.

Frequently asked questions

Can I download my Squarespace site as HTML?

Squarespace’s own export gives an XML file for importing into other platforms. WebExport saves the public pages as HTML, CSS, JavaScript and images that you can host anywhere.

Do I need to cancel Squarespace first?

No. WebExport reads the public site, so it stays live during the export. Cancel only after the new host serves your domain correctly.

Will my domain keep working?

Yes. Keep the registration where it is and change the DNS records to the values your new host gives you. Check Squarespace’s domain settings for how it handles custom DNS.

What does it cost?

The Free plan allows 1 site, 5 exports a month, 15 pages and 20 MB per export. Professional is a $9.99 one-time purchase with unlimited pages and a 2 GB limit.

Can the Squarespace Exit Planner help?

Yes. The Squarespace Exit Planner generates a step-by-step guide and a checklist for leaving Squarespace, which you can use next to the export itself.

Official documentation

Free tools for this job

Get your site files

Paste your public site URL into the export form and download a ZIP of static files. The Free plan covers 1 site, 5 exports a month, 15 pages and 20 MB per export. Professional is a $9.99 one-time purchase with unlimited pages.