# Compiling documents online

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?

-
Note the online compiler is not affiliated with google. It simply uses google UI toolkit and google apps hosting platform. –  Dima Jul 27 '10 at 3:03
You mean that you don't carry around a USB with the full TeXLive distribution on it and binaries for all major operating systems? –  Loop Space Jul 27 '10 at 7:15
@Andrew Stacey lol =) I bet you even have it on your smartphone. –  Dima Jul 27 '10 at 15:49

The Google-related solution is available here: http://docs.latexlab.org/

Note, however, that the online compiler is not affiliated with Google. It simply uses Google UI toolkit and Google Apps hosting platform. (from Dima)

-
Webpage is no longer available. –  geoff Sep 26 '14 at 22:29
Webpage is available (again). –  Ethan Bolker Jan 15 at 14:01

Online compiler with storage and editor features:

Meanwhile inactive:

Online compiler with basic functionality:

Tiny equation compiler:

Document frame generator:

The other way round:

• DeTeXify outputs the corresponding LaTeX command code after you've drawn a symbol
-
How do you come up with these lists so readily? –  Joseph Wright Aug 13 '10 at 14:49
I've been collecting useful links for a long time and I published such lists on my blog. This list comes from my blog page texblog.net/latex-link-archive/online-compiler with some additions. –  Stefan Kottwitz Aug 13 '10 at 15:00
Joseph, since you may refer to tex.stackexchange.com/questions/162/… for that list I used my resources article of 2007 texblog.net/pdf/ressourcen.pdf , also posted on matheplanet.com/matheplanet/nuke/html/article.php?sid=1074 , reviewed it and added links found in my blog. –  Stefan Kottwitz Aug 13 '10 at 15:07
Is there at least one on this list which supports tikz/pgf? I tried LaTeX Lab and ShareLaTeX but neither of them does. I would also like to know if there is one which supports lualatex. In LaTeX Lab you can define your own distribution but it seems only to work with MikTex. –  Reza Feb 7 '13 at 9:15
@Reza writeLaTeX supports TikZ. I connected the examples from the TikZ gallery on texample.net directly to it. –  Stefan Kottwitz Feb 7 '13 at 9:26

# Overleaf

Features:

• no need to register
• 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:

-
–  Werner Jan 18 at 23:09

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!

-
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 Sep 3 '10 at 16:04

The ConTeXtGarden offers a simple ConTeXt online compiler. It currently uses

• ConTeXt version 2012.05.30 11:26 MkIV
• ConTeXt version 2012.05.30 11:26 MkII
• LuaTeX version beta-0.70.1-2012052416 (rev 4277)
• pdfTeX version 3.1415926-2.4-1.40.13 (TeX Live 2012)

Here is a screenshot:

-

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

-

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.)

-
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 Jan 5 '14 at 3:28

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

-

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

-

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.

-
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 Sep 12 '10 at 0:20
@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? –  Yossi Farjoun Nov 29 '10 at 10:31
@Yossi: Sure. Joseph's blog mentions a paper that describes this in some detail. –  TH. Nov 30 '10 at 3:48

Here's another one I found:

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

-

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.

-

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.

-

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.

-

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.

-

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.

-

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.

-

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

-