NewEdit your site from ChatGPT or Claude. Same rules as the built-in assistant.See how

← All guides

ai built website

How to Share AI-Generated HTML With a Client

Built a page with Claude or ChatGPT? Five ways to share AI-generated HTML with a client, from a share link to a real host, and how to let them edit it later.

November 28, 20269 min readBy CMS Chat Team

To share AI-generated HTML with a client, pick by how long the page has to live. For a quick look, send the chat tool's own share link (a Claude artifact link or a ChatGPT shared conversation). For a real review, drop the HTML file on a static host such as Netlify Drop or Cloudflare Pages and send that URL. For anything the client will keep, put the file in a GitHub repository and deploy it from there, because that is the only option that also gives you a clean way to hand over edits later.

The sections below cover each option, what the client actually sees, and the mistakes that make a handover harder than it needs to be.

First: what you actually have

A page made in Claude, ChatGPT or a similar tool is usually one of two things:

  • A single HTML file with the CSS and JavaScript inline. This is the easy case: any static host can serve it as index.html.
  • A small project (React components, a Vite or Next.js app) that needs a build step before it becomes HTML. A chat preview can render it, but a static host needs the built output, or a host that runs the build for you.

Check which one you have before you pick a sharing method. If the code imports packages or has more than one file, treat it as a project.

This is the fastest route and fits a first look at a draft.

Claude's help center says artifacts "start private to you" and that you can switch one to "Anyone with the link"; most such artifacts "open without a Claude account or sign-in", and you can set it back to "Only you" to stop sharing. On Team and Enterprise plans, an owner has to turn on external sharing first. See Claude's guide to sharing artifacts.

ChatGPT shares conversations instead. OpenAI's FAQ says anyone with a link from a personal account can view it, that shared links "do not offer recipient-by-recipient access controls", and that they have no expiry date, so you delete the link when you are done. The link is a snapshot of the conversation at the time you created or updated it. See OpenAI's shared links FAQ.

Fits when: you want a reaction to a draft today.

Falls short when: the client needs a URL they can send to colleagues, open on a phone like a normal site, or keep. A ChatGPT link also shows the client the whole conversation, prompts included, which is rarely what you want them to read.

Option 2: Drag the file onto a static host

Static hosts turn a folder into a public URL in a minute.

  • Netlify Drop. Netlify's docs describe dropping a project folder "for instant deployment, no account required". To update it, you drag the new output folder onto the site's Deploys page. See Netlify's deploy docs.
  • Cloudflare Pages direct upload. In the Cloudflare dashboard you can drag and drop a folder or zip, and the site is served from a pages.dev address. Cloudflare notes that a Direct Upload project "cannot switch to Git integration later", so you would create a new project when you move to Git. See Cloudflare's direct upload docs.

Name the file index.html and put it in a folder with any images it uses. Then open the URL on your own phone before you send it.

Fits when: the client reviews a near-final page and you want it to look exactly like the live site will.

Falls short when: the page changes often. Every edit means regenerating the file and dragging it up again, and only the person with the file can do it.

Option 3: Keep it private while the client reviews

A public URL for an unreleased page is not always fine. If the client's offer, prices or brand are not public yet, check how each host handles access:

  • Netlify: its deploy docs say that on credit-based plans with "private by default" turned on, new projects are private and "only your team can view a project until you make it public".
  • Vercel: its deployment protection docs list Vercel Authentication (viewers must be signed in to Vercel) on all plans. Password protection is a paid add-on on Pro and included on Enterprise; it is not available on Hobby.
  • GitHub Pages: GitHub's docs say Pages sites "are publicly available on the internet, even if the repository for the site is private". Do not use it for anything confidential.

A low-tech fallback is a hard-to-guess URL plus a noindex meta tag in the page head, so search engines do not list it. That keeps the page out of search results, but anyone who has the link can still open it.

Option 4: Put it in a GitHub repository and deploy from there

This is the step that turns a shared file into a website someone can maintain.

  1. Create a repository on GitHub and add index.html (and its images) at the root. You can upload files in the browser; no terminal needed.
  2. Connect a host that deploys on every push: Vercel, Netlify or Cloudflare Pages all build from a GitHub repository. GitHub Pages works too for public, static files; GitHub's Pages setup guide notes that on GitHub Free the repository must be public, that Pages does not run server-side code, and that changes can take up to 10 minutes to publish.
  3. Point the client's domain at the host.
  4. Write down who owns the repository, the hosting account and the domain. If you hold all three, the client depends on you for everything, including leaving.

From here on, every change is a commit with a date and an author, and the host redeploys on its own. That history is what makes it safe to let more than one person change the site.

If the build came from a coding tool rather than a chat window, our guide to handing over an AI-built website covers the same steps for Cursor, Claude Code and Replit projects.

Option 5: Send the file itself

You can email the HTML file. The client double-clicks it and it opens in their browser.

This works for a one-off look and fails for nearly everything else: images break if they were not sent along, links to other pages break, the client cannot share it as a URL, and you now have copies of the site in inboxes that will drift from the real one. Use it only when a link is not an option.

The part that comes after sharing: edits

Sharing is usually followed within a week by "can you change the phone number?" How you shared the page decides how painful that is.

  • With a chat share link, the only way to change it is to go back to the chat and regenerate.
  • With a drag-and-drop host, you edit the file, then upload it again.
  • With a repository, the change is one small commit, and the host does the rest.

AI-generated HTML has one habit worth fixing before handover: it repeats details. The same phone number, address or price often appears in the header, the footer and a contact section. Search the file for each one and make sure every copy matches, or move them into one place if the page is a project with components.

If the client will only ever ask you for changes a few times a year, a repository and your own editor are enough. If they want to make routine text changes themselves, look at the ways clients can edit website text without code and decide how much control they should have.

Where CMS Chat fits

CMS Chat is built for the repository case. You install its GitHub App on the site's repository, it detects the framework (plain HTML included) and maps the editable zones: text, images, links and prices. You set guardrails per zone (editable, warn, escalate, locked). The client then asks for a change in plain language, CMS Chat finds the file and commits routine edits, and anything that touches layout or code becomes a pull request for you to review.

It does not host the page and it is not a replacement for a share link during the draft stage. It matters at the point where the page is in Git and someone other than you needs to change it. There is also an MCP endpoint, so a client who already works in Claude or ChatGPT can make those same edits from there, under the same rules. CMS Chat is in early access; how it works shows the full flow.

Quick answers

Can a client edit the page from a Claude or ChatGPT share link? No. Both are view links. The client can remix or continue in their own account, but that creates a separate copy, not an edit to your page.

Do I need to know Git to put the page in a repository? No. GitHub lets you create a repository and upload files in the browser. You only need Git on your machine once you edit locally.

Which free option gives the client a normal URL fastest? Netlify Drop or Cloudflare Pages direct upload. Both turn a folder into a public address in a few steps.

Should I hand the client my AI chat so they can make changes? No. They would be generating a new version of the page each time, with nothing tracking what changed. Put the page in a repository and give them a way to edit inside limits, see safe website editing for clients.

Change your site by asking.

Sign up, connect your site and ask for your first change in plain words.

month to monthrevert any changebigger work stays with your agency

Prefer to see it first? Ask for a walkthrough