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

← All guides

static site

Edit a Static HTML Website Without Coding

Where the text in a plain HTML site lives, five ways to edit it without coding (GitHub, Pages CMS, CloudCannon, Decap, chat), and when each one fits.

December 5, 20268 min readBy CMS Chat Team

The short answer

A static HTML website has no admin panel because nothing runs on the server: the site is a set of .html files, plus CSS, images and maybe some JavaScript, that the host sends to the browser as they are. To edit it without coding, you change the words inside the right .html file and publish that file again. If the files live in a Git repository on GitHub, you can do that in GitHub's web editor, through a Git-based CMS such as Pages CMS, CloudCannon or Decap CMS, or by describing the change in plain language to an AI editor that works on the repository. The text between the tags is safe to change. The tags, classes and scripts around it are where sites break.

Why a plain HTML site has no "edit" button

WordPress and similar systems keep pages in a database and build each page when someone asks for it, so they come with a dashboard. A static HTML site skips all of that. Many sites built by hand, exported from a design tool or generated in one go by Claude, ChatGPT or another AI builder end up this way: an index.html, an about.html, a contact.html, a stylesheet and a folder of images.

That makes the site fast, cheap to host and hard to hack. It also means the only way to change a sentence is to change the file. If the site came from an AI chat, our guide on sharing AI-generated HTML with a client covers how to get that file onto a host and into a repository first.

Where the text actually lives

Open any .html file and you will see content wrapped in tags:

<h1>Fresh bread, baked every morning</h1>
<p>Open Tuesday to Saturday, 7am to 2pm.</p>
<a href="/menu.html" class="btn btn-primary">See the menu</a>

Three rules keep you out of trouble:

  • Change the words between `>` and `<`. "Fresh bread, baked every morning" and "Open Tuesday to Saturday" are content. Editing them is low risk.
  • Leave the tags and attributes alone. <h1>, class="btn btn-primary" and href="/menu.html" are structure, styling and links. Deleting a closing </p> or a quote mark can shift the whole layout.
  • Repeated parts repeat in every file. A plain HTML site has no shared template, so the header, footer, phone number and opening hours are often copied into every page. Changing the phone number means changing it in every file that shows it, or visitors see two different numbers.

Some text also lives in places you do not see on the page: the <title> and <meta name="description"> tags in the <head> control what Google shows in results. Treat those as SEO edits, not copy edits. Our guide to SEO-safe edits of titles, H1s and meta descriptions explains what to check first.

Five ways to edit a static HTML site without coding

1. GitHub's web editor

If the site is in a GitHub repository, you can edit a file in the browser. GitHub's editing docs describe the flow: open the file, click the pencil icon, make the change, optionally use Preview, then commit. You can commit to the current branch or create a new branch and open a pull request, and GitHub recommends the branch route when you are on the default branch. Protected branches cannot be edited from the web UI at all.

Fits when: the person editing is comfortable reading raw HTML and the edits are rare. Falls short when: the editor is a non-technical client. They see every tag, every class and every script, and nothing stops them from deleting one.

2. Pages CMS

Pages CMS is an open-source editor for content stored in GitHub. A .pages.yml file in the repository describes what can be edited, and the docs state that every save is a Git commit. Its formats page lists .html: with fields defined, an HTML file is treated as front matter plus a body, and without fields it opens in a code editor.

Fits when: you can restructure the editable parts into front matter or data files (YAML, JSON) and want a form-style editor. Falls short when: the content is spread through hand-written HTML pages. A code editor for raw HTML is a nicer GitHub editor, not a no-code experience.

3. CloudCannon editable regions

CloudCannon offers visual editing on the rendered page. According to its Editable Regions docs, you mark elements with an HTML attribute such as data-editable="text" or with a web component, and there are region types for text, images, rich text, arrays and components. The docs describe regions in files that output HTML after a site build, and the component integrations they list are for frameworks like Astro, Eleventy, Hugo and Next.js.

Fits when: a developer can mark up the editable parts once and the client wants to click on the page and type. Falls short when: nobody is available to add the attributes, or the site is a one-off export nobody wants to touch.

4. Decap CMS

Decap CMS is another open-source, Git-based editor. Its collection format options are YAML, TOML, JSON and front matter variants, where the front matter formats keep data at the top and an unparsed body below. In practice, Decap suits sites whose content already sits in Markdown or data files, which usually means a static site generator rather than hand-written HTML.

Fits when: you are willing to move content out of the HTML into Markdown or JSON, or migrate the site to a generator. Our article on editing a Hugo or Jekyll site without a developer covers that path.

5. Chat editing on the repository

The newest option is to describe the change in plain language ("change the opening hours to 8am to 3pm on every page") and let an AI find the right lines in the right files, edit only the text and commit the result. This removes the "which file, which line" problem, which matters most on plain HTML sites where the same text is copied across pages. The question to ask any tool of this kind is what stops it from changing structure: see the checklist below.

What about contenteditable?

You may find tutorials that add the contenteditable attribute to a page so you can type straight onto it. MDN describes it as an attribute that tells the browser to let the user edit an element. It does not save anything. Without extra code to write the change back to the file and redeploy, the edit disappears on reload.

A safe editing checklist

Whichever route you pick, these habits prevent most broken pages:

  1. Keep the site in Git. Every change becomes a commit you can see and undo. Without it, the "undo" is whatever backup someone remembered to make.
  2. Separate content from structure. Decide which parts a non-developer may change (headlines, paragraphs, prices, opening hours, image alt text) and which belong to a developer (navigation, layout, forms, scripts, tracking code). Our guide to content editing guardrails walks through sorting a site this way.
  3. Route risky changes through review. A pull request lets a developer approve anything beyond a text change before it goes live. GitHub's branch protection makes that a rule, not a habit.
  4. Find every copy of repeated text. Search the repository for the old phone number or address before calling the edit done.
  5. Check the live page after deploy. Most static hosts redeploy when the repository changes. Look at the page on a phone and a desktop.

When another approach fits better

Editing static HTML by hand stops making sense at some point. If the site publishes new pages every week, has a blog, or needs many people editing at once, a static site generator (Astro, Hugo, Eleventy) with Markdown content, or a headless CMS, will save more time than any editor bolted onto raw HTML. If the client wants to build new pages from blocks without help, a visual site builder may suit them better than a code-based site at all. And if the site gets two small edits a year, the GitHub web editor plus a developer on call is enough.

Where CMS Chat fits

CMS Chat is chat editing for sites in a GitHub repository, and plain HTML is on the list. You install the CMS Chat GitHub App on the site's repository; there is no plugin and no content migration. It scans the files (HTML, Markdown, MDX, JSON, TSX) and maps the editable zones: headlines, text, images, links and prices. Plain HTML is not detected as a framework by name, but the AI edits its text files the same way. Each zone has a guardrail level: editable, warn, escalate or locked.

You or your client then ask for changes in plain language. Routine text edits are committed straight to the default branch and go live with the site's next deploy. Layout and code changes are not guessed: they become a pull request for the developer to review. Every change is a Git commit, so it can be reverted. Agencies can give each client a portal with invites and an activity history, and there is an MCP endpoint for making the same edits from Claude, ChatGPT, Cursor or Claude Code.

CMS Chat is in early access. See how it works for the full flow, or connect a repository to try it on your own site.

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