Limited time: Try B12 for $1 for 7 days.Sign up now

How to make a website with Claude (3 ways, 2026)

Published ·AI how-to guides
How to make a website with Claude (3 ways, 2026)

You can make a website with Claude in three ways: ask for a page in a chat and share it as an artifact, have Claude Code write the files and host them yourself, or connect Claude to a website builder like B12 so it builds a full site you can launch on your own custom domain.

This guide is for anyone who wants a live website, whether or not you have coding knowledge. Here's how each option works and what it can't do.

Quick answer: which way should you build?

MethodBest forWhat you end up withSetup
Claude chat (artifacts)A quick one-page site, a prototype, an event pageA page that viewers need a Claude account to open, at a claude.ai linkNone
Claude CodePeople comfortable with files and hostingCode you own and deploy yourselfMedium to high
Claude + B12 connectorA real site with pages, forms, bookings and your own domainA full site on B12 you keep editing by chattingLow

Can Claude build a website?

Yes. Claude can write the copy, design the layout, and produce working code from a plain description or a screenshot of a site you like. Anthropic's own guide walks through a portfolio page that way.

The tricky part is everything around the page. A website also needs hosting, a domain, forms that send somewhere, and a way to update it later. Each method below handles those parts differently.

Option 1: Build a page in a Claude chat

This is the fastest way to see something, and it works well for a landing page, a personal website, or an event page. In a regular chat, Claude builds the page as an artifact, which opens in its own window beside your chat. If you don't see it, turn on code execution and file creation in Claude's settings.

How to do it

  1. Describe the page: who it's for, what it should say, and the look you're after. Ask for a mobile-friendly layout in the first prompt.
  2. Attach a screenshot of a design you like, plus your logo or a handful of photos.
  3. Ask for tweaks in plain language until it looks right.
  4. Click Share and send the link.

Try prompts like these:

  • "Build a one-page site for my pottery studio with a gallery, class schedule, and contact section."
  • "Make it feel warmer, like this screenshot. Use serif headings."
  • "Add a section for upcoming workshops with dates and prices."

The tradeoffs

To share it, click Share and choose Anyone with the link. That's on paid Claude plans, and everyone who opens it needs a Claude account, per Claude's help center. It also lives at a claude.ai link, not your own domain.

On Team and Enterprise plans, sharing outside the company is off until an owner switches it on.

Artifacts are great for testing an idea or sharing a quick page. For a site people will discover on Google and keep coming back to, you'll want one of the next two options.

Option 2: Build a website with Claude Code

Claude Code is Claude working directly in a local folder on your own computer, in the terminal or the Claude desktop app. It ships with paid Claude plans, starting with Pro. You describe the site, Claude writes the HTML, CSS, and JavaScript, and you preview it in your browser.

People call this style of building vibe coding. Here's what Claude Code is and how it works.

How to do it

  1. Make an empty folder for your website project on your computer and open it in Claude Code.
  2. Describe the site and attach any references. Ask Claude to build one page at a time. For the simplest hosting later, ask for a static site: plain HTML, CSS, and JavaScript files.
  3. Preview the pages and ask for changes. If you hit an error message, paste it back into the chat and ask Claude to fix it.
  4. Put the files online. Most walkthroughs have you create a GitHub account and a new repository, then push to GitHub from Claude Code. From there, connect that repo to a host like Netlify or Cloudflare Pages. After that, each change you push updates the live site. Anthropic's guide uses a Netlify connector to publish.
  5. Connect your domain in your host's settings.

The tradeoffs

You own the code, which is the big upside. You also own everything else: hosting, domain settings, fixing things when they break, and wiring up forms or bookings through third-party services. If you've never touched a terminal or a GitHub repo, expect a learning curve before the whole setup runs smoothly.

Option 3: Use B12 as your Claude website builder

B12 has a Claude connector, so you can build a full website from inside Claude and launch it on B12. Claude handles the conversation. B12 builds the site, hosts it, and gives you the tools to run it.

How to connect B12 to Claude

  1. Open the Website Generator by B12 listing and click Add to Claude.
  2. Or add it yourself: in Claude, go to Settings, then Connectors, click +, choose Add custom connector, and paste https://mcp.b12.io/mcp. B12's setup guide has the full steps.
  3. In a new chat, click + and turn the B12 connector on.

You don't need a B12 account to connect it. On a free Claude account, you can run one custom connector at a time. On Team and Enterprise plans, an owner should add it for the organization first.

Build your site

Tell Claude what you want, and it sends the details to B12. Try prompts like these:

  • "Use B12 to build a website for Juniper Yoga, a studio in Denver with class schedules and online booking."
  • "Make a portfolio site for my product design work, with a case study page for each project."
  • "Build a site for my bakery with a menu, hours, and an order form for custom cakes."

Claude replies with a link to your new site on B12. Treat it as a first draft: open it to preview the result, then keep editing by chatting with B12's AI Agent. Once you're in the editor, attach your logo and photos, or click on a section and ask for a change right there.

What B12 adds

  • As many pages as you need, plus a blog.
  • Forms, bookings, logins, and databases, added by asking. B12 calls these backends.
  • Payments and online booking for clients.
  • Hosting and launch handled for you. Publish free on a b12sites.com address, or connect your own domain on a paid plan.

Start in Claude, then keep improving it on B12.

Tips for a better website, whichever way you build

  • Bring a reference. A screenshot of a site you like does more than a paragraph about the vibe you want.
  • Say who it's for and what you want them to do. "A site that gets parents to book a trial class" gives Claude more to work with than "a site for my studio."
  • Using real content, such as your own photos, prices, and bio, makes the site feel like yours. Placeholder text makes it look like everyone else's.
  • Build in small steps. Ask for one page or section at a time, then refine.
  • Check it on your phone before you share it, and click every link and button on the live site.
  • Keep private details out of your prompts. Don't paste passwords, API keys, or customers' personal data into the chat.

How much does it cost to build a website with Claude?

It depends on the method. You can build a page in a chat on Claude's free plan, but sharing it by link takes a paid plan, per Claude's help center. Claude Code also needs a paid plan. You'll also pay for any hosting and domain you choose.

Connecting B12 to Claude is free, and you can launch your site for free on a b12sites.com address. A paid B12 plan includes a custom domain.

Start building

If you want to see an idea on screen, start with a Claude chat. If you want a working website you'll actually run, with a domain, forms, and bookings, connect B12 to Claude and build it there. Add B12 to Claude or start on B12 directly.

Frequently asked questions

Can I use Claude to build my own website?

Yes. You can build a single page in a Claude chat, write a full site using Claude Code, or connect Claude to B12 to build and launch a complete site with hosting included.

How do I create a website using Claude for free?

On Claude's free plan you can build a page in a chat, but sharing it takes a paid plan, and viewers need a Claude account. For a site anyone can visit, connect the free B12 connector and launch your site for free on a b12sites.com address.

Can a website built with Claude have forms, logins, or bookings?

Not on your own domain. A chat artifact lives at a claude.ai link, and visitors need a Claude account to open it. With B12, you can add forms, bookings, logins, and databases by asking the AI Agent.

Can I use my own domain?

Artifacts stay on a claude.ai link. With Claude Code, you connect a domain through your host. On B12, you connect your own domain with a paid plan, and the first year is free.

Build a website, store, or web app by chatting.

Describe your idea and B12's AI builds it: pages, copy, and the working parts like logins, payments, and bookings. Get a solid first draft, then make it yours.

Executive coaching website
Expense tracking app
Online jewelry store
Lifestyle blog
Architecture portfolio
Invoice generator
Website with animations
Join the 4M+ websites created by B12 · Free to build. No credit card.

Related posts

Mozilla Solo is shutting down: how to move your website
Mozilla Solo is shutting down: how to move your website