Open TEX files online

LaTeX is the typesetting system for scientific and mathematical documents; KaTeX and MathJax render its formulas in the browser.

Drop a TEX file to open it

or click to choose — everything stays on your device

Choose file

🔒 100% private — files never leave your browser

You can also edit TEX online — change the content with find & replace, then save it back. Nothing is uploaded. Or turn TEX into an image — snapshot the preview, add arrows or notes, and download a PNG.

What is a TEX file?

LaTeX is the typesetting system for scientific and mathematical documents; KaTeX and MathJax render its formulas in the browser. The .TEX extension identifies a LaTeX source file, which is served with the application/x-latex media type. You can open it here instantly — drop the file into the box above and it renders in your browser. Nothing is uploaded.

Besides this free online viewer, you can open LaTeX / math files in desktop apps such as Overleaf, TeXShop, VS Code — but here all you need is a web browser.

Quick facts

FormatLaTeX / math — LaTeX source
File extensions.tex
MIME typeapplication/x-latex
DeveloperLeslie Lamport
CategoryText & markup
Also opens inOverleaf, TeXShop, VS Code

How to open a TEX file online

  1. Click Choose file above, or drag your TEX file onto the box.
  2. The right viewer loads automatically and renders your file.
  3. Read, scroll or page through it. To open a different file, choose Open another file.

100% private — files never leave your browser.

Libraries used to render TEX in the browser

This viewer is built entirely with open-source JavaScript that runs in your browser:

Frequently asked questions

What is a .TEX file?

A .TEX file is a LaTeX source, identified by the application/x-latex media type. You can open and read it instantly in the viewer above without installing anything.

What programs open TEX files?

On the desktop, TEX files typically open in Overleaf, TeXShop, VS Code. Online, this page opens them in any modern browser — nothing to download.

Can I edit a TEX file online?

Yes. Open your file, switch to Edit, change the text with built-in find & replace, then click Save. It all runs in your browser — nothing is uploaded.

How do I convert TEX to an image?

Use Snapshot to capture the TEX preview, optionally add arrows, text or highlights, then download it as a PNG image.

Is it safe to open my TEX file here?

Yes. The file is read and rendered entirely by JavaScript inside your own browser. It is never uploaded to a server, so nothing leaves your device.

Do I need to install anything to view a TEX file?

No. There is nothing to install and no account to create. Open the page, drop your file, and it displays instantly.

Does it work on my phone or iPad?

Yes. The viewer is fully responsive and works in modern mobile and tablet browsers such as Safari and Chrome.

Is there a file size limit?

There is no hard limit, but very large files depend on your device’s memory. Big files are processed in the background so the page stays responsive.