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.
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. |
Frequent questions
How do I share a Codex Site with someone outside my company? +
Does Codex Sites support a custom domain? +
Can I export a Codex Site or use it without OpenAI? +
Is Codex Sites available to individuals? +
Should I use Lovable, Replit, or Vercel instead of Codex Sites? +
Can I move a Codex Site to Vercel or another host? +
What is the difference between Codex Sites and Stacktree? +
Can a non-Codex agent publish to Stacktree? +
Related guides
Sources and further reading
- OpenAI: ChatGPT Sites docs ↗ Official docs for the GA product: the four sharing options, public publishing, custom domains, and analytics.
- OpenAI Help Center: Creating and managing ChatGPT Sites ↗ Plan availability and the launch exclusion of the EEA, Switzerland, and the UK.
- OpenAI: Sites in Codex ↗ Docs for the original @Sites beta: hosting and workspace-scoped access control.
- OpenAI: Codex Sites showcase ↗ OpenAI examples, all internal team tools and dashboards.
- Model Context Protocol ↗ The agent-tool protocol Stacktree exposes to every agent.
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 →