# Embed LaTeX equations in website

I need a HTML LaTeX equation editor that creates graphical equations in the form of image (.png, .jpg, etc.) and produces code for directly embedding equations into HTML websites.

Codecogs used to be my choice for this, but since past few days, it's service has been disrupted and I need an alternate.

PS: I know I can do this with MathJAX/JSMath, but I need an image output only.

• Doesn't codecogs use Mathjax?
– Huey
Feb 16 '14 at 2:17
• @Huey I have no clue. But most probably, yes. Feb 16 '14 at 8:23
• And even if it does, the final output is an image. Feb 16 '14 at 8:26
• Google has a very handy API for this, but unfortunately it is deprecated and not guaranteed to be working after April 20, 2015. Feb 17 '14 at 20:39
• Does it have to be WYSIWYG, or are you going to type the LaTeX? Does it have to be a webapp, or can you use a local LaTeX installation? How do you plan on managing the source and the image (e.g. version control, CMS)? Feb 18 '14 at 13:04

Since you need an image output only, the Daum Equation Editor may be worth a try. It's a browser-based WYSIWYG LaTeX editor that allows you to save LaTeX equations as .png images.

Here's a sample screenshot of the editor:

And here's a sample .png image saved by it:

• Welcome to Software Recommendations. This is not a good answer for our site, please review this meta post on how to write good answers. Feb 20 '14 at 18:06
• @aman207 Thank you for pointing this out. I've now tried to improve the answer as per the meta post. Feb 20 '14 at 20:16
• Why downvotes now that OP's improved his answer? Would be nice if people explained their reasoning. .-. Feb 21 '14 at 13:29

If you want to make sure there are no delays, I recommend you to put the workload of rendering to the client. Libraries such as MathJax/jsMath allow you to render the Latex code directly in the visitor's browser. This has the nice side effect that this content is accessible for screen readers that do not support to display pictures.

• I agree that MathJAX/JSMath libraries would do my job. But these are heavy dependencies, LaTeX text just forms 0.001% of my website. Hence, I'd like to stick to the outsourcing option. Feb 16 '14 at 8:26
• If it is that little, why not just create static images manually from some LaTeX software whenever it is needed? Feb 17 '14 at 20:00
• To those downvoting: I answered before the edit specified that MathJax/jsMath wasn't an option, I guess the edit was a reaction to my answer. Feb 18 '14 at 9:33

Wolfram alpha will plot simple LaTex equations into images and graphs for you. I do not know how it handles more complex stuff.