Publish your Umbraco site as a fast, secure static website. Editors keep the backoffice they know.
Read the documentation · Installation · Your first static site · NuGet
xStatic is a static site generator that runs inside Umbraco. Your content stays in Umbraco and your editors keep working in the backoffice. When they're ready, xStatic renders every published page, copies the media and assets the pages use, and deploys the result to the host of your choice. The live site is plain files: no database, no server code and no login page for anyone to attack, and it can be served from a CDN for little or nothing.
xStatic runs each site through the same pipeline. Generating and deploying are separate steps, so you can check the output before it goes live.
| Step | What happens | Read more |
|---|---|---|
| Generate | Fetches every published page under the site's root node from your running Umbraco site, with the media and asset files it needs | Generating and deploying |
| Transform | Runs each page through a list of transformers, for example to rewrite hostnames or point images at pre-made crops | Export types |
| Store | Writes the output to a staging folder, one per site | Architecture |
| Deploy | Sends the staging folder to a deployment target | Deployment targets |
| Post-generation actions | Optional extra steps, such as creating a 404.html page |
Post-generation actions |
- Deploy anywhere static files are served. A file system deployer is built in, and official NuGet packages add deployers for Netlify, Git (GitHub Pages and similar), FTP, Cloudflare Workers, Pages and R2 and a folder.
- Image crops without an image server. Resized images are generated ahead of time and the page markup is updated to match. See Image crops.
- Multi-language sites. Every configured culture is generated. See Multi-language sites.
- JSON export. Publish content as static JSON for a headless front end. See JSON export.
- Automation. Rebuild when content is published with Auto publish, or trigger runs from a scheduler or CI pipeline with Remote operations.
- Static failover. Keep a read-only copy of your site online while Umbraco is down. See Static failover site.
- Extensible. Write your own generators, transformers, deployers and actions against the public API. See Extending xStatic.
- Safe secret management. Type a
${env:...}or${config:...}reference into a deployment target or action field and only the reference is stored; the real token stays in an environment variable or your configuration. See Secrets and environment variables. - AI & GEO ready. Publish Markdown copies of pages,
llms.txtand other output that AI assistants and answer engines can read. See AI and GEO. - Role-based access. xStatic sets up Umbraco user groups for administrators and editors. See User groups and security.
xStatic 18 needs .NET 10 and Umbraco 18.3.2 or later. Install the package into your Umbraco site and restart it:
dotnet add package xStaticAn xStatic section appears in the backoffice. Add the official packages you need: xStatic.Netlify,
xStatic.Git, xStatic.Ftp and xStatic.Cloudflare (deployers), xStatic.RemoteOperations (trigger runs from
another system) and xStatic.AI (AI audits and agent tools). Then follow
Your first static site to create,
generate and deploy a site.
Use the xStatic major version that matches your Umbraco major version:
| xStatic | Umbraco | Status |
|---|---|---|
| 19.x | 19 | Pre-release |
| 18.x | 18 | Latest |
| 17.x | 17 (LTS) | Long-term support |
| 13.x and older | 13 and older | No longer supported |
Upgrading covers moving between versions.
The full documentation is at mulliman.github.io/xStatic-for-Umbraco.
It covers installation, every backoffice screen, each deployer, configuration, troubleshooting and the extension API.
It is built from the Wiki/ folder of this repository, so corrections are welcome as pull requests.
- xStatic MCP server lets AI assistants generate and deploy sites through xStatic.
- xStatic agent skill gives coding agents the context to build xStatic extensions.
Contributions are welcome. CONTRIBUTING.md explains how to set up test instances and run the tests, and Developing xStatic describes the codebase. Coding agents should start with AGENTS.md.
Please don't report security problems in a public issue. Use Report a vulnerability instead. SECURITY.md lists the supported versions and what happens after you report.
xStatic is open source under the MIT licence.
