Automate now

Claude as a Website Builder: Migrate or Build a Site With Claude Code

Search interest in “Claude website builder” has grown fast over the past year, and the question behind it is simple: can Claude build my website? It can write one, often very well. But Claude is not a website builder in the way Wix or Squarespace are. There is no drag-and-drop editor, no hosting plan and no domain to buy. What you get is code, and what you do with that code decides whether you end up with a working site.

Short answer: Claude can build a complete small website. Use Claude Code, Anthropic’s coding agent, to create the files (plain HTML or an Astro project) in a folder on your computer, check them, then host them yourself, for example free on Cloudflare Workers. Claude does not host sites. Moving an existing site is harder than building a new one, because every URL, image, redirect and form has to survive the move.

This guide covers what each Claude product can do for a website, what it costs, two paths (a new site, and an existing one), and when Claude is the wrong tool. Plan prices and product facts come from Anthropic’s own pages, checked on 6 December 2026; sources are at the end.

What Claude can and cannot do for a website

“Claude” is three different things when it comes to building a site. They do very different jobs.

claude.ai chat Artifacts Claude Code
What it is The chat assistant on web, desktop and mobile Pages, documents and small tools Claude creates beside a conversation or a Claude Code session An agent that reads and edits files in your project and runs commands
Good for Planning pages, writing copy, producing a few HTML files to copy out A one-page mockup, landing page draft or prototype you can share by link Building and maintaining a real multi-page site in a folder or Git repository
Multi-page site Possible, but you copy and save each file by hand No: an artifact is one self-contained page with no backend and cannot serve multiple routes Yes
Your own domain No (you host the files elsewhere) Not covered in Anthropic’s docs; artifacts are viewed on claude.ai No (you host the files elsewhere)
Runs build tools, Git, deploys No No Yes, from your terminal, IDE, desktop app or the web
Plans All plans, including Free Free and paid plans; Claude Code artifacts need Pro or above Pro and above, or an Anthropic Console (API) account

A few points behind the table:

  • Chat is fine for a first draft. The Free plan can “search the web, create files, and run code”, so you can ask for an index.html and a stylesheet and download them. It gets tedious beyond a handful of pages, because you are the one moving files between the chat and your computer.
  • Artifacts are for showing, not hosting. Anthropic’s Claude Code docs describe an artifact as “a capture of work: one self-contained page with no backend, so it can’t serve multiple routes.” Each one runs under a strict Content Security Policy that blocks external images and most external scripts, so images are embedded in the page. You can share an artifact with anyone who has the link, which is handy for getting feedback on a design. It is not a substitute for a website on your own domain.
  • Claude Code is the closest thing to a “Claude website builder”. Anthropic describes it as “an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.” It can create every page, run a static site generator such as Astro, preview the site, and commit each change to Git with a message.

What none of them do: register a domain, host the site, run a server-side contact form, or vouch for the facts in your copy. If you give Claude gaps, it can fill them with plausible text. Give it your real business details and read everything before it goes live.

Which Claude plan you need

Claude Code is not part of the Free plan. Anthropic’s pricing page, checked on 6 December 2026, lists these plans for individuals and teams:

Plan Price (USD) Claude Code included
Free $0 No
Pro $20 a month billed monthly, or $17 a month with annual billing ($200 up front) Yes
Max $100 a month (“5x Pro usage”) Yes
Ultra $200 a month (“10x Pro usage every week”) Yes
Team, standard seat $25 per seat a month billed monthly, $20 billed annually Yes
Team, premium seat $125 per seat a month billed monthly, $100 billed annually Yes

Usage limits are counted over five-hour windows and over each week (Ultra has no five-hour limit for verified accounts), and Anthropic notes that limits depend on the model, the length of the chat and file sizes. For a small brochure site, Pro is the usual starting point. Claude Code can also run on an Anthropic Console account billed by API usage instead of a subscription.

On models: Anthropic’s current lineup is Claude Fable 5.2, Claude Opus 5.5, Claude Sonnet 5.5 and Claude Haiku 5.5. Its models overview says to “start with Claude Opus 5.5 for most workloads” and describes Opus 5.5 as built “for long-running agentic coding and knowledge work”. Which models your plan can use in Claude Code depends on the plan.

Path A: build a new small site with Claude Code

This path suits brochure sites, landing pages, portfolios, event pages and small documentation sites. The workflow:

  1. Install Claude Code. On macOS, Linux or WSL the official command is curl -fsSL https://claude.ai/install.sh | bash; Windows has a PowerShell equivalent, and there are Homebrew and WinGet packages. Then cd into an empty project folder and run claude. If you would rather not use a terminal, the Claude desktop app has a Code tab, and Claude Code also runs in the browser at claude.ai/code.
  2. Write a brief and keep it in the project. Claude Code reads a CLAUDE.md file in the project root at the start of every session. Put the rules there: who the site is for, the pages, your real business details, colours and fonts, “do not invent prices, reviews or facts”, “every page needs a unique title, meta description and one H1”. Rules in a file beat rules repeated in every prompt.
  3. Choose plain HTML or Astro. Plain HTML, CSS and a little JavaScript is enough for five pages and has no build step. Astro is a static site generator: you get shared layouts and components, Markdown for content, and a build command that outputs plain HTML files. Once a site has more than a handful of pages or a blog, Astro saves Claude (and you) from editing the same header in twenty files.
  4. Build one change at a time. Ask for the layout, then each page, then fixes. Claude Code shows what it plans to change and asks before running commands, depending on your permission settings. Let it commit each step to Git so you can roll back anything you do not like.
  5. Review in a browser. Run the local preview, click every link, check the site on a phone-sized window, read every sentence. AI output looks finished before it is.
  6. Deploy. Cloudflare Workers can serve a folder of static files with HTTPS and your own domain. Cloudflare states that “requests to static assets are free and unlimited”, and the free plan allows 20,000 files per Worker version, each up to 25 MiB. Deploying is a short config file and one command. Our guide on building a website with AI and hosting it free on Cloudflare Workers walks through it step by step, including custom domains, _headers, _redirects and contact forms, so we will not repeat it here.

A real example: 4ptransform.org

4ptransform.org, one of our own sites, was built this way. Its Git history starts on 18 November 2026. As of 6 December 2026 it has 122 commits, and 90 of them carry a “Co-Authored-By: Claude” line, meaning they were written with Claude Code and then reviewed and pushed by a person. It is an Astro site, and its Cloudflare config uses static assets only: no server code, a 404 page and two custom domains. A GitHub Actions workflow deploys it on every push to the main branch. Before that, each change goes to a separate preview Worker on its own address, served with a noindex header so search engines leave it alone, and a person checks it there.

Two habits made that work. The repository has a CLAUDE.md with the site’s naming rules and review flow, so every session starts from the same rules. And nothing goes live without a person looking at the preview first. Claude Code writes fast; the review step is what keeps the site accurate.

Path B: an existing site, rebuild or migrate?

If you already have a WordPress, Wix or other site, there are two quite different jobs:

  • Rebuild from scratch: treat it as a new site. Write fresh pages with Claude Code, keep only what you still need, and accept that some URLs and old content will go.
  • Migrate: keep the site as it is, same URLs, same content and the same look, but publish it as static files on a new host.
Rebuild from scratch Migrate and keep URLs and look
Effort for a 5-page site Low Low to medium
Effort for a site with a blog of hundreds of posts High (every post rewritten or re-imported) Medium to high, mostly checking
Old URLs Many change; you need a redirect map All kept, or redirected on purpose
Search rankings At risk if old URLs break Kept, as long as every URL still answers
Design New Matches the old site
Good when The old site is small, outdated or you want a new brand The site has traffic, backlinks and content you need to keep

Rebuilding is where Claude Code shines: a blank folder, a brief and a few hours. Migrating is harder, and the hard parts are not the HTML.

Why migrating is harder than it looks

  • URLs. Every page, post, category, tag, author and attachment page that search engines know about has an address. Google’s site-move guide says “it’s important to map your old site’s URLs to the URLs for the new site”, and warns that sending many old URLs to one unrelated page such as the home page “might be treated as a soft 404 error.” A migration has to list every URL first (sitemap, crawl, analytics) and prove at the end that each one still answers.
  • Redirects. Where a URL must change, it needs a permanent redirect. Google recommends server-side permanent redirects such as 301 or 308 and keeping them “for as long as possible, generally at least 1 year.” On Cloudflare Workers a _redirects file holds up to 2,000 static and 100 dynamic redirects; beyond that you need a small Worker script.
  • Media. Images, PDFs, videos and fonts usually live on the old host or a CMS CDN. If the new site still points at them, it breaks the day the old hosting is cancelled. Every file has to be downloaded and served from the new site, and Workers has a 25 MiB limit per file, so large videos need a home elsewhere.
  • The look. Page builders produce a lot of nested markup and CSS. Rebuilding that faithfully by reading the source is slow. Rendering each page in a real browser, on desktop and mobile, and comparing screenshots of old and new is far more reliable.
  • Forms and dynamic features. Contact forms, site search, comments, logins, carts and booking widgets run on the server today. On a static site each needs a replacement: a form service or a small Worker, a client-side search index, a hosted store.
  • Archives. Date archives, category pages and paginated blog lists change every time you publish. On a static copy they are a snapshot of the day of migration, unless you rebuild them as real Astro pages.
  • SEO details. Titles, meta descriptions, canonical tags, structured data, robots settings and the XML sitemap must come across too. A preview copy must stay out of search results until launch.

Claude Code can help with every item on that list: writing the crawl script, downloading media, generating the redirect file, building the Astro pages. But for a site with hundreds of URLs, the job is less about writing code and more about checking that nothing was lost. Plan for that checking time.

Migration checklist

  1. Export the full list of URLs: XML sitemap, a crawl of the live site, and top landing pages from your analytics and Search Console.
  2. Decide for each URL: keep, redirect (to a specific page), or remove on purpose with a 410.
  3. Back up the old site, including media, before you touch anything.
  4. Download every image, document, video and font the pages use, and rewrite links to point at the new copies.
  5. Rebuild each page and compare it with the live page in a browser, desktop and mobile.
  6. Carry over titles, descriptions, canonicals, structured data and the sitemap.
  7. Replace forms, search and other server features, and test each one.
  8. Put the new site on a preview address that search engines do not index, and have the owner review it.
  9. Check that 100% of the URLs from step 1 return the page or the planned redirect, with no 404s.
  10. Switch DNS, submit the new sitemap in Search Console, and keep the old host for a few days in case you need to roll back.

For the WordPress side in more detail, see how to migrate a WordPress site, and for the framework choice, Astro vs WordPress.

If you would rather not do the migration yourself

Disclosure: Beehexa sells this as a service. Our AI static website builder moves WordPress and Wix sites to a static Astro site on Cloudflare Workers, using AI agents checked by our team. The agents render every page in a real browser, keep every old URL and check 100% URL coverage, download images, videos, documents and fonts, and compare screenshots with the live site. You review a preview that search engines do not index, and nothing goes live until you approve it. Forms, search and stores need replacing, blog archives are a snapshot of the migration day, and files over 25 MB are hosted outside the site. Lighthouse scores of 100 are the target we build each site to, not a promise. You can start with a free 3-page sample; Starter is $490 for up to 100 pages, Business $1,490 for up to 500 pages, and larger sites get a quote. beehexa.com itself is an Astro site on Cloudflare Workers.

When Claude, or a static site, is the wrong choice

  • Non-technical editors. If staff who never open a terminal update the site every week, a CMS or a hosted website builder will be less work than asking Claude Code for each change.
  • Stores, member areas and bookings. These need a backend. Claude Code can build one, but you then own a web application, not a static site, with all the maintenance that brings.
  • No time to review. Claude Code can produce a lot of change quickly. If nobody reads the result before it is deployed, mistakes ship just as quickly.
  • Large sites with heavy daily publishing. A newsroom or a large catalogue is better served by a CMS, possibly with a static front end.

For other options, see our guide to WordPress alternatives.

FAQ

Can Claude build a website?

Yes. Claude can write a complete small website as HTML, CSS and JavaScript or as an Astro project. Claude Code is the best fit, because it creates and edits the files in your project folder, runs the build and preview, and commits each change to Git. You still review the result and host the files yourself.

Is Claude a website builder like Wix or Squarespace?

No. Claude has no drag-and-drop editor, hosting or domain sales. It writes code that you own. Artifacts can show a single page on claude.ai and be shared by link, but Anthropic describes an artifact as one self-contained page with no backend that cannot serve multiple routes.

Do I need a paid Claude plan to build a website?

To use Claude Code, yes. Anthropic’s pricing page lists Claude Code as not included in Free. Pro costs $20 a month billed monthly, or $17 a month with annual billing. You can draft a few HTML files on the Free plan in chat, but Claude Code is far more practical for a full site.

Can Claude host my website?

No. Claude creates the files; a host serves them. Cloudflare Workers is a good free option for static sites: Cloudflare states that requests to static assets are free and unlimited, and the free plan allows 20,000 files per Worker version.

Can Claude Code migrate my WordPress or Wix site?

It can help a lot, but a migration is more than writing pages. Every old URL has to keep working or redirect, every image and file has to be downloaded, forms and search need replacing, and each page should be compared with the live site before launch. Budget most of the time for checking.

Which Claude model should I use for building a website?

Anthropic’s models overview recommends starting with Claude Opus 5.5 for most workloads and describes it as built for long-running agentic coding. Which models you can pick in Claude Code depends on your plan.

Is a website built with Claude good for SEO?

It can be. Search engines care about useful, accurate content, clean HTML, speed and working URLs, not about who typed the code. Give every page a unique title, description and H1, check every fact, and when you replace an old site, keep or redirect every URL.

Sources

Pages read on 6 December 2026.