How to Clone a Website With AI (From a URL)
By @andymarrows · Updated · 7 min read
In short
To clone a website with AI from its URL, paste the address into Livery Build (build.livery.site/start): it renders the site in a real browser and returns a Next.js and Tailwind project with one component per section, the site's own fonts, images and motion, checked against the original, that you run with npm run dev and finish with Claude Code. To have your own coding agent do the cloning, use the open-source AI Website Cloner Template; for a quick AI starting point you keep prompting, use Same or v0; for an exact offline copy of the files, use HTTrack.
Can AI clone a website from its URL?
Yes, and "clone" can mean three different things. Knowing which one you want saves a lot of trying:
- A project: the site rebuilt as code you'd write yourself, with components, a framework and a build step, that runs and that you keep changing. This is what most people mean when they ask an AI to clone a site.
- An AI starting point: a model looks at the page (or a screenshot of it) and generates something close, which you keep prompting until it's what you want.
- A mirror: the site's own HTML, CSS, scripts and pictures downloaded exactly as they're served, to browse offline. No AI is involved, and the result is hard to edit.
A clone is the front end: what the browser shows. No tool can copy a site's server, database, accounts or checkout, because those never reach your browser.
How do the ways to clone a website compare?
| Tool | You give it | What you get | Stack | Cost |
|---|---|---|---|---|
| Livery Build | A URL: one page or the whole site | A project that runs with npm run dev: a component per section, the site's fonts, images and motion, a TOUR.md and a CLAUDE.md; checked against the original | Next.js (App Router) and Tailwind | 10 free credits a month (a site of 5 pages); then $5 a site |
| AI Website Cloner Template | A URL, to your own coding agent (/clone-website) | A Next.js app your agent builds, with comparison screenshots and a list of remaining gaps | Next.js 16, React 19, shadcn/ui and Tailwind v4 | Free (MIT); your agent does the work |
| Same | A URL or a screenshot | A generated clone in Same's editor, changed with prompts | Not stated in its docs | Free to start, per its docs |
| v0 | A screenshot, mock-up or Figma file | Generated UI you keep changing with prompts | Next.js, Tailwind and shadcn/ui | Free and paid plans |
| screenshot-to-code | A screenshot, mock-up, Figma design or screen recording | Code for what's in the picture | HTML, React or Vue with Tailwind, and others | Free (MIT) with your own OpenAI, Anthropic or Gemini key |
| HTTrack | A URL | The site's files in a folder, browsable offline | Whatever the site used | Free (GPL) |
Clone a website from its URL with Livery Build
- 1Open build.livery.site/start and paste the address.
- 2Choose this page or the whole site.
- 3Livery Build renders the site in a real browser, the way a visitor sees it, including animations, scroll effects and 3D, and rebuilds it as components.
- 4Download the folder or push it to GitHub, then run npm install and npm run dev.
What you get is a plain Next.js project with Tailwind: one component per section, the site's own fonts and images in public/, and its motion kept working. TOUR.md explains how the site is built, with links into the files, and every build is checked against the original before it's handed over. It works on Webflow, Framer, plain HTML and any framework; pages behind a sign-in or a checkout can't be built.
Clone a website with Claude Code
There are two good routes to clone a website with Claude Code, and they combine well:
- Start from a Livery Build folder. It comes with a CLAUDE.md, so you open the folder in Claude Code and say "build it": Claude knows how the project is laid out and finishes it from there (rename, restyle, add pages, wire up forms).
- Let your agent do the whole clone. The open-source AI Website Cloner Template gives Claude Code (or Codex, Cursor or OpenCode) a clone-website skill: run /clone-website with the address and it maps the site, observes it in a browser, builds a Next.js app and compares the result. Its README recommends Claude Code with Opus 5.5, needs Node.js 24 and an agent with browser access, and asks you not to use it for impersonation or to pass someone's design off as your own.
The first is quicker and more predictable, because a browser measures the site and the build is checked against it before you get it; the second is fully in your agent's hands. Either way you end up with a project Claude Code can keep working on.
Clone a website for free
- Livery Build gives every account 10 free credits a month, enough for a site of up to 5 pages, as a full Next.js project.
- The AI Website Cloner Template is free (MIT); what it costs is your coding agent's usage.
- screenshot-to-code is free (MIT) and runs on your machine with your own OpenAI, Anthropic or Gemini key. It works from pictures, not addresses.
- HTTrack, SiteSucker on a Mac and wget copy a site's files for free. You get a mirror rather than code to build on; HTTrack's alternatives compares them.
Should you clone a whole site or one page?
Cloning one page is enough to learn how a section is built or to start a redesign. The whole site matters when you're moving it: off a website builder, to your own hosting, or into a codebase your team owns. Livery Build builds the whole site: the pages it links to, 5 with the site's 10 credits and 5 more for every 2 credits, each as its own route, with the components they share merged so a header or footer exists once.
Moving your own site off a builder is the most common reason; exporting code from Webflow, Framer, Wix and Squarespace covers what each builder lets you take with you.
Which way to clone a website should you use?
- A project you'll keep building, with the site's real fonts, images and motion: Livery Build.
- Your own coding agent doing the whole job: the AI Website Cloner Template.
- A quick AI starting point you'll keep prompting: Same, or v0 from a screenshot.
- Code from a picture, free, on your machine: screenshot-to-code.
- An archive of the files exactly as served: HTTrack.
Clone sites you own or have permission to use. A site's design, words, pictures and logos belong to its owner: cloning to learn is different from publishing a copy as your own.
Questions
- Can AI clone any website?
- Any public page that loads in a browser. Pages behind a sign-in or a checkout, and a site's server, database and accounts, can't be cloned, because they never reach the browser.
- Can I clone a website into React or Next.js?
- Yes. Livery Build returns a Next.js (React) project with Tailwind, one component per section; the AI Website Cloner Template has your coding agent build a Next.js app.
- Can I clone a whole website, not just one page?
- Yes. In Livery Build, pick Whole site and the pages it links to come along: 5 pages for the site's 10 credits, and 5 more for every 2 credits, with shared parts like the header and footer merged into single components. The 10 free credits each month cover a site of 5 pages.
- How accurate is an AI clone?
- How accurate an AI clone is depends on how the clone is made. Tools that work from a screenshot rebuild what they see, without the site's fonts, pictures or motion. Livery Build measures the rendered page and checks its build against the original.
- Is it legal to clone a website?
- Cloning your own site, or one you have permission to use, is fine. Publishing a copy of someone else's design, words or pictures as your own isn't.
In short
To clone a website with AI from its URL, paste the address into Livery Build (build.livery.site/start): it renders the site in a real browser and returns a Next.js and Tailwind project with one component per section, the site's own fonts, images and motion, checked against the original, that you run with npm run dev and finish with Claude Code.
Sources
Try it on a site you love
Paste a link