By · Founder, Stacktree · Last updated
alternative

The OpenAI Codex Sites alternative for gated, account-free sharing.

ChatGPT Sites, the GA of Codex Sites, can now publish to the open internet and connect a custom domain. Stacktree is what you reach for when the page should be neither public nor tied to viewer accounts: a private link anyone can open, a password or email gate with no login, an expiry, published from any agent over MCP.

Get started free

No card · 3 pages free · about a minute

What is the best OpenAI Codex Sites alternative?

Stacktree, when the page needs gated viewing without viewer accounts. ChatGPT Sites (Codex Sites gone GA) publishes public sites and supports custom domains, but its non-public modes require a signed-in, invited viewer, and there is no password or email gate, no expiry, and no API or MCP publishing. Stacktree turns any agent's HTML into an unguessable private URL that is itself the credential, with optional gates a client can pass with no account.

Where Codex Sites genuinely fits

Codex Sites is strong, and worth conceding plainly. Invoked with @Sites inside Codex, it lets Codex create, save, deploy, and inspect full websites, web apps, dashboards, internal tools, and games hosted by OpenAI. It is backed by a real database (D1 for durable structured data) and object storage (R2 for files), and persistence is supported: every deployment URL is a production deployment. Codex writes the whole app, including server logic and the database, in one place.

The showcase makes the intended use obvious: onboarding hubs, enablement libraries, executive KPI dashboards, employee idea boards, launch calendars, event-ops hubs. These are internal team tools for people who are already inside your OpenAI workspace. If you live in Codex plus ChatGPT Enterprise and the audience is your own colleagues, especially for a data-backed dashboard, Codex Sites is an excellent fit and Stacktree does not replace it.

Availability moved: on July 9, 2026 Sites went GA as ChatGPT Sites for paid subscribers, with public publishing, and the docs have since added custom domains (where available, not in Enterprise workspaces at launch) and built-in analytics (unique visitors and page views). The differences that remain are precise: gated viewing without an account (their non-public modes require signed-in, invited viewers; no password or email gate), expiry, publishing by API/MCP rather than in a chat, and availability in the EEA, Switzerland, and the UK, where Sites was excluded at launch. The full arc from workspace-only beta to public GA is in our Codex Sites explainer; the public-link history is in the availability post.

Where Stacktree differs

The sharpest documented difference is now the space between public and invited accounts. A ChatGPT Site is either published to the whole internet or restricted to signed-in, invited viewers; there is no gate someone without an account can pass, and no expiry. Stacktree lives in that middle ground: every URL is unguessable and acts as the credential, so anyone you send the link to can open it with no OpenAI seat and no account at all, and you can layer gates on top.

  • Gated viewing without accounts. Optional shared password or email-domain gate: the viewer proves they own an address at your client's domain via a one-time magic link, no account created. Neither exists in the Sites docs.
  • Expiry and burn-after-read. Schedule a link to expire or delete after first view, free. No expiry is documented for Sites.
  • Any agent, over API. The publish primitive is MCP-native and works from Claude Code, Cursor, Codex, and Claude.ai. Sites is created in ChatGPT conversations, with no documented API, CLI, or MCP surface.
  • Your own domain, programmatically. Both products document custom domains now. Stacktree maps them from Solo at $19 a month through Cloudflare for SaaS, re-binds them to any site, and an agent can rent one over x402; Sites connects a domain you already own, where available, and not in Enterprise workspaces at launch.
  • No subscription to try it. Anonymous first publish for 24 hours, then a free 3-page trial, then flat $19, $79 and $249 plans, never per-seat. ChatGPT Sites needs a paid ChatGPT subscription to create, and is not available in the EEA, Switzerland, or the UK at launch.
  • Own and export the infrastructure. Stacktree is source-available and self-hostable on your own Cloudflare (Workers, R2, D1). Export and self-host are not documented for Sites.
  • End-to-end encryption when you want it. Optional E2E mode where the key lives in the URL fragment and the server stores only ciphertext, free.

Be clear about Stacktree's limits too. It hosts static HTML only: no serverless backend, no built-in database for the published app, and no in-browser live editor. Workspace-wide SSO is on the roadmap, with the per-link email-domain gate covering most cases today. If your artifact is a data-backed app that needs server logic, Codex Sites does more out of the box.

Who should pick which

Pick ChatGPT Sites if you are a paid ChatGPT subscriber and want a full app with a database and server logic, whether that is an internal workspace tool or a public site on your own domain. Pick Stacktree if the page is a deliverable that should be gated rather than public (a password or email gate the viewer passes with no account), needs an expiry, gets published and revised by an agent over API/MCP, or you are in the UK or EEA, where Sites is not available at launch.

The two together

They are not mutually exclusive. Keep building data-backed apps in ChatGPT Sites, and reach for Stacktree the moment you need to send a page to a client without making it public and without asking them to sign in. Have the agent render the static view as HTML, publish it to Stacktree, and share the unguessable link, gated if you want, on your own domain, no OpenAI account required to view.

Stacktree vs. ChatGPT Sites (formerly Codex Sites)

Criterion ChatGPT Sites Stacktree
Public link on the open internet Yes, when public publishing is enabled (admin-controlled in Enterprise). Yes, optional public slug.
Private viewing without a viewer account No, non-public modes require signed-in, invited viewers. Yes, unguessable URL is the credential.
Password / email-domain gate Not documented. Yes, shared password or magic-link email gate.
Expiry / burn-after-read Not documented. Yes, free.
Custom domain Yes, where available; not in Enterprise workspaces at launch. Yes, from Solo. Cloudflare for SaaS, agent-rentable over x402.
Built-in database / server logic Yes, D1 and R2, Codex builds the whole app. No, static HTML only.
Publish from any agent (API/MCP) No, created in ChatGPT conversations. Yes, Claude Code, Cursor, Codex, Claude.ai.
Viewer analytics Unique visitors and page views (not for Enterprise-owned sites). Opens and readers from Solo; time, scroll and read-to-end from Studio.
Available in the UK / EEA No, excluded at launch, no timeline. Yes.
Available to individuals / free Paid plans only (all except Free and Go). Yes: anonymous first publish, then a free 3-page trial.
Replace-in-place URL Yes, every deployment URL is a production deployment. Yes, update_site, one stable URL.
Export / self-host Not documented. Yes, source-available, your own Cloudflare.
FAQ

Frequent questions

How do I share a Codex Site with someone outside my company? +
Since the 9 July 2026 GA as ChatGPT Sites, you can publish the site publicly: the docs list "anyone on the internet, only when public publishing is enabled" among four sharing options. What you cannot do is share it privately with someone who has no account: the non-public modes require a signed-in, invited viewer. For that case, publish the HTML to Stacktree, where the unguessable URL is itself the credential and an optional password or email-domain gate needs no viewer account.
Does Codex Sites support a custom domain? +
Yes, since the ChatGPT Sites GA docs: you can connect an apex domain or subdomain you already own by updating DNS records, where the feature is available; custom domains are not available in Enterprise workspaces at launch. Stacktree also maps custom domains (1 on Solo at $19/mo, 10 on Studio, through Cloudflare for SaaS), re-bindable to any site, and an agent can rent one programmatically over x402.
Can I export a Codex Site or use it without OpenAI? +
Exporting, downloading the code, or self-hosting is not documented. Community reports at the GA launch described a Wrangler project export, but the docs do not confirm one. Stacktree is source-available: you can run the whole stack on your own Cloudflare account (Workers, R2, D1), so the hosting and the data stay under your control.
Is Codex Sites available to individuals? +
Yes, as of 9 July 2026: Sites went GA as ChatGPT Sites for paid subscribers on every plan except Free and Go. Free ChatGPT users cannot create sites, and the EEA, Switzerland, and the UK were excluded at launch. Stacktree has an anonymous first publish for 24 hours with no account, a free 3-page trial where pages expire after 7 days, flat plans at $19, $79 and $249 per month with no per-seat fee, and works from the UK and EEA.
Should I use Lovable, Replit, or Vercel instead of Codex Sites? +
Those solve a different problem. Reach for Lovable or Replit to build a full app from scratch, and Vercel to deploy one to a public production URL. They are builders and public hosts. If you already have agent output and only need to send it outside your OpenAI workspace on a private link, Stacktree is the lighter fit and keeps the link private by default.
Can I move a Codex Site to Vercel or another host? +
Moving a Codex Site elsewhere is not documented: no export or code download is in the docs, and the deployment is hosted by OpenAI. The lock-in worry is why people often reach for Vercel or Replit up front. Stacktree sidesteps the question because it is source-available and self-hostable on your own Cloudflare account (Workers, R2, D1).
What is the difference between Codex Sites and Stacktree? +
ChatGPT Sites (formerly Codex Sites) builds and hosts full web apps with a database and server logic, shareable publicly or with invited workspace viewers, created in a ChatGPT conversation. Stacktree is an MCP publish primitive for static HTML that any agent can call over API, giving you a private link with gates a viewer can pass without an account (password, email domain), expiry, and your own domain.
Can a non-Codex agent publish to Stacktree? +
Yes. Stacktree is MCP-native and cross-agent: it works from Claude Code, Cursor, Codex, and Claude.ai. ChatGPT Sites is created in ChatGPT conversations and has no documented API, CLI, or MCP surface for other agents. If your workflow spans more than one agent, Stacktree gives every one of them the same publish call.
Keep reading

Related guides

References

Sources and further reading

Share agent output with anyone, gated or public, no viewer account required.

Start free. Wire in the MCP server and any agent publishes a private link in one call.

Sign up free →