242

I have heard rumors that you can compile documents online, and more specifically that Google has a free online compiler, but I have never been able to find any. Is there a way to compile documents online, so that I can write and compile documents even if I don't have a TeX distribution installed on my computer?

7
  • 1
    Note the online compiler is not affiliated with google. It simply uses google UI toolkit and google apps hosting platform.
    – Dima
    Commented Jul 27, 2010 at 3:03
  • 70
    You mean that you don't carry around a USB with the full TeXLive distribution on it and binaries for all major operating systems? Commented Jul 27, 2010 at 7:15
  • 9
    @Andrew Stacey lol =) I bet you even have it on your smartphone.
    – Dima
    Commented Jul 27, 2010 at 15:49
  • If you just want equations, check out Auto-LaTeX Equations for Google Docs, it does all the rendering work for you and looks great. Commented Dec 14, 2017 at 3:26
  • 1
    @LoopSpace of course I do. This is 2018, after all!
    – thymaro
    Commented Mar 15, 2018 at 7:36

21 Answers 21

315

Online compiler with storage and editor features:

Meanwhile inactive:

Online compiler with basic functionality:

Tiny equation compiler:

Latex Table generator:

Document frame generator:

The other way round:

  • DeTeXify outputs the corresponding LaTeX command code after you've drawn a symbol
  • classify has the same purpose like DeTeXify

Word to LaTeX converters

  • Docx2Latex Converts Word/Google Docs file to LaTeX source code and PDF.
10
68

The Google-related solution was available here at http://docs.latexlab.org/ but has been taken offline.

Note, however, that the online compiler was never affiliated with Google. It simply used Google UI toolkit and Google Apps hosting platform. (from Dima)

3
  • 3
    Website available, but requires access to all your gmail contacts and apparently google documents...
    – anderstood
    Commented Mar 24, 2015 at 22:50
  • 1
    Hasn't been upgraded to OAuth2.0... unusable Commented Jun 24, 2015 at 22:09
  • 13
    And now offline... Commented Aug 15, 2015 at 11:13
42

Overleaf


Features:

  • registeration required
  • collaboration possible, by means of sharing the URL
  • documents can be saved, actually everything is saved automatically
  • instant compilation on-the-fly
  • possibility to upload files (PDF, PNG, STY, TeX, Bib, etc.) up to 10 MiB
  • syntax highlighting in the included editor

Screenshot:

enter image description here

1
  • 2
    Unless I'm missing something the switch to Overleaf v2 after the merger with ShareLaTeX means that the option to use Overleaf without an account is gone. Registration is now required.
    – moewe
    Commented Jan 13, 2019 at 17:50
28

ScribTeX is another good choice. You can also checkout the Common LaTeX Service Interface (CLSI) which is one of the underlying technologies of both ScribTeX and LaTeX Lab.

The CLSI provides the underlying infrastructure for exposing a LaTeX compiler to requests from the internet and can be used to build your own custom web-based solution.

Update

ScribTeX uses git internally to store revisions to documents and the site's author is planning to open the service up to allow users to push and pull repositories as soon as he gets the logistics worked out.

Looks like there may finally be a GitHub-like service for LaTeX documents!

1
  • I am disappointed at the account structure of ScribTex. For holding KBs of files, allowing only three projects is quite sad. My thesis proposal, thesis and resume already used up the three projects and I am definitely not paying for more projects for such a basic service.
    – JoshFinnie
    Commented Sep 3, 2010 at 16:04
24

The ConTeXtGarden offers a simple ConTeXt online compiler. It uses an up-to-date ConTeXt MkIV version (LuaTeX).

Here is a screenshot (of an older version which still offered the choice to compile with MkII):

contextlivenew

2
  • Down these days :/
    – Kian
    Commented Jun 6, 2015 at 16:00
  • Meanwhile MkII has disappeared from ConTeXt live. Commented Feb 24, 2019 at 8:07
17

Verbosus seems to be the most convenient and appealing to me.

It worth noting that Verbosus has a good app for smartphone and tablet (with a dark theme, which someone may prefer) and, last but not least, use an updated version of TeX Live, whereas Overleaf and ShareLaTeX do not.

On the other hand, it has not the instant compilation on-the-fly, which Overleaf has.

0
12

A recent addition to online compilers by Troy Henderson, presented at TUGboat 33:1, 2012 is the LaTeX previewer:

enter image description here

10

I’ve used some of the online compilers, and they’re fine, but occasionally I want to make use of my own TeX installation on my work computer because it has custom packages and settings installed not available with the online compiler. But what to do if I’m not sitting in front of my work computer?

My solution was to set up a SSH server on my work computer, and simply use an SSH client from wherever I am to log in, fire up vim or emacs or other text only text editor to do edits if need be, and/or simply run latex/pdflatex from the commandline through the shell.

Apparently, you can do this with an iPad or similar. (I don't have one.)

1
  • 2
    You can forward X11 over ssh pretty easily so no need to confine yourself to command line editors if you don't wish to, at least on GNU/Linux and Mac OS X. One big advantage of this is security. I've yet to find an online compiler I would trust my work to simply for reasons of privacy. People should think more carefully about the implications of this stuff, especially in light of recent events.
    – cfr
    Commented Jan 5, 2014 at 3:28
10

One more solution, not mentioned above: papeeria.com It's currently in active development. Free plan includes one private project and unlimited public ones.

9

SimpleLaTeX: A simple online editor for very minimal documents; manages and previews LaTeX notes:

SimpleLaTeX is an online tool where you can preview and share short notes in LaTeX. It may be useful if you are writing a complicated equation, table, or TikZ image that requires iterative trial-and-error. Current features include:

  • A trimmed image is generated and displayed in scalable SVG;

  • Images in PDF and PNG formats are also available for download;

  • You can save your note being sketched to your browser's cache, which will be loaded next time you visit;

  • You can publish your compilable note and share it with others.

The site requires HTML5 support so it may not work in older browsers.

SimpleLaTeX is not designed to handle full LaTeX documents such as Overleaf does. The goal is to be light-weight and in spirit more like jsfiddle.

enter image description here

7

Amusingly, many of the online previewers given in other answers are vulnerable to maliciously crafted input. I can only think of one fairly-far fetched way this could be a problem for users, but the people running the preview services should think long and hard about what it is they're doing.

4
  • 2
    They really should. I considered hosting one for my own personal use, then realised what a wretched, massive security hole it would be and decided against it.
    – EricR
    Commented Sep 12, 2010 at 0:20
  • 1
    @EricR: could you perhaps elaborate on how to make it safe? or what the problems are? if \write18 is disabled, is it any better? without actually giving malicious code, could you provide some pointers as to what some problematics commands could be? Commented Nov 29, 2010 at 10:31
  • @Yossi: Sure. Joseph's blog mentions a paper that describes this in some detail.
    – TH.
    Commented Nov 30, 2010 at 3:48
  • See also another question on the site online - How can I safely compile other people's LaTeX documents? - TeX - LaTeX Stack Exchange
    – user202729
    Commented Jul 4, 2022 at 16:49
7

I think that my minimalistic service, latex-online, might come handy to someone.

Unique feature:

  • Create a live link which, when pressed, fetches content from url/git repo and returns freshly compiled pdf. Github example

This helps a lot if you store TeX files in a public repository and want a "See Latest" link in the README.md (example: my diploma).

Other than that, main features are:

  • Compile given URL/gitrepo/text.
  • Compile local files (with the help of command-line utility
  • Open Source!
  • Easy docker deployment

I find this useful - but once again, beware: I'm the developer of the thing and might be biased.

2
  • Internal Server Error 500 here on 2016-Nov-12. Commented Nov 12, 2016 at 22:39
  • 1
    @JimHefferon thanks for the heads-up, it got fixed some time ago. Should be working fine now Commented Nov 17, 2016 at 18:13
6

Another solution not mentioned here is Authorea which lets you collaboratively write LaTeX (and Markdown), and render it to HTML or PDF (most journal styles supported). Also- it is built on Git for version control.

enter image description here

5

Here's another one I found:

http://tools.jcisio.com/tex/eq.html

5

I've blogged about using CLSI (in particular ScribTeX) to compile LaTeX remotely. I wrote a little client in F#, but it's pretty easy to code a CLSI client in any language.

I also show conceptually in that article how to integrate this with a source control repository and a build server.

4

Additionally, Verbosus not only allows using LaTeX in the browser. The developers also provide an Android app called VerbTeX and an iPad/iPhone app called iVerbTeX. I guess this is definitely a nice addition to browser-based LaTeX editing.

4

The following is the only LaTeX online editor that I found both to be 100% free and to support collaborative editing. It was also designed for sharing bibliography, but I have not looked into that feature.

www.publications.li/

All you have to do is register and you are ready to start a document. To share the document with an "unconstrained" number of collaborators, just send them the document's URL. I think it is worth the try.

1
4

For the MetaPost users, besides Troy Henderson's LaTeX previewer already presented above there is also its MetaPost previewer:

enter image description here

4

Auto-Latex Equations add-on for Google Docs

For just equations, the Auto-Latex Equations add-on for Google Docs is free and works brilliantly. Additionally, it replaces all your equations with images of the high-quality equation, making it mobile-viewable and fully compatible with Google Docs image tools.

All you have to do is type an equation within delimiters, like $$55 + \sqrt{5}$$ and it can be rendered in super high quality at whatever time you like by rendering all the equations in your document. If you mess up, you can always undo one or all the equations. It supports collaborative editing, but not the full LaTeX document syntax.

You can get it for free at the Google Docs add-ons store.

4

Another option is to use a LaTeX API to compile the tex files online. DynamicDocs is JSON to PDF API which utilises LaTeX to create PDFs. DynamicDocs API features include:

  • Ready-made JSON to PDF templates (no LaTeX required)
  • Ability to write your own template online in LaTeX and merge JSON to PDF using the R language layer, making the templates and their content dynamic
  • Pass your own tex file in the JSON payload to the Tex to PDF with pdfLaTeX v1 endpoint to compile the PDF with pdfLaTeX
  • Each account is given a FREE plan with a limited number of monthly API calls

Disclaimer: I am involved in developing DynamicDocs API.

3

Texpad developers here. I should add that remote/cloud typesetting has become increasingly unnecessary as on iOS we have our universal (iPad/iPhone/iPod Touch) app called Texpad that has the most complete local LaTeX typesetter with advanced fonts, Beamer and tikz.

Hope it helps to the OP.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .