The OpenAI Codex Sites alternative for gated, account-free sharing.
ChatGPT Sites, the GA of Codex Sites, can publish to the open internet, connect a custom domain, and since September 2026 invite a named outsider to a private Site, provided they sign in with a ChatGPT account. 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, supports custom domains, and since September 2026 lets you invite a named person outside your workspace to a private Site, but that person must sign in with the ChatGPT account that received the invitation. There is no passcode, no email-domain gate, no expiry, no link-only private mode, 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). On 11 September 2026 OpenAI added named external viewers (a private Site can be shared with a specific person outside the workspace, who must sign in with the invited ChatGPT account), teammate editing, and database inspection, and reported over 5M sites created. The differences that remain are precise: gated viewing without a ChatGPT account (their non-public modes still require a signed-in, invited viewer; no passcode, no email-domain gate, no link-only private mode), expiry, and publishing by API/MCP rather than in a chat. Region is no longer one of them: the EEA, Switzerland, and the UK were excluded at launch, lifted on 20 July 2026 for Plus and Pro. 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 signed-in invited accounts. A ChatGPT Site is either published to the whole internet or restricted to signed-in, invited viewers; since September 2026 those viewers can be named people outside your workspace, but the link alone opens nothing unless they are signed in with the invited ChatGPT account, and there is still 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 account at all, ChatGPT or otherwise, 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 usage is included only "up to plan-specific limits" during the beta, with no documented way to buy more.
- 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, or gets published and revised by an agent over API/MCP.
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 ChatGPT 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. Named outside viewers can be invited since September 2026, but must sign in with the ChatGPT account that received access. | 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 | Yes, since 20 July 2026 for Plus and Pro. | 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
- Our homepage publishes for you now We put a WebMCP publish tool on the public site.
- The MCP publish tool Every verb the publish primitive exposes to your agent.
- Publish from Codex Wire Stacktree into Codex and share output anywhere.
- Private HTML hosting Why the unguessable URL is the credential.
- All alternatives Every host compared against Stacktree.
- ChatGPT Sites custom domains, explained ChatGPT Sites supports custom domains, where available: connect an apex or subdomain you own by updating DNS records.
- Can a Codex Site have a custom domain? No custom-domain support is documented for Codex Sites: a deployed Site renders only at an OpenAI-hosted.
- How to delete a ChatGPT Site, and whether it frees up usage Deleting a ChatGPT Site takes four clicks and cannot be undone.
Sources and further reading
- OpenAI: ChatGPT Sites docs ↗ Official docs for the current product: the four sharing options including named external viewers, public publishing, custom domains, and analytics.
- OpenAI Help Center: Creating and managing ChatGPT Sites ↗ Plan availability, the 20 July 2026 regional rollout, beta usage limits, and the rule that invited visitors must sign in with the account that received access.
- ChatGPT Sites update: 5M sites, private sharing, custom domains (@ChatGPT) ↗ The 11 September 2026 announcement: invite teammates to edit, invite specific people to a private Site, database inspection, custom domains.
- 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 →