Can ChatGPT make a game? Yes: play it on your phone and send the link
Quick answer
Yes. ChatGPT writes a browser game as code on every plan, and OpenAI's help says that “For supported code blocks, select Preview to view the result inside ChatGPT,” with “HTML pages” among them (read on November 25, 2026). Canvas is gone (“canvas will no longer be available in GPT-5.5 Instant or GPT-5.5 Thinking,” May 28, 2026), and “Sites is not available on Free or Go.” Ask ChatGPT for the game as one HTML file with touch controls, play it on your phone, then drop the file into Convika for a link your friends open with no account.
Free plan: no credit card, 5 published pages.
On this page
Yes. ChatGPT writes a browser game as code on every plan, and OpenAI's help says that “For supported code blocks, select Preview to view the result inside ChatGPT,” with “HTML pages” among the supported previews. OpenAI's help pages were read on November 25, 2026.
That preview stays inside your chat. To let friends play, ask for the game as one HTML file, check it on your phone, and drop the file into the box at the top of this page. Convika turns it into a link that opens in any phone's browser, with no account and no app store.
What ChatGPT gives you, and where it stops
From OpenAI's help, read on November 25, 2026:
- A preview in the chat. On a supported code block, Preview shows the game inside ChatGPT. OpenAI adds that “Available actions vary by plan, device, workspace settings, model, and rollout,” and that previews run in “a sandboxed environment” (writing blocks and code blocks).
- Games inside the conversation. Since October 7, 2026, ChatGPT can put “tools you can use directly in the conversation, such as calculators, bill splitters, and games” in its answers; GPT-6 Sol on paid plans and GPT-6 Luna on Free and Go both “support Intelligent UI” (release notes, Intelligent UI). The Intelligent UI article doesn't say how to open one at a link.
- No canvas. The model release notes for May 28, 2026 state: “canvas will no longer be available in GPT-5.5 Instant or GPT-5.5 Thinking.” What happened to ChatGPT canvas has the rest.
- A Site only on paid plans. “ChatGPT Sites is available to ChatGPT Plus and Pro accounts, as well as Business and Enterprise workspaces,” and “Sites is not available on Free or Go” (Sites help).
So the game itself is free to make. The link for your friends is the step Convika adds, on any ChatGPT plan.
What kind of game ChatGPT can make
A browser game fits in one HTML file when the browser can run all of it. ChatGPT writes the HTML, CSS, and JavaScript; the file is the game.
| Game | Fits in one HTML file | Ask ChatGPT for |
|---|---|---|
| Quiz or trivia | Yes | Questions in the file, big answer buttons, a score at the end |
| Puzzle: memory match, sliding tiles, word game | Yes | Tap to select, a move counter, a restart button |
| Arcade: catch, dodge, endless runner | Yes | A <canvas> game with on-screen buttons and swipe for touch |
| Platformer | Yes | Left, right, and jump buttons drawn on the screen for phones |
| 3D | Yes, with three.js loaded from a CDN link | One <script src="https://..."> for three.js, shapes instead of model files |
| Shared high-score board | Yes, on Convika | Scores saved with window.storage and shared: true |
| Real-time multiplayer | The game page, yes; the server runs on another host | A WebSocket connection to a game server you run |
| Unity, Godot, or Roblox game | No: the engine builds it | Scripts for the engine (C#, GDScript, or Luau) |
On a published Convika page, a one-file game's own script, a script from a CDN, keys and touch, localStorage high scores, Web Audio sound, and WebAssembly all ran in Chromium, Firefox, and WebKit at phone size, in the test on October 20 and 21, 2026 that How to publish a game you made with ChatGPT describes.
The prompt
Paste this into ChatGPT and change the line that describes the game. It's an example to start from:
Make a browser game as ONE HTML file, with all CSS and JavaScript inside it.
The game: catch falling stars in a basket and dodge the rocks. 3 lives.
It must work on a phone: on-screen left and right buttons, a portrait
screen, and no page scrolling while playing. Arrow keys also work on a computer.
Start with a Start button. Show the score, and keep the best score with localStorage.
Draw everything with canvas shapes and make sounds with Web Audio, so the file
needs no image or sound files.
Give me the whole file in one code block.
Touch controls and a saved high score are the 2 lines that make a ChatGPT game feel finished on a phone. Fix an AI-made HTML game's mobile controls has repair prompts for taps that land in the wrong place or a game that scrolls.
For a game that already works, start from one of Convika's free game templates, such as Catch game, Stack tower, or Memory match. Each template page shows its full prompt to copy into ChatGPT, and ChatGPT writes the game as one HTML file.
Play it on your phone first
Drop the file into the box and click Get my preview link. Open the preview on your phone and play one round: check that the buttons respond, nothing runs off the screen, and the page doesn't scroll. The preview link works for 3 minutes with no account. Play an HTML game on your iPhone or Android phone covers opening the file itself on a phone.
Send friends a link in 3 steps
1. Drop the game into the box
Copy the whole code block from ChatGPT and paste it on the Paste code tab of the box, or drop the .html file on Upload a file. Click Get my preview link, then Open my preview to play it.
2. Keep the page
Click Keep this page — free, no card and sign up. The game moves into your Convika account.
3. Publish it and send the link
On the page's screen, click Publish page. Under Who can open this page?, choose Public and click Next. The first time, Convika shows Publish free, and under it Publish without the Convika bar, which starts Pro with its free trial: 7 days free, then $12 a month, cancel any time before it ends. To publish on Free, click Publish free. The game is live at an address like yourgame.convika.page.
Paste the link in a group chat, Discord, or a text. Your friends tap it and play in their browser, with no account. On Free, a 64 px Convika bar runs along the bottom of the screen, so ask ChatGPT to keep the game's buttons above it.
Add a leaderboard and update the game at the same link
A leaderboard with no server. Ask ChatGPT: “Add a top-10 leaderboard. Save each score with window.storage and shared: true, so every player reads and writes the same list.” On a Convika page, every player then sees the same board, on every plan; Free holds 1,000 shared values a page. Add a leaderboard to your AI HTML game has the full prompt.
Level 2 at the same link. When ChatGPT makes the next version, upload the new file as the next version of the same page and publish it. The link your friends have stays the same, and so do their saved scores (Update your AI game without changing the link).
Frequently asked questions
Can ChatGPT make a game for me?
Yes. ChatGPT writes a browser game as HTML, CSS, and JavaScript on every plan, Free and Go included, and you play it with Preview on a supported code block. Ask for one HTML file with touch controls, and you can publish that file as a link anyone opens.
Can ChatGPT make a game in Unity, Godot, or Roblox?
ChatGPT writes the code; the engine builds the game. It writes C# scripts for Unity, GDScript for Godot, and Luau for Roblox Studio. A Unity or Godot web export is a folder of files you can put online: see host a Unity WebGL game free and host a Godot web game free. A Roblox game runs on Roblox.
Can I play a ChatGPT game on my phone?
Yes, in the phone's browser. Ask ChatGPT for on-screen buttons, because a phone has no arrow keys. Drop the file into the box on this page and open the preview link on your phone to play it before you share it.
How do I share a game I made with ChatGPT with friends?
Publish the game's HTML file and send the link. On Convika, drop the file into the box, keep the page with a free account, click Publish page, choose Public, and click Publish free the first time. Friends open the link in any browser with no account.
Is it free to make and share a ChatGPT game?
Yes. ChatGPT writes the game on its Free plan, and Convika Free publishes 5 pages with no credit card, a shared leaderboard included. Pro, with its free trial, takes the Convika bar off the bottom of the game.
Sources
All read on November 25, 2026:
- OpenAI: Working with writing blocks and code blocks in ChatGPT (Preview, supported blocks, sandbox)
- OpenAI: Model release notes (canvas and GPT-5.5, May 28, 2026)
- OpenAI: ChatGPT release notes (GPT-6 and Intelligent UI, October 7, 2026)
- OpenAI: Intelligent UI in ChatGPT (plans)
- OpenAI: Creating and using ChatGPT Sites (plans)
Next step
How to password protect an HTML page or website
A JavaScript password sits in the page source. Free: StatiCrypt or .htaccess. Paid: Netlify Pro $20, Vercel $20 a project, Tiiny Host $18, or Convika Pro.
Related articles
- How to publish a game you made with ChatGPT so friends can play itPut a one-file HTML game from ChatGPT online for free and send friends a link. Convika, itch.io, GitHub Pages, Netlify Drop, and CodePen compared, with steps.
- How to play an HTML game on your iPhone or Android phoneTapping game.html often opens a preview that doesn't run the game. Play it once in Safari or Chrome with a free viewer, or from a link that keeps high scores.
- Fix an AI-made HTML game that works on a computer but not a phoneFix touch controls, offset taps, unwanted scrolling, and silent audio in an AI-made HTML game. Includes repair prompts, code, and a phone test checklist.
- Add a leaderboard to your AI-made HTML game without a serverAsk your AI to save scores with window.storage and shared: true. On a Convika page, every player reads and writes the same board, with no backend of your own.
- Make a game with AI for free, no coding, and send friends a link they can playNo game-maker app needed: ask ChatGPT, Claude, or Gemini for a one-file HTML game, test it on your phone, and publish it free as a link friends can play.
- Where to host a game you made with ChatGPT or Claude: itch.io, GitHub Pages, Netlify Drop, CodePen, and Convika compareditch.io, GitHub Pages, Netlify Drop, CodePen, and Convika compared for a one-file game from ChatGPT or Claude: sign-up, phone play, traffic limits, and domains.
Skipbox
Cheap & fast GitHub Actions runners, unlimited for $39 a month
Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.
Start a free Skipbox trial