Free, independent guides since 2010

Build with AI

50 practical AI prompts for building websites

A free library of tested AI prompts for every stage of a website project – planning, design, HTML and CSS, content, SEO, accessibility, speed and maintenance – plus an interactive website brief builder.

<guide section="Build with AI" type="article" read="5 min"/>

These are the prompts we actually use when we build and maintain websites, collected in one place. Replace everything between <angle brackets> with your own details. Want to understand why they work? Read how to write prompts that get usable results.

Start with the brief builder: fill in the fields and copy a complete, structured project brief for your AI assistant or website builder.

Website brief builder

Planning and strategy

  1. Act as an experienced web strategist. My business: <description>. My audience: <audience>. Propose a sitemap of max 8 pages with the goal of each page.
  2. List the 15 questions my potential customers ask before they buy <product/service>. Group them by stage: discover, compare, decide.
  3. Here are three competitor homepages (pasted text). Summarise what they promise, what they leave out, and how I could stand out.
  4. Turn this sitemap into a content inventory table: page, purpose, key message, call to action, content I still need to provide.
  5. Ask me up to ten questions you need answered before you can write a good homepage for my business.

Design and layout

  1. Suggest three distinct visual directions for a <type> website: colours (hex), typography pairing, mood, and one sentence on why each fits my audience.
  2. Create a CSS design system with custom properties for colours, spacing scale, font sizes and border radius. Check WCAG AA contrast and list the ratios.
  3. Describe a homepage layout section by section (wireframe in words), mobile first, then what changes on desktop.
  4. Here is a screenshot of a design. Convert it into semantic HTML and CSS. Use flexbox or grid, no frameworks.
  5. Review this page design for visual hierarchy: what draws the eye first, second, third? What would you change?

HTML, CSS and JavaScript

  1. Write an accessible responsive navigation menu with a toggle button for mobile, aria-expanded, keyboard support and no libraries.
  2. Build a contact form with name, email, message and consent checkbox. Proper labels, autocomplete attributes, client-side validation with clear error messages.
  3. Convert this table-based HTML into semantic HTML5 with CSS grid. Keep the content identical.
  4. Explain what this code does, line by line, for a beginner: <code>
  5. Find bugs and accessibility problems in this HTML. Explain each issue, then give the corrected code.
  6. Write a responsive image gallery with lazy loading, width/height attributes and a lightbox that works with the keyboard.
  7. Make this CSS smaller and easier to maintain without changing how the page looks.
  8. Add a dark mode with prefers-color-scheme to this stylesheet using custom properties.
  9. Write a JavaScript accordion for an FAQ using the details and summary elements – only add JS if strictly needed.
  10. Generate a print stylesheet for this article page.

Content and copy

  1. Here are my notes (pasted). Turn them into an about page in my voice: short sentences, first person, no clichés like “passionate” or “cutting-edge”.
  2. Rewrite this paragraph at a reading level for a 14-year-old, keeping every fact.
  3. Write five headline options for this page. Different angles: benefit, question, number, curiosity, plain.
  4. Turn this long text into a scannable page: H2s, short paragraphs, one bullet list, one table if useful.
  5. List every factual claim in this text that I should verify before publishing.
  6. Write an FAQ section from these customer emails (pasted, anonymised). Use the customers’ own words in the questions.
  7. Translate this page into Dutch for Belgian readers, natural not literal. Flag phrases that need local adaptation.
  8. Write microcopy for this form: labels, hints, error messages and the success message. Friendly and clear.

SEO

  1. Group these keywords (pasted) by search intent and suggest which page on my site should target each group.
  2. Write a title tag (max 60 characters, sentence case) and meta description (max 155 characters) for this page. Give three options.
  3. Create a content brief for the keyword <keyword>: search intent, questions to answer, suggested H2s, internal links to my pages (list pasted).
  4. Generate valid JSON-LD for this page: <type, e.g. LocalBusiness / Article / FAQPage>. Only include facts that appear on the page.
  5. Suggest internal links: here is my list of pages with URLs. For this article, which five pages should it link to, with what anchor text?
  6. Write alt text for these images based on their description and the page context. Max 125 characters each.
  7. Here is my old URL list and new URL list. Create a 301 redirect map, one-to-one, and flag old URLs without a good match.

Accessibility, speed and quality

  1. Audit this HTML against WCAG 2.2 AA. List issues by severity with the success criterion number and a fix.
  2. Here is my Lighthouse report (pasted). Explain the top five problems in plain language and how to fix each.
  3. Rewrite these link texts so they make sense out of context (no “click here”).
  4. Check this page for consistency: same spelling of names, same prices, same opening hours everywhere.
  5. Act as a first-time visitor on a phone. Walk through this page and tell me where you would get confused or leave.
  1. Here is my plugin list with versions. Which are abandoned or risky, and what are maintained alternatives?
  2. Review this code for security issues: secrets in client code, unvalidated input, XSS, missing authorisation.
  3. Draft a privacy statement for a small website that uses: <list services>. Mark every part a lawyer should check.
  4. Write a cookie inventory table from this list of scripts and services: name, purpose, category, consent needed.
  5. Create a monthly website maintenance checklist for a small WordPress site.
  6. Summarise what changed between these two versions of my homepage (pasted) and whether anything important was lost.
  7. Write a changelog entry for these changes, readable for a non-technical client.
  8. Generate a 404 page text that helps visitors find what they were looking for, in our brand voice.
  9. Here are my server logs for broken URLs (pasted). Group them and suggest redirects or fixes.
  10. Make a launch checklist for this specific website, based on its pages and features (listed).

Frequently asked questions

Do these prompts work in every AI tool?

Yes. They are written in plain language and work in ChatGPT, Claude, Gemini, Copilot and coding assistants. Some tools produce better code, others better text; try two if the result disappoints.

Can I use these prompts commercially?

Yes, use and adapt them freely for your own and your clients’ websites.