Dexaloop › Tech › Software and development

Software and development · How-to

XSLT deprecated: what breaks in Chrome and Edge, and how to migrate your XML pages

Browsers are removing built-in XSLT, so here is how to find out if your pages, feeds or internal apps use it, how admins can buy time, and which replacement fits each case.

By DexaloopPublished 30 November 20268 min readSources listed below

Key takeaways

  • Chrome 158 (17 November 2026) stopped XSLT on Stable for everyone except Origin Trial and Enterprise Policy users. Both of those stop working in Chrome 176 (17 August 2027).
  • Edge 157 turned XSLT off by default in Canary, Dev and Beta. Edge 159 turns it off by default in Stable. The XSLTEnabled policy and the origin trial are planned to stop working in Edge 176.
  • Only XSLT goes: the XSLTProcessor API and xml-stylesheet instructions that point to XSLT. XML itself, and xml-stylesheet instructions that point to CSS, are not affected.
  • Find usage with a ReportingObserver that watches for the deprecation id XSLT, or with Chrome's Legacy Technology Report if you manage browsers.
  • The main ways out are: transform on the server, render with JavaScript, use a JavaScript XSLT library such as SaxonJS, add the WASM polyfill, or install the polyfill extension where the source cannot change.
On this page
  1. What you need before you start
  2. What XSLT is, and what exactly is removed
  3. XSLT browser support: where each browser stands
  4. Step 1: find out if you use XSLT
  5. Step 2: buy time if you cannot migrate yet
  6. Step 3: pick a migration path
  7. Step 4: test before the deadline
  8. Troubleshooting
  9. What is confirmed vs not yet known

Is XSLT deprecated? Yes. Browser-native XSLT is deprecated, and Chrome has already switched it off. According to Chrome for Developers, Chrome 158 (17 November 2026) stopped running XSLT on Stable for all users except Origin Trial and Enterprise Policy participants, and both of those stop working in Chrome 176 (17 August 2027). Microsoft's Edge Stable release notes say XSLT "will be off by default in the Stable channel" from Edge 159, with its workarounds planned to end in Edge 176.

This how-to explains what is going away, how to check whether you use it, how admins can buy time, and how to move each kind of XSLT page to something that keeps working.

What you need before you start

  • Access to the source of your XML files, XSLT stylesheets and any JavaScript that calls XSLTProcessor.
  • A current Chrome or Edge build to test with. Chrome 158 or later already has XSLT off on Stable.
  • For admins: access to your Chrome or Edge policy tooling (Group Policy, Intune or the Mac preference files).

What XSLT is, and what exactly is removed

XSLT is a language that turns an XML document into another format, usually HTML. A browser can do this itself: you open an XML file that links to an XSLT stylesheet, and the browser shows the transformed page instead of raw XML. Scripts can do the same through the XSLTProcessor API.

Both of those built-in paths are being removed:

  • The XSLTProcessor class, for example new XSLTProcessor().
  • The XSLT processing instruction, for example <?xml-stylesheet type="text/xsl" href="demo.xsl"?>.

What stays: XML itself, and the same xml-stylesheet instruction when it points to a CSS file. Edge's notes put it plainly: "XML processing instructions that reference CSS stylesheets are not affected."

Why now? Chrome's page gives three reasons. The libxslt library behind browser XSLT is old C code with a history of memory safety bugs. Fetch, DOMParser and JavaScript frameworks now cover the same job. And usage is small: about 0.02% of page loads use XSLT, and under 0.001% use the processing instruction.

XSLT browser support: where each browser stands

Chrome 158 Edge 159 Chrome 176 17 November 2026 Off on Stable Off by default in Stable 17 August 2027 Policy and trial end Edge 176 planned
Timeline of the browser steps named in this article. Spacing is illustrative, not to scale. Microsoft's release notes do not give a date for Edge 159 or Edge 176.
BrowserStatus on 30 November 2026Temporary way to keep itFinal end
ChromeOff on Stable since Chrome 158 (17 November 2026)XSLTEnabled enterprise policy (from Chrome 146), origin trial (from Chrome 152)Chrome 176 (17 August 2027)
EdgeOff by default in Canary, Dev and Beta since Edge 157. Stable 158 still on by default. Off by default in Stable from Edge 159XSLTEnabled policy, the same origin trialWorkarounds planned to stop in Edge 176
FirefoxRemoval planned. Mozilla's Intent to Unship plans to disable it in all channels in August 2027Admins can already turn it off with the dom.xslt.enabled preference or an enterprise policyNo release number announced
SafariNo removal announced. WebKit said it is "cautiously supportive" of removalNot applicableNo date announced

The Firefox line comes from the Intent to Unship: XSLT post on Mozilla's dev-platform list (26 August 2026). Later replies in that thread discussed other dates, so treat August 2027 as a plan. The Safari line comes from the WHATWG HTML issue on removing XSLT, which is still open and labelled "stage: 3", the WHATWG stage for committed changes.

Step 1: find out if you use XSLT

  1. Search your code. Look for XSLTProcessor in JavaScript and for type="text/xsl" in XML files and feed templates. Also search for .xsl and .xslt files.
  2. Open the pages in Chrome 158 or later. If a page used XSLT, you now see raw XML or an error instead of the styled page. Chrome's page says it also shows a warning banner that links to an extension search.
  3. Collect reports from real visitors. Chrome's guide gives this ReportingObserver snippet. It fires when the browser records the XSLT deprecation:
new ReportingObserver((reports, observer) => {
  reports.forEach((report) => {
    if (report.body.id === "XSLT") {
      // XSLT usage was detected - report it back here.
    }
  });
}, {types: ["deprecation"],buffered: true}).observe();

Replace the comment with a call to your own logging endpoint. Admins who manage Chrome can also turn on the Legacy Technology Report, which collects deprecated feature use across managed browsers.

Step 2: buy time if you cannot migrate yet

Both Chrome and Edge use a policy named XSLTEnabled. The Edge policy page says: if you enable it, "XSLT is available regardless of the browser's default configuration." If you disable it, XSLT is off. If you leave it unset, the browser default applies.

Edge settingValue
SupportedWindows and macOS, Edge 147 and later. Not on Android or iOS
Group PolicyAdministrative Templates/Microsoft Edge, "Control the availability of the XSLT feature"
RegistryKey SOFTWARE\Policies\Microsoft\Edge, value XSLTEnabled, REG_DWORD, 0x00000001 to enable
macOSPreference key XSLTEnabled, value <true/>

For Chrome, the policy has the same name and is listed in the Chrome Enterprise policy list. Site owners, rather than admins, can register for the XSLT deprecation origin trial, which Edge also honours. All of these are temporary. Microsoft's notes say both mitigations "are planned to stop functioning in Microsoft Edge 176."

Step 3: pick a migration path

Chrome and Microsoft list the same main options. Pick by who controls the files and how long the fix must last.

PathBest forEffortTrade-off
Transform on the serverSites you host, lazy templating, reportsMediumBrowsers get plain HTML. Needs a build step or server code
JSON or XML plus JavaScript renderingApps already using JavaScriptMedium to highThe long-term route Chrome recommends. Means rewriting templates
JavaScript XSLT library (SaxonJS)Complex stylesheets you want to keepMediumSupports XSLT 3.0, far beyond the browser's XSLT 1.0. Adds a library to load
WASM polyfillQuick fix for pages and feeds you can editLowKeeps XSLT 1.0 behaviour. You ship and maintain an extra script
Polyfill browser extensionDevices and apps whose XML you cannot changeLowEvery user or managed browser needs the extension

Option A: run the same stylesheet on the server

Your existing XSLT 1.0 stylesheet can usually run unchanged with xsltproc, the command-line tool from libxslt. The order is options, then stylesheet, then XML file:

xsltproc -o demo.html demo.xsl demo.xml

Run it in your build or on each request, then serve demo.html. Remove the type="text/xsl" instruction from anything you still serve as XML. If the transform runs inside an app server, keep that runtime on a supported release; our guides on .NET 8 end of support and Node.js LTS vs Current cover two common ones.

Option B: add the polyfill to an XML page or feed

Chrome's guide describes a WASM-based polyfill that replaces XSLTProcessor, so existing script code can keep calling it. For an XML file with an XSLT instruction, you add one line as a direct child of the root element:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="demo.xsl"?>
<ROOT>
<script src="xslt-polyfill.min.js"
   xmlns="http://www.w3.org/1999/xhtml"></script>
...content...

The script detects the XSLT instruction, runs the transform and replaces the document. Chrome's page links to a GitHub search for the polyfill rather than naming one package, so check the repository you pick and host the file yourself.

Option C: render XML with DOMParser instead

If the XSLT only builds a simple list or table, plain JavaScript can replace it. This example fetches an XML feed, parses it with DOMParser and builds a list. It uses textContent, so feed text cannot inject HTML. It is a sketch to adapt, not tested production code:

<ul id="items"></ul>
<script>
fetch("/feed.xml")
  .then((r) => r.text())
  .then((text) => {
    const xml = new DOMParser().parseFromString(text, "application/xml");
    const list = document.getElementById("items");
    for (const title of xml.querySelectorAll("item > title")) {
      const li = document.createElement("li");
      li.textContent = title.textContent;
      list.append(li);
    }
  });
</script>

Special case: RSS and Atom feeds

Many feeds use XSLT so a person who clicks the feed link sees a readable page. Chrome suggests two fixes. The standard one is to add <link rel="alternate" type="application/rss+xml"> to your HTML pages, so readers find the feed without people clicking raw XML. The other is the one-line polyfill above. Chrome says that should not affect feed readers, because the script is a direct child of the root element. A third choice is to style the feed with a CSS xml-stylesheet instruction, which stays supported, though CSS cannot restructure the XML the way XSLT can.

Step 4: test before the deadline

  1. Test in Chrome 158 or later, and in Edge Canary, Dev or Beta, where XSLT is already off by default.
  2. For Edge, also set XSLTEnabled to Disabled on a test machine, which forces the future default.
  3. Check every XML page, feed and internal tool from Step 1, plus anything printed or exported from them.
  4. Check feed readers still parse any feed you changed.
  5. If you rely on the policy or origin trial, put Chrome 176 and Edge 176 in your plan as hard stops.
  6. Tell helpdesk and app owners what changes, as Microsoft's admin guidance suggests.

Troubleshooting

  • A page now shows raw XML or an error. It used XSLT and you are on Chrome 158 or later. Pick a path from Step 3, or use the polyfill from Option B for a quick fix.
  • A feed looks broken for readers. Add the <link rel="alternate" type="application/rss+xml"> tag to your HTML pages, or use the one-line polyfill. Check that feed readers still parse the feed.
  • XSLT works for some users and not others. Check whether the XSLTEnabled policy or the origin trial is active on the working machines. Both stop working in Chrome 176.
  • Your CSS stylesheet instruction stopped working. It should not have. Only XSLT instructions are removed, and xml-stylesheet instructions that point to CSS are not affected.
  • You cannot change the XML. Use the polyfill browser extension, and remember that every user or managed browser needs it.
  • You are not sure what uses XSLT. Go back to Step 1 and use the ReportingObserver snippet or the Legacy Technology Report.

What is confirmed vs not yet known

  • Confirmed: Chrome 158 (17 November 2026) off on Stable. Chrome 176 (17 August 2027) off for everyone. Edge 159 off by default on Stable. Edge workarounds planned to end in Edge 176. The XSLTEnabled policy in both browsers.
  • Not yet known: the release date of Edge 159 and Edge 176, which Microsoft's notes do not give. The Android WebView Stable date: Chrome's page lists only the Canary, Dev and Beta step in Chrome 154 (22 September 2026). A Firefox release number. Any Safari date.

Questions

Is XSLT deprecated in Chrome?

Yes. Chrome deprecated it in Chrome 143 and stopped running it on Stable in Chrome 158, released 17 November 2026. Sites in the origin trial and browsers with the XSLTEnabled enterprise policy keep it until Chrome 176, dated 17 August 2027.

Does Microsoft Edge still support XSLT?

Edge 158 Stable still runs it by default. Microsoft's release notes say browser-native XSLT will be off by default in the Stable channel from Edge 159. The XSLTEnabled policy and the origin trial can keep it on until they stop working in Edge 176.

Are Firefox and Safari removing XSLT too?

Mozilla posted an Intent to Unship on 26 August 2026 that plans to disable XSLT in all Firefox channels in August 2027, with no release number given. For WebKit, the only public position is that it is cautiously supportive. No Safari date has been announced.

Is XML being removed from browsers?

No. Only XSLT is being removed. Browsers still open XML files, and an xml-stylesheet instruction that points to a CSS file keeps working in both Chrome and Edge.

What is the quickest fix for an XML page that uses XSLT?

Add one script tag that loads the XSLT polyfill as a direct child of the XML root element. It loads a WASM-based XSLT 1.0 engine and transforms the page with the stylesheet it already references. For a lasting fix, move the transform to the server.

Can I keep XSLT working on company PCs?

For now, yes. Admins can set the XSLTEnabled policy to Enabled in Chrome or Edge. It is temporary: it stops working in Chrome 176 and is planned to stop working in Edge 176, so use the time to migrate.

Sources

Written from the sources above and checked against them before publishing. Found a mistake? Email support@dexaloop.com and we will correct it.

More in Software and development