Best for · Website builders
How to build a website with Claude, step by step
- Last checked
- 6 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Two ways.
Short answer
Two ways. For a one-page site, ask Claude in a chat to make it and it opens the page beside the conversation as an artifact. For a real multi-page site you own, use Claude Code: it edits files on your computer, runs commands and commits to git, then you upload the result to a host. Claude Code needs a paid plan: the Free plan says "No" to Claude Code on Anthropic's pricing page, Pro is $17 a month billed yearly or $20 monthly, and Max starts at $100. Prices read 4 December 2026, shown with a $ sign and no currency code.
The part Claude cannot do for you is hosting and a domain. Cloudflare Pages has a free plan and Netlify lists "$0 forever", so you can launch a small site without paying for hosting. Below: the steps in order, a table of which route fits which site, what the plans include, and what we did not test.
At a glance
| Route | Best for | Needs a paid Claude plan? | Where it lives | Main catch |
|---|---|---|---|---|
| Chat + artifact | One-page site, landing page, small tool | No: artifacts are on Free, Pro and Max | Beside your chat; sharing controls decide who can open it | Not a hosted site with your own domain |
| Claude Code (terminal or app) | Multi-page site you own | Yes: Claude Code is Pro and Max (Free: No) | Files on your computer, then git and a host | You handle hosting, a domain and updates |
| Claude Code on the web | Work on a repo with no local setup | Paid subscription or Console account | Cloud session in your browser | Still need to deploy somewhere |
| Website builder (Framer, Webflow) | No code, hosting included | No | Builder's hosting | Monthly fee, less control of the files |
Honest bit first. We did not build a website with Claude for this page. We read Anthropic's pricing page, its help article on artifacts and its Claude Code docs on 4 December 2026, plus the free-hosting pages from Cloudflare and Netlify, and we quote them. No "we built a bakery site in 20 minutes". If a number is here, a company published it.
Money talk: Anthropic and some builders on this page have or may have affiliate programs, and our /go/ links may earn us a commission. They do not change the steps, and the cheapest route below pays us nothing.
The two ways to do it
People ask this question meaning two different things.
Way one: Claude makes a page in the chat. You type "make me a one-page site for my dog walking business, blue and white, with a contact section". Claude builds it and shows it beside the chat. Anthropic's help article calls these artifacts, says they are "anything Claude makes for you that you'd put in front of someone", and says Claude can make single-page websites and small interactive tools. Artifacts are on the Free plan too, per the pricing page.
Way two: Claude Code builds a project on your computer. This is a real coding tool. Anthropic's overview describes it as "an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools." Describe a feature in plain language and it plans the approach and writes code across multiple files. It also works directly with git: stages changes, writes commit messages, makes branches.
If you want a page to show your friends, way one is plenty. If you want a site with several pages, your own domain and a repo you can keep forever, way two.
Step by step: a real site with Claude Code
1. Pick a plan. Claude Code is not on Free. Anthropic's pricing page marks it "No" for Free, "Yes" for Pro and Max. Pro is $17 a month with annual billing ($200 billed up front), or $20 if billed monthly. Max is $100 a month, with "5x Pro usage". Limits reset "every 5 hours and every week", and how fast you hit them depends on the model, how long your chats are and file size. The page says prices exclude tax and may change.
2. Install it. In a terminal, Anthropic's recommended native install on macOS, Linux and WSL is a single curl command; on Windows PowerShell there is an irm command; Homebrew and WinGet also work. Open a new terminal, run claude --version, and a version number means it worked. If you have never used a terminal, Anthropic links a terminal guide. The same docs list a desktop app, a VS Code extension, JetBrains plugin and a web version at claude.ai/code, and say most surfaces need a Claude subscription or Console account.
3. Make a folder and start. cd your-project then claude. It asks you to log in on first use.
4. Describe the site like a brief. Say who the site is for, which pages you need, the tone, colours, and what the visitor should do. Ask for plain HTML and CSS if you want the simplest thing to host. Ask for a framework only if you know why.
5. Ask it to run and check its own work. The docs describe it as planning, writing and verifying. Ask it to open the site locally and tell you what is broken, then look yourself on a phone width and a laptop.
6. Save it with git. Claude Code can commit for you. A git repo is your undo button and also how most hosts pick up your site.
7. Host it. This is the step Claude does not handle. See below.
8. Point a domain at it. You buy the domain from a registrar, then connect it. Our page on how to register a domain covers the buying side.
Hosting a Claude-made site for free
Cloudflare's limits page lists, for Pages on its free plan: 500 builds a month, one build at a time, builds time out after 20 minutes, 100 projects per account, up to 20,000 files per site, a 25 MiB limit per file and 100 custom domains per project. The page lists no bandwidth cap, which is worth knowing and also worth reading for yourself.
Netlify's pricing page lists a free plan at "$0 forever" with a 300 credit limit and "Add Custom domains with SSL". The page does not list bandwidth, build minutes or forms allowances for Free, only that bandwidth costs 20 credits per GB. Personal is $9 a month with 1,000 credits and Pro is $20 a month with 3,000 credits.
So a small site with some pages and pictures can live free. A site with large video files in the repo cannot, because of the 25 MiB per-file limit on Cloudflare. For paid options and comparisons, see our best web hosting page.
What artifacts can and cannot do
The help article is careful about limits, and so should you be:
- Artifacts require the "Create and edit files" capability to be turned on in settings.
- Default data storage is up to 100 MB and 25,000 documents, whichever comes first.
- Uploaded files can be up to 20 MB each, 5,000 files and 1 GB total.
- Artifacts can call Claude directly, with "no API keys required", and usage counts against each user's own plan.
- Artifacts can connect to your connected apps with your approval.
- Template artifacts can be exported, including to standalone HTML for designs.
- Older artifacts made in chat before September 16, 2026 are called legacy, with a 20 MB storage limit, and can no longer be created after that date.
What the article does not say is that an artifact becomes a hosted website on your own domain. It describes sharing controls. So for a business site, copy the code out and host it, or use Claude Code.
Is Claude better than a website builder?
Depends on the person. Builders such as Framer and Webflow host the site for you, handle SSL and give you a visual editor, in exchange for a monthly fee. Claude Code gives you files you own, a free host, and no editor except more prompts.
If you can already describe your site in words and do not need a drag and drop editor, Claude is faster and cheaper per month. If you want to nudge a button three pixels left with your mouse, use a builder. Our guides on whether Codex can build a website and whether Base44 can build a website show the same trade-off with other tools, and how to build a website covers the plain route.
Mistakes people make
- Skipping the brief. "Make me a website" gets you a generic one. Names, pages, tone and goal get you a better first draft.
- Not looking at it on a phone. Check a narrow screen before you share the link.
- Putting secrets in the repo. Never paste API keys or passwords into files that go to a public repository.
- Forgetting the boring pages. Privacy, contact and a clear name belong on the site.
- Hitting limits mid-project. Anthropic says how quickly you reach a limit depends on the model, chat length and file size. Keep sessions focused.
What we did not test
- We did not build a site with Claude, so no speed, quality or bug claims.
- We did not deploy to Cloudflare or Netlify.
- Netlify's free plan bandwidth and build allowances are not stated on the page we read.
- Cloudflare Pages' bandwidth limit is not listed on the limits page.
- Artifact publishing rules changed in 2026 per Anthropic's article; check the current help page.
Bottom line
For a quick page, open a chat and ask. For a site you will keep, install Claude Code, work in a git repo and host free on a static host. If code is not your thing, a builder costs money but saves hours. For how we choose what to recommend, see how we pick.
Questions people ask
Can Claude build a whole website?
Yes, with Claude Code. Anthropic describes it as an agentic coding tool that reads your codebase, edits files and runs commands. It can write multiple files and use git. It does not buy a domain or host the site for you, so you still pick a host. For a single page, an artifact in the normal chat is enough.
Is it free to build a website with Claude?
Partly. Artifacts, the in-chat pages, are listed on the Free plan. Claude Code is not: Anthropic's pricing page marks it No on Free, and Yes on Pro ($17 a month billed yearly, $20 monthly) and Max ($100). Hosting can be free: Netlify lists a $0 forever plan, and Cloudflare Pages has a free plan with 500 builds a month.
Do I need to know how to code to use Claude Code?
Not to start. Anthropic's docs say you describe what you want in plain language and it plans, writes and checks the code across files. It installs from a terminal command and Anthropic has a terminal guide for first-time users. You will still copy files to a host and fix mistakes, so expect a learning curve.
How do I put a Claude-made website online?
Upload the site's files to a host. Cloudflare Pages allows up to 20,000 files on its free plan, with a 25 MiB limit per file and 100 custom domains per project. Netlify's free plan lists custom domains with SSL. Neither is run by Claude, so you connect them to your files yourself.
Can Claude artifacts be published as a website?
Artifacts start private and sharing controls decide who can open them, per Anthropic's help article. The article does not describe an artifact as a hosted website on your own domain, so treat it as a shareable page, not a full site. To get your own domain, copy the code out and host it elsewhere.
Is Claude or a website builder better for a first site?
If you want a site you can edit by dragging things around, with hosting handled, a builder is easier. If you want full control of the files and are comfortable with a terminal, Claude Code gives you that. Many people use a builder first and move to code later. There is no wrong pick, only a different amount of work.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- Claude pricing, checked 4 Dec 2026
- Claude Help: What are artifacts and how do I use them?, checked 4 Dec 2026
- Claude Code overview, checked 4 Dec 2026
- Cloudflare Pages limits, checked 4 Dec 2026
- Netlify pricing, checked 4 Dec 2026
- FTC: Disclosures 101 for social media influencers, checked 4 Dec 2026