MathML works in Firefox 4+, Safari 10+ on macOS, iOS Safari 5+, Chrome 109+, Edge 109+, Opera 95+, and Samsung Internet 21+. Learn the elements and known issues.

Prince Dewani
May 6, 2026
MathML is a W3C XML-based markup language for describing mathematical notation in web pages and EPUB documents. It works in Firefox 4+, Safari 10+ on macOS, iOS Safari 5+, Chrome 109+, Edge 109+, Opera 95+, and Samsung Internet 21+, while Internet Explorer never added support.
This guide covers what MathML is, the browsers that support it, the key elements, the difference between Presentation MathML and Content MathML, the use cases, and the known issues.
MathML is the Mathematical Markup Language, an XML-based standard from the W3C for describing mathematical notation. The browser-focused subset is MathML Core, which integrates with HTML, CSS, the DOM, and JavaScript. The current version is MathML 4, while MathML 3 remains a W3C Recommendation.
MathML works in every modern browser. Firefox, Safari, Chrome, Edge, Opera, and Samsung Internet ship MathML by default, while Internet Explorer and the legacy stock Android Browser never added support.
Chrome supports MathML by default from Chrome 109 on Windows, macOS, Linux, ChromeOS, and Android. Chrome 97 to 108 had MathML disabled by default behind a feature flag, and Chrome 25 to 96 did not include support after an experimental Chrome 24 build was removed for stability.
Microsoft Edge supports MathML from Edge 109 on Windows, macOS, and Linux. Edge 97 to 108 hid MathML behind the same Chromium flag, and Edge 79 to 96 had no support. The legacy EdgeHTML-based Edge 12 to 18 never added MathML.
Firefox supports MathML from Firefox 4 on Windows, macOS, Linux, and Android. Mozilla's Gecko engine ships the most complete Presentation MathML implementation of any browser, and Firefox for Android renders the same way as the desktop build.
Safari supports MathML from Safari 10 on macOS Sierra and later, and from Safari on iOS 5. Safari 3.1 to 9.1 had partial MathML rendering through an earlier WebKit code path. Modern Safari ships MathML Core through WebKit on both desktop and mobile.
Opera supports MathML from Opera 95 on Windows, macOS, and Linux. Opera 83 to 94 had MathML disabled by default, and Opera 15 to 82 had no support after the engine moved from Presto to Blink. The Presto-based Opera 9.5 to 12.1 had partial MathML.
Samsung Internet supports MathML from Samsung Internet 21 on Galaxy phones and tablets. Earlier Samsung Internet 4 to 20 had no MathML because they shipped Chromium builds before MathML Core was upstreamed.
Chrome for Android supports MathML from Chrome 109 on Android 7.0 and later. The legacy stock Android Browser on Android 2.1 to 4.4.4 never added MathML. Modern Android phones should rely on Chrome for Android, Firefox for Android, or Samsung Internet for full support.
Internet Explorer never added MathML. IE 5.5 to 11 do not parse the math element at all, so equations render as plain text or empty space. Sites that still need IE coverage should load MathJax to render MathML through JavaScript in every unsupported browser.
Note: MathML rendering breaks across older Chrome, legacy Edge, and Internet Explorer. Test it on real browsers and OS with TestMu AI. Try TestMu AI free!
MathML defines 32 core elements. The MDN reference groups them by purpose: math container, tokens, layout, scripts, tables, and semantics. Pages mix these tags inside a single math block to render any equation.
Presentation MathML describes how an equation looks. Content MathML describes what an equation means. Browsers only render Presentation MathML, while Content MathML feeds computer algebra systems, semantic search, and accessibility tools.
| Dimension | Presentation MathML | Content MathML |
|---|---|---|
| Purpose | Visual layout of an equation | Mathematical meaning of the expression |
| Core elements | mi, mn, mo, mfrac, msqrt, msup, mtable | apply, ci, cn, plus, eq, integrate |
| Browser rendering | Rendered natively by Chrome 109+, Edge 109+, Firefox 4+, Safari 10+ | Not rendered by any browser; ignored or fed through a polyfill |
| Used by | Web pages, EPUB readers, screen readers | Computer algebra systems, semantic search, voice synthesis |
| MathML Core support | Full support in MathML Core | Out of scope for MathML Core; only the parent MathML 4 spec covers it |
| Typical pairing | Wrapped in a semantics block with a Content MathML annotation | Embedded as an annotation-xml sibling of Presentation MathML |
MathML is used wherever mathematical notation needs to render reliably and stay accessible. Schools, journals, e-readers, and documentation sites are the biggest adopters.
MathML works well in Firefox and Safari, but Chromium-based browsers and older mobile builds still trip up production sites. The biggest hits are stale Chrome installs, Internet Explorer, and font fallback gaps.
In my experience, the MathML font fallback is the trap that bites teams the most. A page reviewed on macOS looks perfect, but a Linux Firefox tester sees half the equation rendered as small empty rectangles, and the team spends an afternoon hunting before realizing the host operating system never installed Latin Modern Math.
All MathML version numbers and platform notes in this guide come from these primary sources:
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance