SUPACODEAI STUDIO
Sign up free
Build guide 8 min read

How to Build a Website With AI: Step by Step, Free

How to build a website with AI, step by step and for free: the prompts to use, a small business checklist, SEO basics and how to publish in one click.

By Supacode Editorial · Product and engineering

Two small business websites built with Supacode: a Tokyo ramen shop and a taqueria with online ordering
Contents

Quick answer

To build a website with AI, describe your business and what visitors should do in one detailed prompt, let an AI website builder generate the pages, check the live preview on desktop and phone, refine it with short follow-up requests, and publish. With Supacode's Free plan you can do all of this for $0 and have a live site on your own supacode.app address in under an hour.

  • The prompt is the brief: who the site is for, what visitors should do, and your real details (hours, prices, address).
  • Plain HTML is the right stack for most small business sites: fast, simple and easy to host.
  • Refine one thing at a time. Every change is a version you can undo.
  • Free covers building and publishing on supacode.app; check SEO, phones and forms before you share the link.

Can AI really build a website for you?

Picture a baker in Portland at 5 a.m., flour on her apron, who has meant to “do the website” for three years. The old choices were all bad in their own way: a drag-and-drop builder that ate a weekend, a template that looked like everyone else's, or a designer she couldn't afford yet.

AI website builders change the first step. Instead of arranging boxes, you describe the business in plain words and the AI writes the site: the layout, the copy, the styling, the code. Supacode, for example, writes real HTML, React or Next.js files, runs them in a live preview, and lets you change anything by asking. The result is not a mock-up; it is the actual website.

Three ways to get a small business website
Drag-and-drop builderAI website builderHire a designer
First draftHours to daysMinutesWeeks
Who does the layoutYou, block by blockThe AI, from your descriptionThe designer
Changing it laterFind the settingAsk in plain wordsEmail and wait
Owning the resultLocked to the platformSupacode: real code you can downloadDepends on the contract

What AI does not replace is your knowledge of the business. The quality of the site depends on what you tell it, which is why the next section matters more than any tool choice.

What do you need before you build a website with AI?

Ten minutes of preparation saves an hour of corrections. Gather:

  • One sentence on who it is for. “Neighbours who want fresh bread and pre-order for weekends.”
  • The one thing visitors should do. Call, book, order, visit, sign up. Pick one primary action.
  • Real details. Name, address, opening hours, phone, prices, services, two or three customer quotes you have permission to use.
  • Your look. Two or three adjectives (warm, hand-made, calm) and, if you have them, brand colours and a logo file.
  • Photos. Your own beat stock. If you don't have any yet, AI images or stock photos can stand in.

How do you build a website with AI, step by step?

Diagram of the AI website building loop: describe, AI writes code, live preview, publish to your-name.supacode.app, with a refine-in-chat loop that saves a new version for each change.
The loop you will repeat: describe, preview, refine, publish.

Step 1: Write one detailed prompt

Go to the Supacode home page and describe the site. Include the details from your list. Specific beats long:

Prompt · first build
Build a website for Juniper & Rye, a neighbourhood bakery in Portland. Home with today's bakes, a menu with prices, opening hours (Tue–Sun 7am–2pm), our address with a map, an Instagram-style photo grid and a weekend pre-order form. Warm, hand-made look with cream and rust colours. Phone-first.
The Supacode composer with a prompt for a bakery website typed in
One prompt with real details. Leave the stack on Auto or choose HTML.

Step 2: Pick the simplest stack

Leave the stack on Auto or choose HTML. A plain HTML site loads fast and is easy to host, which is all most small businesses need. Choose React for app-like interactivity, or Next.js when you need sign-in, a database or server code. If your first prompt is too vague, Supacode asks one clarifying question before it builds rather than guessing.

Step 3: Check the cost and build

Before you send, the composer shows an estimate of the credits the work will use. Press build and the first version appears in the live preview a few minutes later, with real text from your prompt rather than lorem ipsum.

Step 4: Review the structure before the style

Resist changing colours first. Ask: is the primary action obvious within three seconds? Are the hours and address easy to find on a phone? Is anything missing? Fix structure with one clear request at a time:

Prompt · structure
Move opening hours and the address into a sticky bar at the top on phones, make 'Pre-order for the weekend' the main button in the hero, and shorten the hero text to two lines. Keep everything else.

Step 5: Add your own images and logo

Drag your logo or photos into the chat (or use the paperclip) and say where they go. On plans that include image generation, the AI can create images while it builds and shows the credit cost first; otherwise it uses free stock photos. The images guide explains the options.

Prompt · images
Use my uploaded logo in the header and as the favicon. Replace the hero photo with the croissant picture I just uploaded, and use warm stock photos of bread for the menu items that don't have a photo yet.

Step 6: Make it findable

Prompt · SEO basics
Give every page a unique title and meta description under 155 characters, add LocalBusiness structured data with our name, address, phone and hours, write descriptive alt text for every image, and make sure headings go H1 → H2 in order.

Step 7: Publish

Open the Publish menu and press Publish now. Your site goes live on an address like juniper-and-rye.supacode.app, and you can pick or change that address. After later edits, press Update live site. You can also unpublish at any time (publishing guide). Every change you made along the way is a version you can preview and restore (versions guide).

How do you build a website for a small business?

A small business site has one job: turn a search into a visit, a call or a booking. That puts a few things above everything else.

  1. Name, address and phone, identical everywhere. The same details on your site, your Google Business Profile and your social pages.
  2. Structured data. Google documents LocalBusiness markup for hours, address and more. The SEO prompt above asks for it.
  3. Speed on phones. Google's Core Web Vitals measure loading, responsiveness and visual stability. A lean HTML site starts with an advantage.
  4. Accessibility. Readable contrast, real buttons, alt text and keyboard access, as set out in WCAG. It helps every visitor, not only those using assistive technology.
  5. One clear action per page. Order, book, call. Everything else supports it.
Casa Lupita, a taqueria website template with opening hours, address and an Order for pickup button
Casa Lupita puts today's hours, the address and the order button above the fold.

Prefer something quieter? This ramen shop site from the gallery is a single plain HTML page. Browse more starting points in the template gallery, or read our small business use case.

Ginza Menya, a one-page ramen shop website with a large photo of a ramen bowl, opening hours and View the menu button
A one-page HTML site from the gallery. Note the Made with Supacode badge in the corner, shown on Free plan sites.

Can you build a website with AI for free?

Yes. Supacode's Free plan includes 5 credits every day (they reset daily) plus 20 welcome credits when you sign up, which is enough to build and refine a small site over a few sessions. Copying an official template uses 0 credits.

Supacode pricing page with the Free plan at $0 and paid plans from $20 a month
Free covers building and publishing. Paid plans add more credits, more live sites and GitHub sync.
What the Free plan includes, and what it doesn't
Included on FreeNot included on Free
Building with HTML, React or Next.jsRemoving the Made with Supacode badge
Live preview, versions and undoGitHub sync (download a zip instead)
Publishing on a supacode.app address, up to 3 live sitesMore than 3 projects
Daily credits, plus an estimate before every actionMonthly credit allowances (Pro, Max, Team)

If a change breaks the build and the automatic fix also fails, the credits for those fix attempts are refunded. The credits guide and the pricing page have the details.

Will an AI-built website rank on Google?

Google's position is consistent: it rewards helpful, original content regardless of how it was produced. Its SEO starter guide still reads like a checklist for small business sites: descriptive titles, useful text, clear links, good images with alt text.

The risk with AI is not the AI, it's generic copy. A page that could describe any bakery in any city helps no one. Feed the builder specifics (your hours, your neighbourhood, your best-seller) and ask it to write like you talk. Then read every line before you publish.

What are the most common mistakes when building a website with AI?

  • A vague first prompt. “Make me a website” forces the AI to guess. Name the business, the audience and the action.
  • Ten changes in one message. Bundle requests and you can't tell which one broke the layout. One change per message.
  • Leaving sample text in. Search every page for invented reviews, prices or awards before publishing.
  • Only checking on a laptop. Most local searches happen on phones. Check the preview at phone width.
  • Forgetting the form backend. A beautiful form that sends nowhere is worse than a phone number.

Once your site is live, the next step might be an app. Our guide to building an app without coding picks up from here, and how to build an app with AI covers the general workflow.

FAQ

Frequently asked questions

How do I build a website with AI step by step?

Describe your business and its main visitor action in one detailed prompt, let the AI generate the site, review the structure in the live preview, refine one change at a time, add your images, ask for SEO basics such as titles and structured data, and publish.

Can I build a website with AI for free?

Yes. Supacode's Free plan gives 5 credits a day plus 20 welcome credits, and lets you publish up to 3 live sites on a supacode.app address. Free sites show a small Made with Supacode badge.

Which stack should I choose for a small business website?

HTML for most small business sites: it is fast and simple. Choose React for app-like interactivity, or Next.js when you need sign-in, a database or server code. Auto picks for you if you are unsure.

Can I edit an AI-built website myself?

Yes. Ask for changes in plain words, or open the code editor and change files directly. Every change is saved as a version you can preview and restore.

Will Google penalise a website made with AI?

Google evaluates whether content is helpful and original, not how it was made. Specific, accurate details about your business and a fast, accessible site matter far more than the tool.

How does a contact or booking form work on an AI-built site?

A form needs a destination. For simple cases use an email link or a form service; to store bookings or orders, connect your own Supabase database and ask Supacode to save submissions there.

Build the first useful version

Build it with Supacode

Describe what you want to make. Supacode writes the code, shows a live preview and keeps every change as a version you can restore.

Related reading