Vibe Coding6 min read

    ChatGPT for Vibe Coding: What It Can and Can't Build

    Can you vibe code with ChatGPT? Yes, for a small page or tool. Here's how to do it in canvas, where it stops, and what to use for a real app.

    James Killick

    Yes, you can vibe code with ChatGPT. It's good for a small page or a simple tool: a quote calculator, a landing page, a one-screen app. It can write the code and show a live preview in a feature called canvas. It can't, on its own, give you a live app with sign-in and saved data. For that you need more tools.

    Here's how to use it, where it stops, and what to reach for next.

    How do you vibe code with ChatGPT?

    You describe what you want and ChatGPT writes the code. OpenAI introduced canvas as a new interface for working with ChatGPT on writing and coding projects (Introducing canvas). Its help page says canvas can render React and HTML code in a sandbox, so you can see the output (OpenAI Help Center, saved copy).

    That's vibe coding in its simplest form. New to the idea? Read what is vibe coding first.

    Step by step: build a small tool in canvas

    1. Pick one small job. "A calculator that works out my quote from hours and rate." Not "my whole business app".
    2. Write the brief. Say who uses it, what goes in and what comes out. Ask for a single page.
    3. Ask for canvas. OpenAI says ChatGPT often opens canvas by itself when it writes more than about 10 lines of code. You can also ask for it by name.
    4. Check the preview. React and HTML render in the sandbox. Click through it like a user would.
    5. Change it by highlighting. You can highlight a section and tell ChatGPT what to change. There are shortcuts for fixing bugs and reviewing the code.
    6. Save it. Copy the code into a file called index.html and open it in your browser. That's now your page, on your computer.

    A prompt you can steal:

    Build a one-page quote calculator in HTML. The user types hours and an hourly rate. Show the subtotal, 10% GST and the total in AUD. Keep it simple and mobile friendly. Open it in canvas.
    

    What ChatGPT can build well alone

    • A single page or landing page.
    • A small calculator, form or checklist.
    • A mockup to show a developer what you mean.
    • A script that does one job.

    What it can't do alone

    Be honest about this part.

    • Run a real product. The canvas gives you a preview inside ChatGPT. A live site for customers needs somewhere to host it.
    • Save data. A page on your computer doesn't remember anything. A real app needs a database.
    • Know who's using it. Sign-in and per-person data need a back end.
    • Load everything in the preview. OpenAI notes that previews needing outside packages or web resources may depend on your workspace's network access settings.
    • Look after the code over time. You paste in changes by hand, and nobody tests them.

    None of this means ChatGPT is a bad tool. It means canvas is a sketchpad, not a workshop.

    What to use when you outgrow canvas

    You have two common routes.

    Route 1: an app builder. Tools like Lovable and Bolt host the app and give you a database and sign-in. See best vibe coding tools and Lovable vs Bolt.

    Route 2: Codex, OpenAI's coding agent. OpenAI describes Codex CLI as a coding agent you run in your terminal that can read, change and run code in a folder you pick. Codex cloud works on tasks in the background, connects to your GitHub account and creates pull requests from its work. OpenAI says Plus, Pro, Business, Edu and Enterprise plans include Codex (Codex cloud docs and Codex CLI docs).

    That's a bigger step. You'll work in GitHub and read pull requests. It suits you if you're ready to learn a little about how software is built. The best AI coding tools compares your options.

    ChatGPT or Claude?

    Both can write the code for a small page. Which one suits you comes down to how you work. See Claude vs ChatGPT for business for a plain comparison, and setting up Claude for your business if you pick Claude.

    FAQ

    Can ChatGPT build a whole app?

    It can write the code for one. It can't host it, store data or manage sign-in by itself. You'd pair it with a host and a database, or use an app builder that includes both.

    Is ChatGPT good for vibe coding beginners?

    Yes, for a first small project. It's a gentle way to see how a prompt turns into a working page. Follow our vibe coding for beginners guide for the next steps.

    Do I need a paid plan?

    OpenAI says its Plus, Pro, Business, Edu and Enterprise plans include Codex. Plans change, so check OpenAI's pricing and help pages on the day you sign up. We don't quote prices here.

    Your next step

    Open ChatGPT and ask for the one-page quote calculator above, in canvas. Change two things in it, by highlighting.