Convika

لا تتوفر هذه الصفحة بالعربية بعد، لذا تظهر بالإنجليزية.

Run and share HTML code from Grok

Quick answer

In a regular Grok chat, HTML comes as a code block you copy. Build Mode, on grok.com and the Grok apps, previews an app in the chat and publishes it at grok.me, and Grok's web app includes the message “Publishing needs a paid plan.” To run the code free, paste it into an HTML viewer. To send it, publish it as a link.

Get a link for my Grok page

Free plan: no credit card, 1 published page.

On this page

You asked Grok for a game, a quiz, or a small page, and the answer is a long block of code that starts with <!DOCTYPE html>. Now you want to see it run, then send it to someone who will open it on a phone. This page covers what Grok itself does with HTML on the web and in its apps, how to run the code on your own screen, and 4 steps to put it at a link.

xAI's help pages, pricing page, news posts, and consumer terms were read on November 1, 2026, along with the English text built into grok.com's web app. Each document's own date is in the sources. Nothing here comes from a signed-in Grok session, so the page names only what those pages and that text say. xAI's pages now sign as SpaceXSI (SpaceX Super Intelligence LLC). This page calls the company xAI, as its web addresses do.

What Grok does with HTML today, by app and plan

Grok Studio is gone. xAI's FAQ, last updated October 20, 2026, says: “Grok Studio is no longer supported. Use Grok Build instead.” On docs.x.ai, Grok Build is a coding agent that runs in your terminal. On grok.com and in the Grok apps for iOS and Android, it's Build Mode. xAI introduced Build Mode on July 28, 2026, for SuperGrok Heavy subscribers. Its August 19, 2026 post, “Grok Build on web and mobile,” says: “Grok Build is now available on every plan, on the web and on mobile.” The same post calls the terminal version “Grok Build for the terminal.”

Where in GrokWhat happens to the HTMLPlan, in xAI's wordsWho can open it
A regular chat answerThe code sits in a code block with a copy buttonChat is “Limited” on Free and included on every paid planA share link shows the conversation. Grok's text: “Shared links can be viewed by anyone with the link.”
Build Mode, before you publish“Grok writes the code and builds a working preview inside the conversation”Grok Build is “Limited” on Free and included from Plus, $8 a monthYou, inside Grok
Build Mode, publishedThe app gets “its own address on grok.me,” or a domain you ownGrok's web app includes the message “Publishing needs a paid plan.” xAI doesn't say which plans can publish“just you, anyone with the link, or the whole internet”
Grok StudioNothing: “Grok Studio is no longer supported”NoneNone
  • Build Mode makes a project, not one file. xAI's August 19 post says Export to GitHub lets you “Push the whole project to a repo,” and Grok's web app has an error that reads “Build failed.” A Build Mode app is a set of files with a build step. To put it anywhere else, you need it as one HTML file first, as the next section shows.
  • Which plans can publish. xAI's August 19 post lists publishing among what it added to building in Grok since July: “Since then we've made it faster, taught it to publish and share what you make, wired it into X, and given the apps it builds access to our own models. All of that ships to everyone today.” xAI's pricing page lists Grok Build as “Limited” on Free and included on Plus, Premium, Super, and Ultra. Grok's web app also includes the messages “Publishing needs a paid plan” and “Once you unpublish, you'll need a paid plan to publish this app again.” Neither xAI's pricing page nor its docs say which plans can publish.
  • A regular chat. xAI's docs don't say whether a regular chat answer shows HTML as a page. Grok's interface text includes a hint that reads “Build Mode can turn this into a website, game, app, or dashboard,” with a button to switch.

Get Grok's code as one HTML file

A page that runs anywhere is one block of code from <!DOCTYPE html> to </html>, with its CSS in a <style> tag and its JavaScript in <script> tags. In a regular chat, copy the whole block with the code block's copy button. A page cut off halfway shows up broken or blank.

If Grok split the page into separate HTML, CSS, and JavaScript blocks, ask in the same chat. For a Build Mode app, a new regular chat doesn't have the app's code: paste it in, from Export to GitHub or the files Grok shows, or describe the app again. Then ask:

Give me the whole page as one HTML file, from <!DOCTYPE html> to </html>, in one code block.
Put the CSS in a <style> tag and the JavaScript in <script> tags.
Use no build step and no npm packages. Load any library from an https:// CDN.
Use full https:// links for images, and fetch no data from other websites.

2 kinds of Build Mode app don't fit in one file:

  • An app that calls Grok. xAI says an app with the SpaceXSI APIs turned on “can call Grok for chat, images, and voice from inside its own code — no keys to create, paste, or rotate.” xAI adds that “Access is per app,” and it doesn't describe using that access from anywhere but the published app, so keep such an app on grok.me.
  • An app that uses Secrets. Build Mode stores “API keys for third-party services outside your app's code.” Everyone who opens a page can read its HTML, so a key can't go in one.

Run the code on your computer or phone

  1. Copy the whole code block.
  2. Open Convika's free HTML viewer and choose Paste code. It needs no account.
  3. Paste the code and click Show the page. The page runs in your browser with its CSS and JavaScript. The code reaches Convika only if you press Get a link by uploading this page.
  4. Switch the width to Phone to see the page at a phone's size.

The viewer runs the page in a walled-off frame, so a pop-up box from alert() or a score saved with localStorage doesn't work there. What runs in the viewer, and what doesn't lists the results of a test on October 25, 2026. The same guide shows how to save the code as an .html file on a Mac or on Windows.

The preview link from the box at the top of this page works for 3 minutes, with scripts and forms turned off. To let someone play the game or press the buttons, publish the page and send the live link.

1. Paste Grok's code into the box

In the box at the top of this page, switch to Paste code and paste the code, or choose Upload a file to pick an .html file. Click Get my preview link. This step needs no account.

2. Keep the page and check that it runs

Click Keep this page — free, no card and sign up. The page moves into your account. On the page's screen, click Open preview to see a private preview where its scripts run.

3. Publish it

On the page's screen, click Publish page. Under Who can open this page?, choose Public and click Next. The first time, click Publish free. The page goes live at an address like yourpage.convika.page, with the Convika bar at the bottom. Under that button, Publish without the Convika bar opens an order for Pro monthly: 1 day free with a card, then $12 a month.

Click Copy next to the Live URL and paste the address into a message or an email. The other person opens the page in their browser on a phone or a computer, with no Grok account and no Convika account. Show QR code beside it gives a code to print or put on a screen.

Way to shareWhat the other person opensWhat it costs youWho can open it
Grok share linkThe conversation, with the code as textGrok Chat, “Limited” on Free“anyone with the link”
Grok Build Mode, publishedThe app, at its grok.me address or your own domainGrok's web app asks for a paid plan. The cheapest on xAI's pricing page is Plus, $8 a month, and xAI doesn't say which plans can publish“just you, anyone with the link, or the whole internet”
Convika FreeThe page at an address like yourpage.convika.page, with the Convika barFree: 1 published page, 10,000 page views a monthAnyone with the link: Public
Convika ProThe same page, without the Convika bar$12 a monthPublic, Private link, or Only people with the password
  • The app calls Grok or keeps a key. Publish it from Build Mode. Grok keeps the project, and Re-Publish puts your changes live.
  • The code is one page, or Grok asks you for a paid plan to publish. A Convika page puts it online without a Grok plan. Its scripts and the libraries it loads from an https:// CDN run on every plan, Free included. A Public page may show up in search results and in Convika's gallery.
  • You only want someone to see the chat. A share link does that, and it shows your prompts too. Grok's warning when you share reads: “Anyone with the link can read this conversation.”

Can you use the code Grok wrote on your own site?

xAI's consumer terms, last updated October 27, 2026, call what you type “Input” and what Grok returns “Output,” together “User Content.” They say that “as between you and SpaceXSI, you retain your ownership rights to the User Content.” The terms don't limit Output to personal use. The only place they mention commercial use is the class-action waiver, which covers personal and commercial use alike.

3 more lines apply when you publish a page Grok wrote:

  • Credit. “When using Output or SpaceXSI’s name, logos, trademarks, or other brand elements, you are required to obtain our permission and attribute your generation of the Output to the Service, as detailed in our Brand Guidelines.” The brand guidelines, dated February 14, 2025, ask that text or images made with Grok carry “Written with Grok” or “Created with Grok” “in a legible and noticeable manner.” They don't mention code.
  • AI labels. “You may be required to apply or SpaceXSI may apply a disclosure stating that the content was generated or altered by artificial intelligence.”
  • Similar output. “Outputs may not be unique, and different users may receive similar Output from our Service.”

Grok's web app adds its own terms before you publish: “You are solely responsible for the creation, functionality, content, publication, legality, and any user-related responsibilities in connection with your app or site.” It also says “A subdomain, associated account, published app(s) or site(s) may be revoked, terminated, removed, or suspended” for breaking xAI's terms “or for business, financial, or legal reasons.” For what other AI vendors' terms say, see Can I use a website made with ChatGPT or Claude for my business?

A page on Convika is a copy, so a change in Grok doesn't reach it. To update it, open the page's screen and find Update from an HTML file. Switch to Paste code and paste the new code, or pick the new file, then click Upload as a new version. When the card says Preview v2 is ready, click Open preview to check it, then click Publish v2 at the same link. The link you already sent, and its QR code, now open the new version. Don't use Upload an HTML file in the dashboard for this, because it makes a new page at a new address.

Frequently asked questions

How do I run HTML code from Grok?

Copy the whole code block and paste it into an HTML viewer in your browser. In Convika's free HTML viewer, choose Paste code, paste, and click Show the page. The page runs with its CSS and JavaScript, and the code isn't uploaded. Inside Grok, Build Mode previews an app in the chat, and xAI's docs don't say whether a regular chat answer shows HTML as a page.

Can Grok preview HTML code?

Yes, in Build Mode. xAI says Grok “writes the code and builds a working preview inside the conversation,” on grok.com and in the iOS and Android apps, and its pricing page lists Grok Build as “Limited” on Free. For a regular chat answer, xAI's docs don't say whether HTML shows as a page. To see it run, paste the code into an HTML viewer and click Show the page.

Where did Grok Studio go?

It was replaced. xAI's FAQ, last updated October 20, 2026, says: “Grok Studio is no longer supported. Use Grok Build instead.” The same answer warns that if you reach a “Studio” view through a third-party app that uses your Grok credentials, you should “revoke and change those credentials for safety.”

Is Grok Build Mode free?

Partly. xAI's August 19, 2026 post says Grok Build is “available on every plan,” and its pricing page lists it as “Limited” on Free. For publishing, the same post says “All of that ships to everyone today,” while Grok's web app includes the message “Publishing needs a paid plan.” xAI's pricing page and docs don't say which plans can publish. The cheapest paid plan on the pricing page is Plus, at $8 a month.

How do I share a game Grok made so others can play it?

Publish it. Build Mode can publish it at a grok.me address, though Grok's web app includes the message “Publishing needs a paid plan.” To publish it free, ask Grok for the game as one HTML file and paste it into the box at the top of this page. Click Keep this page — free, no card, then Publish page, choose Public, click Next, and the first time click Publish free. The game's scripts and its libraries from an https:// CDN run on every plan. A game that calls Grok from its own code is different: xAI says that access is “per app,” and doesn't describe using it from another host.

The conversation: your prompts, Grok's answers, and the code. When you create one, Grok's text says “Shared links can be viewed by anyone with the link,” and its warning reads “Anyone with the link can read this conversation.” For a Build Mode chat, Grok's text mentions sharing the app preview with the conversation, and xAI's docs don't say what the other person can run. On Grok Business, xAI says “Share links are only accessible to licensed team members.”

Can I use the HTML Grok made for my business?

Yes, with xAI's conditions. The consumer terms, last updated October 27, 2026, say you “retain your ownership rights to the User Content,” which includes Grok's Output, and they don't limit Output to personal use. They also say: “When using Output or SpaceXSI’s name, logos, trademarks, or other brand elements, you are required to obtain our permission and attribute your generation of the Output to the Service, as detailed in our Brand Guidelines.” The guidelines' phrases are “Written with Grok” and “Created with Grok.” xAI's terms don't say what that permission covers for code. Grok may give other people similar output.

What does it cost to put Grok's page online?

Nothing on Convika's Free plan, and no credit card. Free covers 1 published page and 10,000 page views a month, and adds the Convika bar at the bottom of the page. Pro, at $12 a month, removes the bar. For publishing from Build Mode, Grok's web app includes the message “Publishing needs a paid plan,” and xAI doesn't say which plans can publish. The cheapest paid plan on xAI's pricing page is Plus, at $8 a month.

Sources

Give the page Grok wrote its own web address

Paste Grok's code once and publish it. The person you send it to opens the page in their browser, on a phone or a computer, with no Grok account.

Get a link for my Grok page

Free plan: no credit card, 1 published page.