How to move a Squarespace site to static hosting
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 export | Static copy with WebExport | |
|---|---|---|
| Output | An XML file | A ZIP of HTML, CSS, JavaScript, fonts and images |
| Meant for | Importing content into another platform such as WordPress | Serving the site as it looks today from any file host |
| Design | Squarespace’s help says features that rely on its JavaScript and CSS do not carry over | Template stylesheets, gallery scripts and images are saved |
| Blogs | Squarespace’s help says only one blog page exports | Pages found in the sitemap are saved |
| Forms and commerce | Not part of the file | Not part of a static copy either, so replace them |
Six steps to move
- Count your pages from the sitemap. The command below prints how many URLs the sitemap lists.
- Paste your public URL into the export form, download the ZIP and open the pages from disk.
- 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.
- Rebuild redirects for every URL that changes, starting with dated blog posts.
- Replace forms, newsletter signups and store blocks, then test each one.
- Lower the DNS TTL a day ahead, switch the records, and keep Squarespace live until the new host answers.
# 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 AWhat happens to each Squarespace feature
| Feature | On a static host | What to do |
|---|---|---|
| Pages and galleries | Saved as files with their styles and scripts | Compare each gallery with the live site |
| Blog posts | Saved if they appear in the sitemap or in page links | Check dated URLs and add redirects |
| Contact and newsletter forms | Stop working | Use a form service or your email provider’s embed |
| Store and checkout | Not included | Keep a store elsewhere and link to it |
| Load-more and search | May still ask the live site for data | Test 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
- Squarespace Exit PlannerStep-by-step guide and checklist generator for leaving Squarespace.
- No-Code Lock-in ScoreAnalyze any platform and get a portability score with data export options.
- Redirect Map BuilderBuild an old-to-final redirect mapping from URL lists.
- Static Site Image OptimizerConvert images to WebP to eliminate hosting bandwidth overages.
- Static Hosting PickerAnswer 5 questions and get the best hosting recommendation for your exported site.
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.