# Website prototype: how to build one, and the tools for prototyping a web app

A website prototype is a version of a website or web app that people can click through before the real one is built. To build one, first pick what it is made of: a design file, HTML and CSS, a new generated app, or your real codebase.

The guides from [UXPin](https://www.uxpin.com/studio/blog/website-prototyping-the-hands-on-guide/) and [Uizard](https://uizard.io/blog/how-to-design-a-website-prototype/) go from an idea to a sketch to a prototype, and build it inside the vendor's own design tool. A website runs in a browser, and the things that go wrong on a website go wrong there: the width, the length of the real copy, the links, the forms. So the first choice is the material, because it decides whether people test a real page or a picture of one.

The seven steps come first. Then one table sorts 12 website prototyping tools by that material and prices each one.

> **Key takeaways**
>
> - Choose what the prototype is made of before you choose a tool: a design file, HTML and CSS, a new generated app or the real codebase.
> - Prototype one path, with the real copy, at phone width first. Width, content, links and forms are where websites break.
> - Put the prototype on a URL and open it on a real phone before anyone else sees it.
> - Say before the demo what happens to the prototype afterwards. For a product that already ships, only a branch of the real codebase goes on to review.

## How to build a website prototype in seven steps

1. **[Write the question and the one path](#step-1-write-the-question-and-the-one-path).** One sentence, then three to five pages.
2. **[Pick what the prototype is made of](#step-2-pick-what-the-prototype-is-made-of).** A design file, HTML and CSS, a new generated app, or the real codebase.
3. **[Map the path as pages and links](#step-3-map-the-path-as-pages-and-links).** Each page gets a URL, a list of what a visitor can do there, and the one link that leads on.
4. **[Write the real content first](#step-4-write-the-real-content-first).** The real headline, prices, labels and error messages, before any layout.
5. **[Build the narrowest width first](#step-5-build-the-narrowest-width-first).** Start at 375 pixels wide and widen the window until the layout breaks.
6. **[Put the prototype on a URL](#step-6-put-the-prototype-on-a-url).** One link that always shows the latest version.
7. **[Test on a real phone, then decide what happens to it](#step-7-test-on-a-real-phone-then-decide-what-happens-to-it).** Throw it away, port it or open a pull request.

The example in each step is a new pricing page and the signup form behind it.

## Website prototyping tools, sorted by what the prototype is made of

The best website prototyping tools depend on the material: Figma for a design file, CodePen for HTML and CSS, v0 for a new app, Cursor for your real codebase. The table sorts 12 web prototyping tools by that material, three for each.

| Made of | Tool | In the browser | Free plan (November 2026) | Starting paid price (November 2026) | Where it stops for a website |
| --- | --- | --- | --- | --- | --- |
| A design file | Figma | Linked frames in a browser tab. The frame scales to the window, or resizes by layout rules in Responsive view | Yes, Starter | Professional Full seat $16 a month billed annually, $20 billed monthly | Links are hotspots and form fields are drawings |
| A design file | Penpot | Linked boards in a browser tab, with markup and CSS in Inspect | Yes, Professional | Unlimited $7 per editor a month | The page is still drawn. Its CSS is copied out by hand |
| A design file | Axure RP | A desktop file that exports the prototype as HTML files to host yourself | No, 30-day trial | Pro $29 per user a month | The HTML is prototype output, not code engineers build on |
| HTML and CSS | CodePen | A Pen: HTML, CSS and JavaScript at a full-page URL | Yes | Starter $8 a month billed annually, $12 billed monthly | Free Pens are public and hold 3 files |
| HTML and CSS | GOV.UK Prototype Kit | Multi-page HTML prototypes run from your own machine, styled as GOV.UK pages | Yes, the whole kit | None | Needs Node.js to run, and is not for live services |
| HTML and CSS | Claude artifacts | A single-page website from a description, opened from a shared link | Yes | Claude Pro $17 a month billed annually, $20 billed monthly | One page, with sample data |
| A new generated app | v0 | A running app from a prompt, deployed to Vercel | Yes, 7 messages a day | Plus $30 per user a month | A new project, unless you open your repo through Git Import |
| A new generated app | Lovable | A new app and its backend from a prompt | Yes, 5 build credits a day | Pro $21 a month billed annually, $25 billed monthly | Always a new GitHub repo, never your site's own |
| A new generated app | Bolt | A new app from a prompt, or commits to an imported repo | Yes | Pro $25 a month | An imported repo gets its commits on `main` |
| The real codebase | Cursor | Your own app, changed in the repo you open | Yes | Plus $8 a month (Grok models only), Premium $30 a month | No share link of its own, so the branch needs a preview deployment |
| The real codebase | Claude Code | Your own app, changed on a branch | No | Claude Pro $17 a month billed annually, $20 billed monthly | No preview link of its own, so the branch needs a preview deployment |
| The real codebase | Modeinspect | Running pages of your own app on a design canvas, shared as a preview link | Yes, Hobby | Pro $20 per person a month | Next.js React codebases that use Tailwind. Engineers review the pull request |

Prices come from each vendor's pricing page: [Figma](https://www.figma.com/pricing/), [Penpot](https://penpot.app/pricing), [Axure RP](https://www.axure.com/pricing), [CodePen](https://codepen.io/pricing), [Claude and Claude Code](https://claude.com/pricing), [v0](https://v0.app/pricing), [Lovable](https://docs.lovable.dev/introduction/subscription-plans), [Bolt](https://bolt.new/pricing), [Cursor](https://cursor.com/pricing) and [Modeinspect](/pricing). The [GOV.UK Prototype Kit](https://github.com/alphagov/govuk-prototype-kit) is open source. Figma, CodePen, Claude and Lovable are shown at both their annual and monthly rates.

Three of the four materials are real pages, so width, links and forms behave as they will on the real site. For a product that already ships, only a branch of your own repo is still there after the test.




### A design file: Figma, Penpot, Axure RP

Penpot adds something for the web: its Inspect tab gives "ready to use code for markup (SVG and HTML) and styles" ([Penpot](https://help.penpot.app/user-guide/dev-tools/)). Axure RP can leave the tool by "exporting a local copy of the prototype's HTML output" ([Axure](https://docs.axure.com/axure-rp/reference/viewing-sharing-prototypes/)). In a Figma prototype the links are hotspots and a form field is a drawing, so nobody can type a real email address.

### HTML and CSS: CodePen, GOV.UK Prototype Kit, Claude artifacts

An HTML prototype is a few pages of HTML and CSS, written by hand or by an AI model, that run in any browser. CodePen needs no setup, because "A Pen is a website" ([CodePen](https://blog.codepen.io/documentation/pens/)). The GOV.UK Prototype Kit exists to "Quickly make interactive, accessible and realistic prototypes of GOV.UK services" ([GOV.UK Prototype Kit](https://prototype-kit.service.gov.uk/docs/)). Claude writes "single-page websites" as artifacts ([Claude Help Center](https://support.claude.com/en/articles/9487310-what-are-artifacts-and-how-do-i-use-them)). In all three the data is sample data, and the code is not meant to last.

### A new generated app: v0, Lovable, Bolt

A generated app is a real page from the first prompt: it has URLs, its forms take typing and its layout follows the window. What it does not have is your site. The navigation, the components and the copy are new, so a test says more about the idea than about the page you would ship. How v0, Lovable and Bolt differ is in [the AI section of our prototyping tools comparison](/blog/prototyping-tools#ai-prototyping-tools-figma-make-v0-lovable-bolt), and what each starts from is in [our guide to AI prototype generators](/blog/ai-prototype-generator).

### The real codebase: web app prototyping tools for a product that ships

For a web app that already ships, the prototype can be a branch of the app itself. The page arrives with its real navigation, components and routes, and its data when the environment has it. It is the slowest material to start, because it needs repo access, a terminal and a place to run the app.

Modeinspect puts running pages of that app on a design canvas and ends in a pull request, on Next.js React codebases that use Tailwind ([see how it works](/ai-prototyping)).

Cursor, Claude Code and the other tools that work in a repository are compared in [which prototyping tools work in an existing codebase](/blog/prototyping-tools#which-prototyping-tools-work-in-an-existing-codebase).

## Step 1: Write the question and the one path

Start from a visitor and a goal, not from a list of pages. For a new pricing page the question might be: can a visitor on a phone pick the right plan and finish signing up? The path that answers it is four pages: pricing, sign up, check your email, and the empty workspace.

Say you were asked for a quick prototype of that pricing page. You built it in Figma and shared the link. The replies came from laptops. Nobody opened it on a phone, and nobody typed into the form, because there was nothing to type into.

A website prototype needs one path that works end to end more than it needs every page. The kinds of question a prototype can answer, and how real each one has to be, are in [our guide to creating a software prototype](/blog/how-to-create-a-software-prototype).

## Step 2: Pick what the prototype is made of

Pick the material by two things: whether the question depends on the browser, and what should happen to the prototype after the test.

If the answer depends on width, a long form or a real link, the prototype has to be a real page. That means HTML and CSS for a quick throwaway, or the real codebase when the page belongs to a web app that already ships. A design file is enough while three layouts are still open and the question is which one. How the code tools compare on data and design system is in [AI prototyping tools that build on your real codebase](/blog/ai-prototyping-and-the-problems-its-actually-solving).

The vendor guides go from an idea to a sketch to a prototype in a design tool. That order treats the prototype as the last and most polished picture. On the web, the prototype is the first version that is a real page, and the material decides whether you get one.

The fastest material and the one that can ship are different, and we have no rule for which to start with. We hear the same thing on our calls with customers: designers want to try two or three layouts on a small, rough page before they touch the full codebase. A throwaway HTML page first, then the winning layout on a branch, is a fair answer. It also means building the page twice.

One case sits outside all four. If the website is a marketing site that will run on a site builder such as [Framer](https://www.framer.com/solutions/ui-ux-design/), build it there. The prototype and the published site are then the same thing.

## Step 3: Map the path as pages and links

Map the path before any layout: the pages, what a visitor can do on each, and the link that leads to the next. Ryan Singer's *Shape Up* calls this a breadboard, "A UI concept that defines affordances and their connections without visual styling" ([Basecamp](https://basecamp.com/shapeup/1.3-chapter-04)).

Give every page its URL now. A website is addressed by URL, and a URL carries state that a frame cannot: `/signup?plan=team` arrives with the Team plan already chosen. Write down the error case for each form too. "Email already in use" is a state someone has to design.


Then decide which links will work. Wire the links on the path and leave the rest dead. Tell testers before they start that anything off the path does not respond.

## Step 4: Write the real content first

Write the real headline, plan names, prices, button labels and error messages before you lay anything out. Susan Farrell of Nielsen Norman Group is blunt about placeholder text: "'Lorem ipsum' must die" ([NN/g](https://www.nngroup.com/articles/layout-vs-content/)). Her reason is layout. Space that was filled with fake content turns into empty or unneeded space once the real content arrives.

Real content also changes what testers can tell you. Evan Sunwall, also at NN/g, writes that "Designs with poor content fidelity are too abstract for users to understand" ([NN/g](https://www.nngroup.com/articles/promptframes/)).

Look for the longest real case, not the average one. On a pricing page that is the plan with the longest name, the price with a billing term attached, and the button that has to say what happens next.


Paste the real copy into whichever material you chose. In a design file it shows you which frames to redraw. In HTML the text wraps without being asked, and you see what the page does about it.

## Step 5: Build the narrowest width first

Build the page at phone width first, then widen it. More page views worldwide now come from phones than from desktops ([StatCounter](https://gs.statcounter.com/platform-market-share/desktop-mobile-tablet)), and your own analytics will say how many of yours do.

Pete LePage and Rachel Andrew's guide on web.dev gives the method. Start with the small screen, "then expand the screen until a breakpoint becomes necessary" ([web.dev](https://web.dev/articles/responsive-web-design-basics)). The content decides where the layout changes, not a list of device sizes.

In practice, set the window to 375 pixels wide and lay out the page in one column. Then drag the window wider. Where the plan cards have room to sit side by side, add a breakpoint. Where a line of text grows too long to read, add another.

This is the step where the material shows. Figma's prototype view scales a frame to fit the window. Its Responsive option goes further: "The contents of the prototype will resize and re-layout as the prototype viewer resizes" ([Figma Help Center](https://help.figma.com/hc/en-us/articles/360040318013-Play-your-prototypes)), on frames built with constraints and auto layout. A navigation bar that turns into a menu button is still a second frame that someone draws. In the three code materials, the page reflows because it is a page.


## Step 6: Put the prototype on a URL

Give the prototype one URL that always shows the latest version. Each material gets there differently.

| Made of | How it gets a URL |
| --- | --- |
| A design file | The tool's share link, opened in a browser |
| HTML and CSS | CodePen's Full Page View, a shared Claude artifact, or a folder of files on a static host |
| A new generated app | The tool's own publish or deploy button |
| The real codebase | A preview deployment of the branch |

For a folder of HTML files, Netlify Drop is the shortest route. Drag the folder onto the page and "it goes live instantly, no account required" ([Netlify](https://docs.netlify.com/deploy/create-deploys/)). If testers will open the link over several days, sign in before you drop the folder, so the site sits in your account. You then update the same URL by dropping the new folder on that site's Deploys page. A GOV.UK Prototype Kit prototype is a Node.js app, so it needs a host that runs Node, not a static one. A shared Claude artifact opens for anyone: "Anyone with the link can view and use it without a Claude account" ([Claude Help Center](https://support.claude.com/en/articles/9547008-publishing-and-sharing-artifacts)).

For a branch of a real web app, the link is a preview deployment of that branch. Setting one up, and collecting comments on it, is covered in [the code route of our software prototype guide](/blog/how-to-create-a-software-prototype#step-3b-how-to-prototype-a-web-app-in-code).

Before you send the link, open it in a private window. That shows what a tester without your login sees.

## Step 7: Test on a real phone, then decide what happens to it

Open the link on a real phone before anyone else does. Browser emulation is a start and no more. Chrome's documentation calls Device Mode "a first-order approximation of how your page looks and feels" on a mobile device ([Chrome DevTools](https://developer.chrome.com/docs/devtools/device-mode)). MDN says of physical devices that "this provides the greatest accuracy in terms of behavior and overall user experience" ([MDN](https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Testing/Testing_strategies)).

On the phone, walk the path yourself with your thumbs. Type a real email address into the form with the keyboard open. Tap the smallest link. Go back from the confirmation page and see what the form remembers.

Then test with people, and decide what happens to the prototype. Five testers are enough for one kind of user. How to write their tasks, and whether to throw the prototype away or merge it, is in [steps 4 and 5 of the software prototype guide](/blog/how-to-create-a-software-prototype#step-4-test-it-with-five-people).

Say which it will be before the demo, not after. For an HTML prototype the answer is already written. GOV.UK tells its teams: "Do not just copy prototype code into production" ([GOV.UK Service Manual](https://www.gov.uk/service-manual/design/making-prototypes)).

This week, pick one path on your site and write its real copy. Build it at 375 pixels wide in the material from step 2. Then open the link on your phone.

## Frequently asked questions

### What is the best tool for website prototypes?

The best website prototype tool depends on what the prototype should be made of. When the question is layout and flow, use Figma or Penpot. For a prototype that has to behave like a page in a browser, use CodePen or a Claude artifact. For a new web app from a prompt, use v0, Lovable or Bolt. For a page in a web app that already ships, work in its repository with Cursor, Claude Code or Modeinspect (Next.js React codebases that use Tailwind). [The table](#website-prototyping-tools-sorted-by-what-the-prototype-is-made-of) has the free plan and price of each.

### What is an HTML prototype, and which HTML prototype tool should I use?

An HTML prototype is a few pages of HTML and CSS that run in a browser, so links, forms and screen width behave as they will on the real site. CodePen is the quickest start, because a Pen runs in the browser with nothing to install. The GOV.UK Prototype Kit suits multi-page government services. Claude writes a single-page website as an artifact from a description. Axure RP and Justinmind come from the other side: they export a visual prototype as HTML files, Justinmind on its Professional plan. An HTML prototype is built to be thrown away, not shipped.

### How do web app prototyping tools compare?

Compare web app prototyping tools on whether testers get a real page: real URLs, forms that take typing and a layout that follows the window. A generated app from v0, Lovable or Bolt does, and so does a branch of your own repository. A Figma frame does not, which is fine while the question is only about the flow. The tools themselves, 16 with prices, are compared in [our prototyping tools comparison](/blog/prototyping-tools).

### Can I create interactive prototypes online?

Yes. Figma and Penpot run in the browser and link screens into a clickable prototype that opens from a share link. CodePen runs HTML, CSS and JavaScript in the browser and gives each Pen a full-page URL. v0, Lovable and Bolt build a working app from a prompt, also in the browser. None of them needs anything installed.

### What is a cost-effective option to create a high fidelity prototype for a web app?

For a web app that already ships, the cheapest high fidelity prototype is a branch of the app itself, because nothing gets built twice. For a new one, start on a free plan: [the table](#website-prototyping-tools-sorted-by-what-the-prototype-is-made-of) shows which tools have one. What high fidelity buys, and when low is enough, is in [our comparison of low and high fidelity prototypes](/blog/low-fidelity-vs-high-fidelity-prototypes).

### When does a website mockup become a prototype?

A website mockup becomes a prototype when it stops being a picture of a page. A wireframe and a mockup are both pictures. The prototype is the first of the three that can be a real page: it follows the window, its links go somewhere and its forms take typing. What a wireframe contains at each level of detail is covered in [our guide to low fidelity and high fidelity wireframes](/blog/low-fidelity-vs-high-fidelity-wireframes).

### Can a website prototype become the real website?

Sometimes. A site built in a site builder is the real website as soon as it is published. A branch of your real codebase becomes the feature once engineers review and merge the pull request. A design file cannot, and an HTML prototype should not. GOV.UK's guidance is direct: "You must not use the GOV.UK Prototype Kit to make live services" ([GOV.UK Service Manual](https://www.gov.uk/service-manual/design/making-prototypes)). A generated app can become a new product, but for an existing product someone ports it.
