Skip to the guide
siteseconds
Guide

How to make a website with Claude

Updated 6 min read The siteseconds.com team
The short answer

Ask Claude for a website as one self-contained HTML file. It writes the whole site and shows it running in a preview panel next to the chat. To put it online at an address of your own, copy the code and paste it into a host that publishes HTML. On siteseconds.com that is free and needs no account.

Free · no sign-up

Get a brief written for Claude

Describe it in a sentence. The builder opens with it filled in, and you can publish without an account.

Try:
No account · no card · live in minutes

Can Claude build a website?

Yes. Claude writes the complete code for a website, HTML, CSS and JavaScript, in one reply, and shows the result running in a panel beside the conversation. You see a working page, not just a block of code, and you can ask for changes in plain English.

What Claude does not give you is a website of your own. The preview lives inside the chat. To have a site with its own address that you can put on a business card, the code has to go to a host. That is a copy and a paste.

How do you make a website with Claude, step by step?

  1. Describe the site and ask for one HTML file

    Say what it is for, list the sections in order, name a look, and add "as one self-contained HTML file". Or use the box at the top of this page and have the brief written for you.

  2. Look at the preview

    Claude opens the page in a panel next to the chat. Click around it. Check it narrow as well as wide.

  3. Ask for changes in the same chat

    "Make the header darker." "Add a prices section after the services." Claude rewrites the file each time.

  4. Copy the code

    Switch the panel from the preview to the code and use the copy button, or just copy the whole reply.

  5. Paste it into a host and publish

    On siteseconds.com it runs the moment you paste, and publishing gives it a real address. No account is needed to start.

What should you ask Claude for?

Claude tends to produce careful, well-structured pages, and it follows a list of requirements closely. So give it one:

A prompt for ClaudeChange the details to yours
Build a website for my window cleaning business in Leeds.

Sections, in this order:
1. A headline saying what I do and where, with a tap-to-call button
2. Services with prices for different house sizes
3. The areas I cover, by name
4. Three customer reviews
5. A quote request form

Look: clean and trustworthy, sky blue and white, rounded corners.

Requirements:
- One self-contained HTML file. CSS in a <style> tag, JavaScript
  in a <script> tag.
- No React, no build step, no external files except Google Fonts.
- Placeholder photos from https://picsum.photos.
- Design for a phone first.

The requirement that matters most is the first. Left to choose, Claude will sometimes build the page as a React component, which looks perfect in its own preview and does not run anywhere else without a build step. Asking for a single HTML file avoids that. Eighteen more prompts to copy.

How do you put a website made with Claude online?

You have two options, and they are for different things.

Claude's own share linkA host such as siteseconds.com
Good forShowing someone what you madeA website people will actually use
The addressOn Claude's siteA name you choose, or your own domain
Changing it laterBack in the chatClick the text and type, or paste a new version
Contact formsNowhere for messages to goMessages arrive in your inbox panel
Found on GoogleNot designed for itSitemap, title and description settings

For anything you will share with customers or guests, publish it to a host. The code is yours either way.

What usually goes wrong, and how do you fix it?

It built a React component instead of a web page

The code starts with import or contains JSX. Reply: "Rewrite this as one plain HTML file with no React." It will.

The reply stopped before the end

Long pages can hit the length limit. Type "continue", then copy both parts. Or ask for a shorter page and add sections afterwards.

You hit the free message limit

The limit resets after a few hours. Small changes, a price or a sentence, are quicker to make by clicking the text on your published site anyway.

The images are grey boxes

It referenced image files that don't exist. Ask for placeholder photos from a URL, then swap in your own once the site is claimed.

Frequently asked questions

Can Claude make a website?

Yes. Claude can write the full HTML, CSS and JavaScript for a website in a single reply, and it displays the result as a working preview beside the conversation so you can see it before copying anything.

Is Claude free for building websites?

The free version of Claude can build a one-page website. Free use has a message limit that resets, so a long session of revisions may have to pause; the site you already have is unaffected.

How do I get the code out of Claude?

Open the preview panel and switch from the preview to the code view, then use the copy button. You can also simply copy Claude's whole reply: pasted into siteseconds.com, the code is found and pulled out for you.

Can Claude publish the website for me?

Claude can share what it made as a link on Claude's own site, which is fine for showing someone. For a website with your own address, your own domain, forms that reach you and the ability to edit it later, paste the code into a host.

Is Claude or ChatGPT better for making websites?

Both produce good one-page sites from a clear brief, and the brief matters more than the model. Try the same instructions in each and keep the result you prefer.

Build one now

Every builder below works without an account. Pick the closest one: the examples and the instructions it writes for the AI are tuned for that kind of site.

More guides