Need Higher Quota? ×
The free quota too low for you? Please contact specifying your needs, we will be happy to create a paid plan for you.
Contact Us ×
Have any questions, feedback, bug to report? Is there something you'd want to see? Don't hesitate to reach out.

Math Equation API

# About

Math Equation API is a simple MathJax based API that allows you to generate equation images (in SVG format) that you can freely use anywhere. It's a simple and high-performance alternative to MathJax client-side library that has a large bundle size and is harder to include.

Since you're including simple images and there's no JS dependency, the equations load measurably faster.

# Usage

Creating Equations

To create the equation, pass your equation in the eq parameter.

<img src="https://s.mathequationapi.com/m?eq=2\sqrt2-\sqrt8" />

Output

ASCIIMath Syntax

The default format of the input is TeX, which can be verbose at times. An alternative to this is AsciiMath which can be activated by using the format parameter.

<img src="https://s.mathequationapi.com/m?eq=[[a,b],[c,d]]&format=asciimath" />

Output

Modifying Color

You can also modify the color using hsl, rgb, hex color names.

<img src="https://s.mathequationapi.com/m?eq=2\sqrt2-\sqrt8&color=ff0000" />

Output

# Generator

Input
TeX ASCIIMath
Output
Image URL Copy Code

# Pricing

MathEquationAPI is free for both personal and commercial use for upto 1000 requests / day. For higher quota, please contact us. We'll be happy to create a paid plan for you.

# Contact

Have some question, feedback, or want to report something? Feel free to send us a message.