Home › Small business › Simple website build: how to do it with AI

Simple website build: how to do it with AI

Last checked

From official vendor pages; selected tasks also include dated logged-out free-plan trials. Report an error.

Intermediate Risk: Medium 🏪 Small business

This guide is about building the site itself: generating a working landing page or small site from a description, then publishing it. If you haven't yet decided which pages you need and what they should say, start with the planning guide linked below.

Who it’s for: Owners and side-project makers who are comfortable copying files or using a site builder, and want a simple page live quickly.

Why medium risk: Generated code can be broken on mobile, inaccessible, or include forms that don't send anywhere.

Best pick

ChatGPT has the highest score on our published rubric (94/100) of the 4 tools listed for this task. Free plan has unlimited text chats for quick outline drafts and rewrites.

Step by step

  1. Have your page plan and copy ready (see the planning guide).
  2. Ask for a single-page site in plain HTML and CSS, mobile-first, with your copy.
  3. Preview it in a browser and on your phone; ask for fixes in small steps.
  4. Check accessibility basics: headings in order, alt text, readable contrast, large tap targets.
  5. Make the contact form work through your host or builder, not a made-up endpoint.
  6. Publish on a host or builder, then test every link and the form.

AI prompts to build a simple website

Replace the [brackets] with your details. See all prompt examples

Generate the page
Build a single-page website in one HTML file with embedded CSS for [business]. Mobile-first, sections: [sections]. Use this copy exactly: [copy]. No external scripts, accessible headings and alt text.
Fix one thing
On a phone-sized screen the [section] overflows. Fix only that, keep everything else the same, and explain the change.
Pre-launch check
Review this HTML for broken links, missing alt text, heading order, colour contrast problems and forms without a working action. List issues and fixes.

Illustrative example

You paste

Ask: one-page site for a dog-walking service with Services, Prices, Area and Contact.

A good answer looks like

Result: a single index.html with a "Book a walk" button, a price table from your copy and a contact section wired to your host's form service. Previewed at phone width before publishing.

Illustrative example written for this guide, not output captured from a specific tool.

We tried it

Logged-out free-plan trial on . Each card lists the model or plan shown during the run. Not tested yet: Claude (incl. Claude Code), Cursor, Perplexity (incl. Comet).

Prompt used

Build a single-page website in one HTML file with embedded CSS for Rosa's Bakery. Mobile-first, sections: hero, about, menu highlights, hours & location, contact. Use this copy exactly: "Fresh bread every morning. Open Tue–Sat 7–3, 120 Main Street. Sourdough, croissants, coffee." No external scripts, accessible headings and alt text.

ChatGPT (incl. Work & Codex) Model/plan: Free (logged out) · Tested: · ~50s · Free

Output (trimmed)

Here’s a complete, mobile-first single-page website for Rosa’s Bakery, with embedded CSS, accessible semantic headings, descriptive image alt text, and no external scripts or dependencies. The supplied copy is preserved exactly and featured prominently throughout the page. You’ll need to log in to generate or edit images. Once you’re logged in, I can help create a custom bakery hero image for Rosa’s Bakery. Here is the complete HTML file you can save as index.html and open in any browser. …

Returned a full mobile-first HTML/CSS page using the Rosa’s Bakery copy and section list. Paste into a file and check contrast, focus states and real photos before publishing.

Not tested yet: Claude (incl. Claude Code), Cursor, Perplexity (incl. Comet).

Which tool to pick, and why

Tool notes below come from official plan and feature pages. The “We tried it” section above is separate hands-on output. Sources: claude.com/pricing · chatgpt.com/pricing · cursor.com/pricing · www.perplexity.ai/hub/pricing

Common mistakes

Privacy tip

Never paste hosting or domain passwords into a chatbot. Check that the contact form's data goes only where you expect.

Claude (incl. Claude Code) setting · ChatGPT (incl. Work & Codex) setting · Cursor setting · Sources: privacy.claude.com/en/articles/12109829-how-do-i-change-my-model-improvement-privacy-settings · help.openai.com/en/articles/7730893-data-controls-in-chatgpt · cursor.com/help/security-and-privacy/privacy

See also

Related tasks

Report an error on this page