To vibe code a website, describe it to an AI tool such as Claude, ChatGPT, Bolt or Lovable, ask for a single index.html with no build step, refine it by chatting, then drop the file (or your zipped folder) on a static host to get a live URL. That's the whole vibe coding website workflow, and once you've done it once, it takes about five minutes. Bolt, Lovable and ChatGPT Sites (on paid plans) can also host it for you, but a static host keeps the code portable and, on free plans, costs nothing.
Most tutorials quietly tap out before the live URL: the AI spits out code, the guide says "and now you have a website!" and you're left staring at an index.html file on your desktop. This is the full playbook, prompt to public URL, with the tools compared and the deploy step explained.
What is vibe coding (and why it changes website building)
Vibe coding works like this: you describe the website you want, an AI writes the code, you tweak by chatting instead of editing, and you ship. The term took off after Andrej Karpathy's February 2025 X post about a new kind of coding "where you fully give in to the vibes." It stuck because it captures the actual feeling - you're not really writing code, you're vibing with an AI that does.
For website building specifically, this is a big shift. The old options were:
- Learn HTML/CSS/JS (steep ramp).
- Use a drag-and-drop builder like Wix or Squarespace (locked-in, monthly fee, template-bound by default).
- Hire someone (expensive).
Vibe coding adds a fourth option that didn't exist before: you get real, ownable code that looks the way you want, without having written a single line yourself. That's the unlock.
What you need before you start
Not much:
- An AI tool that generates websites. Claude, ChatGPT, Bolt.new, Lovable, v0 and Base44 all have free plans. They're compared below.
- A way to host the output. This is the part most guides skip. You need somewhere to put the generated files so they live at a real URL.
- A clear idea of what you want. Purpose, audience, vibe (pun intended), and a rough list of sections. The clearer your prompt, the less back-and-forth.
That's it. No terminal, no Node install, no Git account, no domain purchase. A browser tab on a Chromebook is enough.
How to vibe code a website: from prompt to live URL
Quick version: write a specific prompt, generate the site, refine it by chatting, export the HTML, then drop it on a host.
Step 1: Write a specific prompt
The single biggest mistake people make is being too vague. "Make me a portfolio site" gets you generic garbage. Try this template instead:
Build a single-page TYPE website for WHO YOU ARE / WHAT IT'S FOR.
Audience: WHO IS VISITING
Sections (in order): LIST SECTIONS
Style: PICK 2-3 ADJECTIVES + 1-2 REFERENCE SITES
Tech: Plain HTML, CSS, and vanilla JavaScript in a single index.html file. No frameworks, no build step. Use system fonts. Make it responsive on mobile.
Include: ANY MUST-HAVES - contact form, links, etc.
One heads-up on "contact form": a static host serves files, it doesn't process form submissions. Ask for a mailto: link, or have the AI point the form at a third-party form service such as Formspree; connecting a landing page form shows where each service stores the leads. Otherwise the form looks great and sends nothing.
Here's a filled-in example, for a made-up photographer:
Build a single-page portfolio website for Maya, a film photographer in Austin. Audience: art directors and potential clients. Sections: hero with name and tagline, gallery grid (6 placeholder images), short bio, contact email. Style: minimal, editorial, warm cream background and dark serif type, reminiscent of are.na and Cereal magazine's site. Tech: single index.html, vanilla CSS and JS, mobile responsive, no frameworks.
The "no frameworks, single file" line is doing a lot of work. It tells the AI not to give you a Next.js project with a tree of dependencies you can't deploy. You get one file you can drop onto any host.
Step 2: Generate the site
Paste your prompt into your tool of choice. Most of them will show a live preview alongside the code. Take a beat and look at it properly before iterating.
Step 3: Iterate with conversational refinements
This is where vibe coding shines. You don't open a code editor - you just talk:
- "Make the hero text bigger and add more whitespace below it."
- "The gallery looks cramped on mobile, give it more breathing room."
- "Swap the serif font for something more like Inter."
- "Add a subtle hover state to the gallery images."
Two or three rounds usually gets you 90% of the way there. If the AI gets stuck in a loop or breaks something that was working, just say "revert that last change" or paste back the version you liked.
Step 4: Export the HTML/CSS/JS
This step varies by tool (see the comparison below), but the goal is the same: end up with a folder on your computer that contains your site. For a single-file site, that's just index.html. For a slightly fancier one, you might have an index.html, a styles.css, and an images/ folder.
Step 5: Drop it on a host for a live URL
This is the part the guides skip. Zip the folder (or grab the single index.html), drop it on a static host, and get a URL back. One option is covered below, but the workflow is the same anywhere: files in, URL out.
That's the whole loop.
The best vibe coding website builder (tools compared)
The verdict first: Claude Artifacts for a one-page site, since it hands you one HTML file to copy out; Bolt.new or Lovable for app-shaped projects with state or a backend; v0 if you already work in Next.js. Here's how the six stack up, with free-plan limits checked on October 31, 2026.
| Tool | Free plan (Oct 2026) | Output format | Export friction | Lock-in | Best for |
|---|---|---|---|---|---|
| Claude Artifacts | Usage limit that resets every five hours | Single-file HTML or React in artifact | Very low - copy and paste | None | Single-page sites, fast iteration |
| ChatGPT | HTML in chat or Canvas; ChatGPT Sites (hosted) is a paid-plan beta | Code blocks, HTML or framework | Low - copy and paste | None for pasted code | Quick prototypes |
| Bolt.new | 1M tokens a month, 300K a day; hosting with Bolt branding | Full project (often React/Vite) | Medium - download ZIP, requires build | Low | Full-stack apps |
| Lovable | 5 credits a day, up to 30 a month; Git sync, no code download | Full project with Git sync | Medium - GitHub, or download on Pro | Medium - tied to their preview | App-style sites |
| v0 (v0.app) | 7 messages a day, $5 one-time credits for new users, Vercel deploy, GitHub sync | Next.js / React | High for non-devs - needs a Next.js build | Medium - Vercel-flavored | Devs already using Next.js |
| Base44 | 25 message and 100 integration credits a month | Full app with backend | High - GitHub sync starts on Builder | High - their platform | All-in-one, less ownable |
A few observations:
- For a simple personal site or landing page, Claude Artifacts is hard to beat. Ask for one HTML file, copy it, done. No shade to the others, but it's the one that clicks fastest for a first site.
- Bolt and Lovable are great when you want something more app-shaped, like a tool with state or a small backend. The tradeoff is the output is a real project you have to handle as one.
- v0 is powerful but aimed at developers who already know Next.js. If that's not you, the export will feel like falling off a cliff.
- Base44 is the most "all in one" but also the most locked-in. Fine if you never plan to leave; rough if you do.
The pattern: the simpler the output, the easier the deploy. For most personal sites, simpler wins.
How to export your code from each tool
The export step is where many people get stuck. Here's what works for each tool. If you'd rather keep the code on GitHub, Lovable and v0 both sync a project to a GitHub repo on their free plans, while Base44's GitHub sync starts on Builder ($40 a month billed yearly), as of October 2026.
Claude (Artifacts)
Open the artifact, hit the copy button (or select all and copy). Open a plain text editor - TextEdit on Mac (set to plain text, not rich text), Notepad on Windows, whatever. Paste. Save as index.html. Done. Newer artifacts can also be exported from the artifact's title menu (Export > HTML), and if you'd rather keep Claude's own link, here's how to share or publish a Claude artifact. For a multi-page site, Claude Code writes the files into a folder instead: the Claude website builder guide covers a whole site.
ChatGPT (Canvas or code blocks)
Same as Claude. Copy the code, paste into a plain text file, save as index.html. If ChatGPT split the output into separate HTML/CSS/JS, save each file with the right extension in the same folder. On Plus, Pro and workspace plans, ChatGPT Sites skips this step by hosting the site at its own Site URL. It's in beta and still rolling out, as of October 2026.
Bolt.new
Click the project title in the top left, then Download, and you get a ZIP. Unzip it. Important: if it gave you a Vite or React project, you need Node.js, then npm install and npm run build to get static files - which kind of defeats the no-code premise. That's why the prompt template says "no frameworks" upfront.
Lovable
Two options. Git sync (GitHub, GitLab or Bitbucket) works on every plan, Free included. Download code is a Pro feature ($25 a month or $250 a year, as of October 2026). Same caveat as Bolt: a framework project needs a build step, and the guide on how to deploy a Lovable app covers it. If you'd rather keep it on Lovable's own hosting, connecting a Lovable custom domain has a few DNS gotchas of its own.
v0 (formerly v0.dev)
v0 now lives at v0.app. On Free you can copy component code, sync to GitHub or deploy to Vercel, but there's still no clean "give me static HTML" path: the output is a Next.js project that needs a build. If you'd rather not stay on Vercel, these Vercel alternatives can host it, as long as the project is built as a static export.
Base44
Their happy path is to host it on Base44. Code export is the two-way GitHub sync on Builder and up, so on Free you're mostly fighting the tool.
If you're new to all this, the cleanest move is: prompt for a single HTML file, copy it out, save it locally. That's it.
How to deploy and host a vibe coding website for free
Okay, you've got an index.html (and maybe a few other files) sitting in a folder on your desktop. Now what?
You need static site hosting. Translation: a service that takes your files and serves them at a public URL. Lots of options exist - Netlify, Cloudflare Pages, GitHub Pages - and while some, like Netlify Drop, now take a dragged folder, most are built around Git, CLIs and deploy commands. Which... if you just used an AI so you wouldn't have to think about that stuff, kind of misses the point.
This is the job we built Hostsmith for. It's drag-and-drop static hosting with a live URL on hostsmith.link: no terminal, no Git, no deploy command, and it serves your files as they are, so there's no build step on its end.
The Free plan covers, as of October 2026:
- 1 site
- 5 GB of bandwidth a month
- 5 MB of storage, which is also the largest file you can upload (plenty for a vibe-coded single-page site - a text-and-CSS page is kilobytes, not megabytes)
- A
your-site.us.hostsmith.linkaddress - Hostsmith branding shown on the site
- The API and MCP server
For a personal site, a resume page, or an "I made this for the group chat" project, the Free plan is enough. A photo portfolio is where 5 MB runs out, since full-size camera photos are a few MB each, so resize them first or move to Starter: 50 MB of storage and 10 GB of bandwidth for $5 a month billed yearly ($60 a year) or $9 billed monthly.
Custom domains start on Pro: 5 of them, plus 5 sites, 50 GB of bandwidth and 500 MB of storage, for $15 a month billed yearly ($180 a year) or $21 billed monthly, as of October 2026.
For the longer take on files-in, URL-out hosting, see drag-and-drop website hosting; how to host an HTML file online covers the single-file case; Replit alternatives covers moving a Replit project to a static host.
Step by step:
- Zip the folder with your site in it, or use the single
index.html. - Drop it on the upload box on the hostsmith.net homepage.
- Sign in to publish it.
- You get a URL like
your-site.us.hostsmith.link. Share it.
Changing it later. When you've chatted your way to a new version, upload the new ZIP (or index.html) to the same site from the Hostsmith dashboard. It replaces all of the site's files, and the address stays the same.
Skipping the ZIP. The API, MCP server and JS SDK deploy a whole folder without zipping, on every plan, Free included. So an agent in Claude Code, Cursor or another MCP client can publish the folder it just wrote, and push the next version to the same address. We ran one test site through Vercel MCP, Netlify MCP, Render MCP and five more to see which take the folder straight from disk.
Vibe coding a personal website (portfolio, resume, link-in-bio)
A vibe coding personal website is the perfect first project. It's small, the requirements are clear, and nobody else gets fired if you mess up. We'd argue everyone should have one: it's still the cleanest way to own your professional identity online.
Three prompts that work well:
Portfolio. "Build a single-page portfolio for name, a role. Sections: hero, selected work (3-6 projects with image, title, one-line description, link), about, contact. Style: adjectives. Single HTML file, vanilla CSS, mobile-first."
Resume. "Build a single-page web resume for name. Sections: header with name and contact, summary, experience (reverse chronological), education, skills. Make it print-friendly with a clean print stylesheet. Single HTML file."
Link-in-bio. "Build a single-page link-in-bio site for name/brand. Centered avatar, name, one-line bio, then 5-8 large tappable link buttons. Mobile-first, very large tap targets, dark mode by default. Single HTML file."
For more on this specific use case, the how to host a portfolio website guide goes deeper.
Common pitfalls (and how to fix them)
These are the errors you'll probably hit first.
Broken images after export. The AI used a placeholder URL or referenced an image with an absolute path like /Users/you/Desktop/photo.jpg. Fix: tell the AI to "use placehold.co URLs for images so the site works anywhere" or put your real images in the same folder and use relative paths like images/photo.jpg.
Framework projects you can't deploy. Bolt or Lovable gave you a full Vite project, you didn't realize it, and now you're staring at a package.json. Fix: either re-prompt asking for a "static HTML output, no build step" or run npm install && npm run build, then zip the dist/ folder and upload that. The first is way easier.
Mobile looks broken. AI sometimes forgets the viewport meta tag. Check your <head> has: <meta name="viewport" content="width=device-width, initial-scale=1">. If not, ask the AI to add it. To check the page on your phone first, note that the iPhone's Files preview ran no JavaScript in our test; see how to open an HTML file on iPhone.
Works in preview but breaks live. Almost always a relative path issue. Look for any path starting with / and either change to relative (./styles.css or just styles.css) or tell the AI: "use only relative paths so this works at any URL."
Missing fonts. If the AI used a fancy font without a link, it'll fall back to Times New Roman live. Either add a Google Fonts link in the <head> or stick with system fonts (font-family: system-ui, sans-serif;).
Cleanup checklist before deploying:
- One
index.htmlat the root of the folder (always lowercase to be safe across hosts). - Viewport meta tag present.
- All paths relative.
- Test it in a browser. A single file works by double-clicking; if it uses
fetch()or JavaScript modules, runpython3 -m http.serverin the folder and openlocalhost:8000instead, since browsers block those onfile://.
This is also a good moment to note: if you tried GitHub Pages and found the Git workflow annoying, the drag-and-drop approach is the obvious upgrade for vibe-coded sites.
FAQs
Can you vibe code a website for free? Yes, end to end. Claude, ChatGPT, Bolt, Lovable and v0 all have free plans that can produce a basic site. Hostsmith's Free plan hosts it: 1 site with 5 MB of storage, as of October 2026. Total cost: zero.
What is the best vibe coding website builder? For a single-page site, Claude Artifacts is our pick - it outputs one HTML file you can copy out and host immediately. For app-shaped projects with state or a backend, Bolt.new or Lovable are stronger. For developers already in the Next.js ecosystem, v0 fits best. There's no single "best" - it tracks what you're building.
How do I deploy and host a vibe-coded website?
Save the AI output as index.html (and any companion files) in a folder, then drop your zipped folder, or the single index.html, on a static host like Hostsmith. You'll get a public URL back. No terminal, no Git, no build step needed if you prompted for a single HTML file.
Can I put a vibe coding website on GitHub? Yes, in two ways. To keep the code there, Lovable and v0 sync a project to GitHub on their free plans, and Base44 does from its Builder plan, as of October 2026. To host it from there, GitHub Pages publishes a public repo for free, though you'll be working in a GitHub repo; GitHub Pages alternatives covers the trade-offs. Or skip the repo and drop the file on a static host.
Do you need to know any code?
No. You should be willing to copy and paste a file, and roughly recognize what an index.html is, but you don't need to write code. If something breaks, you describe the problem to the AI and ask for a fix.
Can I use a custom domain?
On Hostsmith's Free plan, no - you get a hostsmith.link subdomain. Custom domains start on Pro, which includes 5. Bolt's and Lovable's free plans don't include one either, and most "free + custom domain" combos involve more setup hassle.
Is a vibe-coded site production-ready? For a personal site, marketing landing page, or small portfolio - yes, totally. For a real SaaS app handling payments and user data, no, you should not vibe-code your way there without review. The AI writes plausible code, not always secure code.
How is this different from Wix or Squarespace? You own the code. You can move it to any host. The design isn't constrained to templates. The tradeoff is there's no point-and-click visual editor - changes go through the AI. For people who want to look unique and stay portable, vibe coding wins. For people who want a visual builder, the old players still make sense.
Can I export code from existing builders too? Sometimes. Webflow exports HTML and CSS on a paid Workspace plan, from Freelancer at $16 a month billed yearly (October 2026); see how to export code from Webflow. Most others (Wix, Squarespace) make it hard on purpose. Vibe coding sidesteps that whole lock-in problem.
Try it now
Start with Claude or ChatGPT, since they're the simplest path, and put "single HTML file, no frameworks, mobile responsive" in the prompt.
Nobody wants to spend a Saturday learning DNS records and Git commands to put up a one-page site. That's the whole point of vibe coding. Don't let the deploy step be the thing that ruins the vibe.
Go build something. The bar for "having a website" has never been lower, and that's actually kind of beautiful.
Vibe coding in Claude Code, Cursor or another MCP client? The Hostsmith MCP server lets the agent publish the site itself, on every plan including Free.