Just the essentials — BIG
Three panels, twice the size, in a colour of their own.
The mathematics layer for the web. The world's most popular equation editor, and the fastest maths rendering. Write it once, and get accessible MathML, SVG or PNG's, and C++ code.
Equations are MathML, and each one carries generated spoken text. Below is what a screen reader should say for each — generated live by the same converter the editor ships, so what you read here is what your users hear.
Press Tab to step through the equations with a screen reader running. Full test bench, with all four markup strategies compared →
The editor already gives you MathML, so strictly you do not need fxTeX at all. Save what the editor hands you and the job is done.
The catch is what you have saved.
\frac{-b\pm\sqrt{b^2-4ac}}{2a} is thirty characters. The MathML for it is 277, across 25 nested elements — and that is what then lives in your database, your page source, and every diff anyone reads for the rest of the site's life. Nobody edits that by hand.
So keep the LaTeX, which stays short, readable and editable, and let fxTeX produce the MathML in the reader's browser instead. The reader gets exactly the same markup; and you keep your source clean.
Two things come with that. Every equation it converts can be wired to straight to fxGraph, and a legacy site full of old equations converts on its next page load — no migration, nothing rewritten.
Add to your page:
<script src="https://fxtex.codecogs.com/fxtex.min.js"></script>
<script>fxTeX.autoRender();</script>
30 kB over the wire — two fifths of KaTeX, a ninth of MathJax. Read the documentation
<p>The quadratic formula solves $ax^2+bx+c=0$
for $x$, giving
$$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$$</p>
The quadratic formula solves $ax^2+bx+c=0$ for $x$, giving $$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$$
Converted in your browser just now, by the two lines on the left. The LaTeX stayed in your HTML - nothing was rewritten, and nothing was fetched.
Simple is sometimes best. Three equations on a page do not need a
script loading and walking through your HTML to find them — point an <img> at the equation and the equation arrives. There is nothing to install: no maths font, no library, no build step - perfect for blogs, forums and wikis, where adding JavaScript to the page is often impossible.
Running since 2005, now servicing 150,000+ websites and apps.
Your pages stay clean as well, in the database and in the source — one
<img> tag per equation, however long the
equation is. And if you change your mind: add fxTeX later and it finds those same tags and converts them in place, so the pages you already have give you MathML and spoken text without being rewritten.
And its lightning fast, too. See for yourself →
Add to your page:
<img src="https://fxtex.codecogs.com/svg.image?1+\sin^2(x)"
alt="1+\sin^2(x)">
One request, one image. Nothing ran on the page to put it there.
Formats:
svga vector image, sharp at any sizepnga bitmap, for anywhere that will not take SVG'sgifthe same again, older stillmathmlthe markup itselfThree panels, twice the size, in a colour of their own.
Ten panels across three rows — more variety without scrolling sideways.
The editor comes as an API — so build the perfect editor for you. Change colors, font sizes, placement of elements, what in the toolbar, even how users write the equations, and see the output as you need (MATHML, PNG, SVG, etc).
You write the LaTeX. We generate the code that runs it, and the calculator that runs the code.
R_{cdf} = 1 - \exp\left[
-\left(\frac{D}{D_m}\right)^n
\right]
Plain LaTeX, in your page or your database — and what it means, for everyone who does not read LaTeX.
double Rosin_CDF(double Dm, int n, double D)
{
return 1-exp(-pow(D/Dm,n));
}
fxCode turns a LaTeX equation into a working C++ function. It handles algebra, roots and powers, trigonometric and logarithmic functions, sums and products, limits, derivatives, partial derivatives and integrals — plus whole systems of equations, which it sorts into the right evaluation order. Each part is solved exactly where the mathematics allows, and approximated numerically where it doesn't.
Plotted live by that function, wired into the CodeCogs code library and its Interactive Calculators.
One equation, however you need it delivered.
A bi-directional LaTeX and WYSIWYG editor and API. Contextual auto-suggest. Also a Microsoft Word, PowerPoint and Excel addin.
Publish live Microsoft Excel calculations to the web.
Converts the LaTeX already in your HTML, in place. 30 kB, accessible by default, SVG and PNG on demand.
The same engine server-side — Node, C++, PHP, Python, or a standalone Docker service.
Real LaTeX, 100% compliant, to SVG and PNG. Full package support, no compromises.
Turn LaTeX into runnable C++, alongside the code library and Interactive Calculators.
Interactive calculators and live plots from two lines of HTML. Compiled to WebAssembly, so it runs locally in realtime with no server behind it.
Two comparisons — the editor against the tools people otherwise reach for, and the rendering engine against the other browser engines. Including the two things we do not do yet.
Speed is the easy half. An engine that renders quickly but quietly mangles a construct nobody tested is worse than a slow one.
So we have run it against 95,811,247 equations. Not a sample chosen to flatter it — everything we could find, including a great many nobody would write on purpose.
Every build is then checked against a corpus of 20,000 drawn from those, picked to span the range of forms and characters people actually write and deliberately including mis-formed ones.
Three things you are likely to want, and what each one costs you in code.
Point it at a page that has LaTeX in it. It finds every $…$ and
converts it to real MathML, in the reader's browser.
<script src="https://fxtex.codecogs.com/fxtex.min.js"></script>
<script>fxTeX.autoRender();</script>
30 kB. No build step, and no request per equation.
Five objects — toolbar, markup pane, maths view, output and history — each addressable on its own. Wire up the ones you want and leave out the rest.
const eq = EqEditor.TextArea.link('latexInput');
EqEditor.Toolbar.link('toolbar').addTextArea(eq);
EqEditor.MathView.link('mathview').addTextArea(eq);
That is a complete editor. Everything else is optional.
One call, nine formats — including MathML with the spoken text a screen reader needs.
output.exportAs('mathmlspeech');
// mathml · latex · url · html
// wp · phpBB · tw · doxygen
Or hand it to a plugin and never call the API at all.
Free to use for non-commercial work — the API and the plugins. Building something bigger to sell needs a commercial licence, which carries no territorial or volume restriction. Equations you generate can be used for any purpose, anywhere: the licence covers the tools, not their output. Our editor runs entirely offline, converting to MathML within your browser, so your equations stay private.
Already using one of these?