GuideCoding

How to Build a Website with AI: 3 Paths, No Code

How to build a website with AI and no code: pick the right path, copy a ready brief prompt, publish for free and avoid the limits ads skip.

Published 9 min read Accurate as of November 22, 2026

You need one page that says who you are, what you do and how to reach you. An agency quoted you four figures for it. You can build that page yourself in an afternoon.

This guide shows you how to build a website with AI and no code: which of three paths fits you, the exact prompt to paste, how to publish for free, and the limits that AI website builder ads leave out. Facts checked on 22 November 2026.

Can you build a website with AI for free?

Yes. An AI chatbot such as ChatGPT, Claude or Gemini can write a complete one-page site as a single HTML file, and Netlify or Cloudflare Pages will host it for free. The only real cost is your own domain, usually paid yearly. Free plans of website builders also work, but on the builder’s subdomain and often with its branding or ads.

Pick one of three paths first

This choice decides your costs and your headaches. Make it before you open any tool.

A. AI website builder B. “Vibe coding” app builder C. HTML file from a chatbot
Examples Wix, Framer, WordPress.com, Hostinger, Squarespace Lovable, Bolt, v0, Replit, Google AI Studio ChatGPT, Claude, Gemini + Netlify or Cloudflare
Difficulty easiest medium medium, but only once
Cost monthly subscription subscription plus credits $0 + domain
Custom domain paid plans only usually paid plans yes, free on the host
Best for sites with a blog, shop or bookings apps: calculators, forms with logic business cards, event pages, portfolios

Our take: for a one-page business site, choose path C. It’s the cheapest and the file is entirely yours. If you’ll post updates every week or sell online, choose A. Choose B only when the page has to calculate or store something.

What AI website builders cost (path A)

  • Wix: free plan on name.wixsite.com with Wix branding (and sometimes ads). Custom domain from the Light plan, $17/month billed annually.
  • Framer: free plan with 500 AI credits a month, no custom domain. Basic costs $10/month.
  • WordPress.com: free sites show WordPress.com ads. Personal is $4/month billed yearly, $9 billed monthly.
  • Hostinger: Premium at $1.99/month, but only with a 48-month prepayment. It then renews at $10.99/month.
  • Squarespace: no free plan; a 14-day trial, and the trial site is private and not indexed by search engines.

Step by step: a one-page site in an afternoon (path C)

Example: Tom runs a small bakery in Bristol. He wants people who search his shop’s name to find opening hours, the weekly specials and a phone number.

1. Collect your content before you open the chat

AI is great at arranging words. It doesn’t know your prices. Write down your business name, address, hours, phone, email, three to five products or services with prices, two or three sentences about you, and a few photos. The more facts you give, the less the AI invents.

2. Paste this brief into a chatbot

Copy the prompt and fill in the square brackets:

Build a one-page website for my business as ONE index.html file
(HTML and CSS in one file, no JavaScript unless it's essential).

Business: [name], [type of business], [town]
Audience: [e.g. local families, office workers nearby]
Tone: friendly and plain, talk to the visitor as "you"
Sections: 1) header with one sentence about what we do and a "Call us" button
2) products/services with prices 3) about 4) hours and directions 5) contact
Facts (use EXACTLY these, add nothing): [paste your notes from step 1]

Technical requirements:
- mobile-first layout, then desktop
- no external scripts, fonts or libraries; system fonts only
- text contrast that meets WCAG AA, readable font size
- alt text on every image; images are local files: [file names]
- phone as a tel: link, email as a mailto: link
- fill in <title> (max 60 characters) and meta description (max 155)
- DO NOT invent reviews, awards, certificates or numbers
  – if something is missing, insert [TO FILL IN]

The last line matters most. Language models love to “improve” a page with made-up testimonials and awards (here’s why AI makes things up). A fake review on a business site isn’t a glitch – it misleads customers.

Which chatbot should you use? Whichever handles your brief best. You can find out with our one-hour ChatGPT vs Claude vs Gemini test.

3. Open the result and ask for changes

Save the code as index.html and double-click it to open it in your browser. Then refine in the chat: “make the button navy”, “cut the about section to three sentences”. Ask for one change at a time so you can spot what broke.

4. Review it against this checklist

  1. Open the page on your phone (send yourself the file, or narrow the browser window).
  2. Tap every link: phone, email, map.
  3. Read every sentence and compare every number with your notes.
  4. Search the code for [TO FILL IN] and for reviews you never supplied.
  5. Make sure nothing loads from outside: search the code for <script src= and https://.

5. Add good photos

A phone photo works if it’s bright and sharp. Clean up or remove the background with the tools in our guide to removing backgrounds and upscaling photos with AI. For a header graphic, see which AI image generator suits you. Resize photos to around 1,600 px wide so the page loads fast.

6. Publish it for free

Netlify Drop is the simplest option:

  1. Put index.html and your images in one folder.
  2. Go to app.netlify.com/drop.
  3. Drag the folder onto the drop zone.
  4. Your site goes live at name.netlify.app.
  5. Create an account and claim the project – until you do, the site is protected by a temporary password.

The catch nobody mentions: Netlify’s free plan has 300 credits a month, and every production deploy costs 15. When the credits run out, all your projects are paused, and free plans can’t buy more. So finish the page locally and deploy rarely.

Cloudflare Pages is the alternative: in the dashboard choose Workers & Pages → Create application → Get started → Drag and drop your files, name the project, click Deploy site, drag in the folder and click Save and Deploy. You get name.pages.dev. Drag-and-drop uploads are capped at 1,000 files of 25 MiB each, far beyond what a one-pager needs. Button names may change as Cloudflare moves features to Workers.

GitHub Pages is free too, but GitHub’s docs say it is not intended for running a commercial business such as an online shop.

7. Connect your own domain

toms-bakery.netlify.app looks unfinished. Buy a domain from any registrar and connect it in your host’s settings – Netlify and Cloudflare Pages both allow this on free plans. A domain is a yearly cost. The “free domain” offered by website builders covers the first year only, and only on annual plans.

  • Contact form, newsletter or analytics = GDPR. When you collect personal data, Article 13 GDPR requires you to tell people who you are, why and on what legal basis you process their data, how long you keep it and what their rights are. In practice: a privacy notice.
  • Cookies = consent. Under Article 5(3) of the ePrivacy Directive, storing or reading information on a visitor’s device needs consent unless it’s strictly necessary for the service they asked for. Easiest fix: no analytics and no embedded third-party widgets means nothing to consent to.
  • Accessibility. The European Accessibility Act has applied since 28 June 2025 and covers e-commerce, but microenterprises providing services are exempt. Even if it doesn’t apply to you, good contrast, alt text and large type mean more customers.

Outside the EU, rules differ – check your own country’s requirements.

Real limits the ads leave out

  • Credits run out. Lovable’s free plan gives 5 credits a day but no more than 30 a month. Bolt’s free tier has 1M tokens a month; v0 gives $5 of credits. Paid: Lovable Pro and Bolt Pro $25, v0 Plus $30 per user, Replit Core $20 a month.
  • Security is your job. Lovable scans your app when you publish, but by default its findings don’t block publishing. Its docs say plainly: “You are responsible for ensuring that your app meets the security requirements appropriate for its use case.” Don’t collect passwords or sensitive data in such an app without an expert review.
  • Visitors spend your money. An app built in Google AI Studio and deployed to Cloud Run uses your API key, so every visitor’s Gemini request is billed to you. A custom domain there needs a paid Google Cloud project.
  • Claude isn’t a web host. A published Claude artifact gets a public link, but you can’t attach your own domain. Team and Enterprise users can’t publish publicly, and once you unpublish an artifact, it can’t be published again. Fine for a prototype; not for your business site.
  • SEO of JavaScript apps. Lovable, v0 and AI Studio produce React apps. Google says server-side or pre-rendering is “still a great idea” because it’s faster for users and crawlers, and some crawlers don’t run JavaScript at all. A plain HTML file from path C doesn’t have this problem.
  • The promo price isn’t the price. Hostinger’s $1.99 needs four years paid upfront, then $10.99 a month – more than five times as much.

FAQ

Will an AI-built website show up on Google?

Yes, as long as Google can read it. A plain HTML file with a clear title and description is fully readable for search engines. Add the site to Google Search Console, and for a local business set up a Google Business Profile – it often matters more than the site itself.

Can I get a custom domain for free?

You always buy a domain from a registrar and renew it every year. What’s free is connecting it to a host such as Netlify or Cloudflare Pages. Website builders require a paid plan for a custom domain.

A privacy notice if you collect data (contact form, newsletter, analytics). A cookie banner if the site stores anything on visitors’ devices that isn’t strictly necessary. A one-pager with no form and no analytics usually needs no banner.

Wix or Lovable for a small business?

For a content site, Wix or another builder: you edit text like a document and don’t have to worry about code security. Lovable makes sense when you need a tool with logic, such as a quote calculator, and someone who can check its security.

What to do now

Open a note and write down the facts from step 1 – it takes 15 minutes. Then paste the brief into a chatbot and look at the first draft. If you’re still fighting the layout after an hour, switch to a builder from path A: you keep your text and lose only a monthly fee.

Sources

  1. Wix – Plans
  2. Wix – Is Wix free?
  3. Framer – Pricing
  4. WordPress.com – Pricing
  5. Hostinger – AI Website Builder (Horizons)
  6. Squarespace – Start a trial site
  7. Lovable – Subscription plans
  8. Lovable – Security
  9. Bolt.new – Pricing
  10. v0 – Pricing
  11. Replit – Pricing and plans
  12. Google AI Studio – Build mode
  13. Claude Help Center – Publish and share artifacts
  14. Netlify Docs – Netlify Drop quickstart
  15. Netlify Docs – Credit-based pricing plans
  16. Cloudflare Pages – Direct Upload
  17. GitHub Docs – GitHub Pages limits
  18. Google Search Central – JavaScript SEO basics
  19. GDPR – Regulation (EU) 2016/679
  20. ePrivacy Directive 2002/58/EC
  21. EUR-Lex – European Accessibility Act summary