---
title: "Online LaTeX Equation Editor: Type an Equation, Download It as PNG or SVG"
url: https://modsengineeringmath.com/en/tools/latex-equation-editor/
site: "Mod's Engineering Mathematics (อาจารย์มด)"
language: en
updated: 2026-12-05
---

> Type maths in plain text or LaTeX and download a transparent PNG or vector SVG for Word, PowerPoint and Canva, or build a Facebook, YouTube, X, Instagram or TikTok-sized image with equations, notes, arrows and function graphs. Free, no sign-up, nothing uploaded.

Markdown copy of https://modsengineeringmath.com/en/tools/latex-equation-editor/ for AI assistants and search tools. Math is LaTeX ($…$ and $$…$$); interactive labs and figures are only on the web page.

# Online LaTeX Equation Editor: Type an Equation, Download It as PNG or SVG

THภาษาไทยENEnglish
// Tool · LaTeX Equation Editor


Type an equation as plain text, such as y = x^2*sin(3x)/(1+x), or write LaTeX directly. It is typeset the way a textbook would print it, and you can download a PNG with a transparent background or a vector SVG. Useful for slides, worksheets, exam papers and social posts. Further down, the equation board builds a whole image at Facebook, YouTube, X, Instagram or TikTok size, with equations, notes, arrows, highlights and function graphs.

## Calculator

This calculator needs JavaScript.

## Syntax, graph templates and AI prompts

This section reads the equation from the LaTeX box above as you type and gets it ready to paste elsewhere in three ways: the equation in 7 formats (such as $$…$$ for AI chats, a numbered equation for LaTeX documents, MathML and Unicode text); 10 graph templates you can edit straight away, with TikZ/pgfplots, Python (Matplotlib), Desmos and GeoGebra code; and prompts for ChatGPT, Claude and Gemini chats or for image generators, filled in with the equation, the axis window, the axis crossings, maxima, minima and any shaded area.

This section needs JavaScript.

Image generators often garble maths symbols, so choose “No text” and lay the equation from the editor over the picture on the image board below. “Put this graph on the image board” moves the graph there with its colours, window and shaded area. Your choices are remembered in this browser.

## Equation board in social-media sizes: Facebook, YouTube, X, Instagram, TikTok

Choose the image size first and the board appears at the exact pixel size of that platform, for example Horizontal / shared links (1.91:1) at 1200 × 630 px for Facebook, or Full-screen vertical (9:16) at 1080 × 1920 px for TikTok and Reels. Then place as many equations as you like, on several lines, with the font size in pixels; add notes, arrows, lines, boxes, highlights and LaTeX-style function graphs anywhere; and download PNG, JPG or SVG, or copy the image and paste it straight away.

This board needs JavaScript.

Your board is saved in this browser automatically and is still there when you come back. To move it to another computer, press “Save project (.json)” and open that file there.

## Image sizes for each platform

Every size in this table is a preset on the board above. The downloaded image has exactly these pixel dimensions (twice as many with PNG 2×), so the platform does not shrink or crop it in odd ways.

| Preset | Ratio | Pixels | Best for |

| Square | 1:1 | 1,080 × 1,080 | Instagram, Facebook, X, LinkedIn, Threads, LINE — shown uncropped everywhere |

| Portrait feed | 4:5 | 1,080 × 1,350 | Instagram, Facebook, Threads — the most screen space in a mobile feed |

| Portrait 3:4 | 3:4 | 1,080 × 1,440 | Instagram (matches the profile-grid tile), Threads, Facebook |

| Full-screen vertical | 9:16 | 1,080 × 1,920 | TikTok, Instagram Reels/Stories, YouTube Shorts, Facebook Reels/Stories |

| Landscape Full HD | 16:9 | 1,920 × 1,080 | YouTube video frames, PowerPoint/Google Slides, Facebook video |

| YouTube thumbnail | 16:9 | 1,280 × 720 | YouTube (2 MB file limit) |

| X post image | 16:9 | 1,600 × 900 | X (Twitter), LinkedIn — a single timeline image, uncropped |

| Horizontal / shared links | 1.91:1 | 1,200 × 630 | Facebook, LinkedIn, X (link cards), LINE — wide shots and link cards without awkward cropping |

| Instagram landscape | 1.91:1 | 1,080 × 566 | Instagram — the widest landscape the feed takes |

| Landscape 4:3 | 4:3 | 1,440 × 1,080 | 4:3 slides, classroom projectors, tablets and Facebook |

| A4 portrait (150 dpi) | A4 | 1,240 × 1,754 | Worksheets and print (PNG 2× gives 300 dpi) |

When one image goes to several platforms, 1:1 (1080 × 1080 px) is the safe choice. For a link to an article, use 1.91:1 (1200 × 630 px). For vertical short videos, turn on “Guides / safe zones” and keep the equations out of the orange bands at the top, bottom and right, where the app puts its buttons and captions. These sizes were checked against each platform's help pages in December 2026; platforms do change them, and “Custom size” takes any width and height.

## How to use the equation board

- Pick a size and a background. Press a size card; choose a solid colour, transparent, gradient, graph paper, dot grid or lined paper. If you change the size later, the content is scaled to fit (you can turn that off).

- Place equations. Choose the ∑ tool and click the canvas, or press “Place the equation from the LaTeX box above” to reuse what you typed in the first tool. Press Enter in the LaTeX box for another line. Type the font size in pixels, use the 24–160 px buttons, or drag a corner. \color{red}{…} colours part of an equation.

- Add notes. The T tool takes several lines of text with inline maths in $…$, e.g. Area of a circle $A = \pi r^2$. Choose the font, bold, colour, and an optional card or border behind it.

- Highlight, draw lines and arrows. The highlight box and highlighter pen go over an equation without dimming it; there are straight and curved arrows, lines, rectangles, ellipses and a freehand pen. Hold Shift while drawing to snap angles or get a circle or square; drag the middle dot of an arrow to bend it.

- Insert function graphs. One graph can hold several functions, each with its own colour, width, solid/dashed/dotted style and LaTeX legend label. Set the axis ranges, tick steps, LaTeX axis labels, ticks in multiples of π, equal x:y scale, grid, shaded area under a curve and labelled points. Zoom and pan with the buttons, or hold Ctrl and scroll over the graph; drag a corner to resize it.

- Arrange. Drag objects around; they snap to the centre, the margins and other objects (hold Alt to turn snapping off for a moment). The property panel has centre, bring to front, send to back, duplicate and delete. Choose the “100% (actual size)” zoom to see the real size.

- Take it away. Download PNG (exact platform size), PNG 2× (extra sharp), JPG (smaller files, good for YouTube thumbnails) or SVG (vector, fonts embedded), or press “Copy image” and paste into Facebook, Canva, PowerPoint or a chat.

Shortcuts (click the canvas first): V select · E equation · T text · G graph · A arrow · L line · R rectangle · O ellipse · H highlight · M highlighter · P pen · Delete removes · Ctrl+D duplicates · Ctrl+Z undo · Ctrl+Y redo · arrow keys move 1 px (Shift = 10 px) · Ctrl+V pastes an image or text.

### Typing functions for graphs

| For | Type |

| Powers and roots | x^2 · x^(1/3) · sqrt(x) |

| Multiplication (the sign can be left out) | 2*x or 2x · 3sin(2x) |

| Trigonometric and inverse | sin(x) cos(x) tan(x) sec(x) asin(x) atan(x) |

| Exponential and logarithm | e^(-x) or exp(-x) · ln(x) · log(x) (base 10) |

| Hyperbolic, absolute value | sinh(x) cosh(x) tanh(x) · abs(x) |

| Constants | pi · e (also in axis ranges, e.g. -2pi to 2pi) |

Functions with vertical asymptotes, such as tan(x) or 1/x, are broken where the value jumps, so no false vertical line is drawn.

## How to use it

- Choose how to type. New to LaTeX? Pick “Type plain maths” and use the ordinary keyboard: ^ for powers, / for division, sqrt( ) for roots, pi for π. The LaTeX appears in the box below and can be edited further.

- Use the symbol palette. Buttons insert fractions, roots, integrals, sums, limits, Greek letters, matrices and piecewise functions. A □ marks a slot to fill in. Select some text first and it goes into the first slot.

- Style the image. Set the font size, colour, background (transparent, white, black, cream), padding and PNG resolution (3× suits slides, 4× suits print).

- Take it away. Download PNG or SVG, or press “Copy image” and paste straight into Word, PowerPoint or Google Docs. “Copy link to this equation” gives a link that reopens the same equation, handy for sharing or editing later.

## LaTeX commands you will use most

| You want | Type | Result |

| Fraction | \frac{a}{b} | $\frac{a}{b}$ |

| Power / subscript | x^{2} · a_{n} | $x^{2},\ a_{n}$ |

| Root | \sqrt{x} · \sqrt[3]{x} | $\sqrt{x},\ \sqrt[3]{x}$ |

| Definite integral | \int_{0}^{1} x^2\,dx | $\int_{0}^{1} x^2\,dx$ |

| Sum | \sum_{n=1}^{\infty} \frac{1}{n^2} | $\sum_{n=1}^{\infty} \frac{1}{n^2}$ |

| Limit | \lim_{x \to 0} \frac{\sin x}{x} | $\lim_{x \to 0} \frac{\sin x}{x}$ |

| Partial derivative | \frac{\partial f}{\partial x} | $\frac{\partial f}{\partial x}$ |

| Greek letters | \alpha \beta \omega \Omega | $\alpha\ \beta\ \omega\ \Omega$ |

| Auto-sized brackets | \left( \frac{a}{b} \right) | $\left( \frac{a}{b} \right)$ |

| Text inside maths | \text{power} = VI | $\text{power} = VI$ |

| Laplace transform | \mathcal{L}\{f(t)\} | $\mathcal{L}\{f(t)\}$ |

| Spacing | \, thin · \quad wide | $a\,b \quad c$ |

Matrices, piecewise functions and multi-line equations aligned at the equals sign are one click away in the “Structures” row, so there is nothing to memorise.

## PNG or SVG?

PNG is a pixel format that opens everywhere. It suits posts, chat apps and ordinary documents. If the image will be enlarged, choose 3× or 4× resolution when you download.

SVG is a vector format: it stays sharp at any size, the file is small, and the colour can still be changed. Word and PowerPoint 2019 or later, Google Slides, Canva, Figma and Inkscape accept SVG directly. It suits textbooks, academic posters and print.

For a dark slide background, choose the “Transparent” background and set the text colour to white.

## Privacy

Typesetting and image creation happen entirely in your browser. The equation is never sent to a server, so the tool is safe for unpublished exams and documents. The AI prompts are also built in your browser; nothing is sent to an AI service unless you copy and paste it yourself. The typesetter is MathJax 3, the same engine many academic journals use.

## Frequently asked questions

Do I need to know LaTeX?
No. Choose “Type plain maths” and enter something like x^2/(1+x) or sqrt(x^2+1); it is converted to LaTeX for you. The palette adds fractions, integrals and matrices with one click.

Can I use the images commercially?
Yes. The equation is yours. Images carry no watermark and need no attribution.

Why does “Copy image” not work in my browser?
Copying images to the clipboard needs a recent browser (Chrome, Edge, Safari 13.1 or later) on an https page. If it fails, download the PNG instead.

Which image size should I use for Facebook, YouTube, X, Instagram and TikTok?
Feed posts: 1:1 (1080 × 1080 px) or portrait 4:5 (1080 × 1350 px). Shared links: 1.91:1 (1200 × 630 px). YouTube thumbnails: 16:9 (1280 × 720 px). X post images: 16:9 (1600 × 900 px). TikTok, Reels and Shorts: 9:16 (1080 × 1920 px). Every size is a preset on the board, and each card says which platforms it suits.

Can I put a function graph in the image?
Yes. The graph tool on the board plots several functions such as sin(x) or x^2 - 2x, with your choice of line colour and width, LaTeX axis labels, ranges, tick steps, ticks in multiples of π, grid, shaded areas and labelled points, and the graph can be resized and zoomed.

Is this page available in Thai?
Yes. Use the TH / EN switch at the top of the page; the Thai edition has the same tool.

How do I take an equation to ChatGPT, or ask an AI for an illustration?
Use the section “Syntax, graph templates and AI prompts” below the editor. Pick a task (explain step by step, solve and check, practice set, plotting code or image prompt) and copy the prompt into the chat; it carries the equation as $$…$$ together with the graph window and key points. For illustrations, an English prompt with no text in the image works best; then lay the equation over it on the image board.

## More calculators

Laplace transform calculator
Inverse Laplace transform calculator
Fourier series calculator
Derivative calculator
Integral calculator
Area calculator
Power factor calculator
Thailand electricity bill calculator
All tools →

## Frequently asked questions

**Do I need to know LaTeX?**
No. Choose “Type plain maths” and enter something like x^2/(1+x) or sqrt(x^2+1); it is converted to LaTeX for you. The palette adds fractions, integrals and matrices with one click.

**Can I use the images commercially?**
Yes. The equation is yours. Images carry no watermark and need no attribution.

**Why does “Copy image” not work in my browser?**
Copying images to the clipboard needs a recent browser (Chrome, Edge, Safari 13.1 or later) on an https page. If it fails, download the PNG instead.

**Which image size should I use for Facebook, YouTube, X, Instagram and TikTok?**
Feed posts: 1:1 (1080 × 1080 px) or portrait 4:5 (1080 × 1350 px). Shared links: 1.91:1 (1200 × 630 px). YouTube thumbnails: 16:9 (1280 × 720 px). X post images: 16:9 (1600 × 900 px). TikTok, Reels and Shorts: 9:16 (1080 × 1920 px). Every size is a preset on the board, and each card says which platforms it suits.

**Can I put a function graph in the image?**
Yes. The graph tool on the board plots several functions such as sin(x) or x^2 - 2x, with your choice of line colour and width, LaTeX axis labels, ranges, tick steps, ticks in multiples of π, grid, shaded areas and labelled points, and the graph can be resized and zoomed.

**Is this page available in Thai?**
Yes. Use the TH / EN switch at the top of the page; the Thai edition has the same tool.

**How do I take an equation to ChatGPT, or ask an AI for an illustration?**
Use the section “Syntax, graph templates and AI prompts” below the editor. Pick a task (explain step by step, solve and check, practice set, plotting code or image prompt) and copy the prompt into the chat; it carries the equation as $$…$$ together with the graph window and key points. For illustrations, an English prompt with no text in the image works best; then lay the equation over it on the image board.
