LaTeX on iPad: How to Write and Compile LaTeX on a Tablet
Date Published

You can write and compile LaTeX on an iPad in two ways: through a browser-based editor such as Octree or Overleaf in Safari, which compiles on a server and needs an internet connection, or through a native app such as Texifier (formerly Texpad) or TeX Writer, which bundles a TeX engine and works offline. No full TeX Live distribution runs on iPadOS itself, so every option is one of those two routes. For most students and researchers, a browser editor with cloud compile is the fastest way to get a PDF from an iPad today, and a native app is the right choice if you regularly work without Wi-Fi.
This guide compares the realistic options, explains the trade-offs honestly, and covers the practical details that make LaTeX on a tablet pleasant: keyboard shortcuts, Apple Pencil input, split-screen PDF previews, and what the iPad still cannot do.
The Short Version
Option | Type | Compiles | Works offline | AI editing | Cost |
|---|---|---|---|---|---|
Octree in Safari | web app | cloud, from the browser | no | yes, built in | free tier, paid plan for heavier use |
Overleaf in Safari | web app | cloud, from the browser | no | limited | free tier, paid plans |
Texifier (Texpad) | native app | on device | yes | no | paid |
TeX Writer | native app | on device | yes | no | paid |
VerbTeX | native app | cloud (Verbosus) | editing only | no | free with pro option |
Working Copy + remote compile | git client + any server | on your own machine or CI | editing only | no | app purchase, plus your server |
Prices and feature sets change often, so treat the cost column as a rough guide and check the App Store listing or the vendor's site before you commit.
Option 1: Octree in Safari
Octree (https://www.useoctree.com) is an AI LaTeX editor that runs entirely in the browser, and Safari on iPadOS is a desktop-class browser, so the full editor works on an iPad without an app. Projects, files, and compiled PDFs live in the cloud; compilation happens on Octree's servers with a full TeX Live installation, so every package you would use on a desktop is available, and the PDF preview appears beside the source.
What makes it a good fit for a tablet specifically:
- AI editing lets you describe a change in plain English ("turn this list into a table," "fix the alignment in this equation," "add a bibliography entry for this DOI") and apply the suggested edit, which saves a lot of precise cursor work on a touch screen.
- Cloud compile means no multi-gigabyte download and no package management; a fresh iPad can compile a thesis in the time it takes to sign in.
- Document generation from chat can draft a whole document from a prompt, which is handy for starting a report or a problem set on the go.
- Free tier covers regular use, with a paid plan for heavier AI usage.
Open the site in Safari, sign in, and add it to the Home Screen (share sheet → Add to Home Screen) so it launches like an app without Safari's toolbar. Pair a keyboard, split the screen with a PDF reader or your notes, and the workflow is close to a laptop.
Option 2: Overleaf in Safari
Overleaf has no iPad app, but its web editor loads in Safari and works for editing, compiling, and collaborating. The experience is usable with a keyboard; with only the on-screen keyboard it gets cramped, because the editor, file tree, and preview compete for space. If you already keep projects on Overleaf, this is the zero-setup route, and the same Home Screen trick applies. Overleaf's compile also runs in the cloud, so it needs a connection.
Option 3: Native Apps With an On-Device TeX Engine
A few apps have done the hard work of porting a TeX engine to iPadOS, which is what makes offline compilation possible.
- Texifier (the renamed Texpad) ships its own TeX engine and syncs projects between the Mac and iPad versions. It typesets on the device, includes a built-in PDF viewer, and supports SyncTeX-style jumping between source and PDF. It is a paid app and the iPad version is sold separately from the Mac one.
- TeX Writer was one of the first iPad apps to compile LaTeX locally. It bundles a TeX distribution with a selected set of packages and lets you install more, with a straightforward editor and preview. It is also paid.
- VerbTeX takes a different approach: the app edits locally and sends the project to the Verbosus service for compilation, so it is closer to the browser options in practice.
The limitation of any on-device engine is package coverage. These apps ship a subset of TeX Live to keep the download reasonable, and a document that depends on an unusual package, a system font, or a shell-escape tool such as minted may compile on your desktop and fail on the tablet. For standard article, report, beamer, and amsmath workflows they are reliable.
Option 4: Git Client Plus Remote Compile
If your LaTeX lives in a git repository, Working Copy (a full git client for iOS) can clone, edit, and push from the iPad, and a GitHub Action or a server you control can compile on every push and publish the PDF as an artifact. You edit in Working Copy or in any text editor that supports the iOS Files integration, and you read the result in Safari or a PDF app. This is more plumbing than most people want, but it is fully version-controlled, works with any package, and costs nothing beyond the app and the compute you already have.
A lighter variant: keep the repository on a desktop or a cheap VPS, open it over SSH with Blink Shell or a similar terminal app, and run latexmk there. The iPad is then just a screen and keyboard, which works surprisingly well on good Wi-Fi.
Handwriting Equations With Apple Pencil
The Apple Pencil is the one thing the iPad does that a laptop cannot, and it is useful for LaTeX in two ways.
Scribble, built into iPadOS, converts handwriting into text in any text field. It is fine for prose but poor for LaTeX source, because it will not reliably produce backslashes and braces.
Equation to LaTeX conversion is the better use. Write the equation by hand in Notes, Freeform, or any drawing app, take a screenshot or export the image, and upload it to the Octree equation-to-LaTeX tool at https://tools.useoctree.com/tools/equation-to-latex, which accepts JPEG, PNG, GIF, and WebP images (or a plain-text description) and returns the LaTeX code to paste into your document. For a page of handwritten derivations this is dramatically faster than typing every \frac and \sum. Check the output before you trust it, especially subscripts and lookalike letters, but it gets the structure right far more often than not.
Keyboard Shortcuts and Workflow Tips
- Use a hardware keyboard. LaTeX is dense with backslashes, braces, and underscores that are two taps away on the on-screen keyboard. A Magic Keyboard, Smart Keyboard Folio, or any Bluetooth keyboard makes the biggest single difference.
- Learn Safari's shortcuts. Cmd + L jumps to the address bar, Cmd + T opens a tab, and Cmd + Shift + R reloads; inside the editor the usual Cmd + S, Cmd + Z, Cmd + F, and Cmd + / for commenting work as they do on a desktop.
- Split View or Stage Manager. Put the editor on one side and a PDF of the paper you are citing, your notes app, or a second browser tab with the compiled PDF on the other.
- Symbol entry. Hold Option on a hardware keyboard to reach characters such as ∞, ≠, and ≤ directly; see https://www.useoctree.com/learn/greek-alphabet for the Greek letter commands you will type most, and https://www.useoctree.com/learn/subscripts-superscripts for exponents and indices.
- Turn off smart punctuation. Settings → General → Keyboard → Smart Punctuation replaces straight quotes with curly ones and double hyphens with dashes, which corrupts LaTeX source in apps that do not override it. Browser-based editors generally handle this, but native text fields may not.
What the iPad Still Cannot Do
- No full TeX Live. iPadOS does not permit a general-purpose TeX installation; you either compile in the cloud or rely on an app's bundled subset.
- No shell escape. Tools that call out to Python, Inkscape, or a bibliography script during compilation will not run in a native app and depend on the cloud service supporting them.
- Limited file system. The Files app has improved, but moving a project with many figures between apps still involves more taps than a desktop drag.
- Small-screen previews. On an 11-inch iPad, source and PDF side by side are both narrow; a 13-inch model or an external display helps.
- Offline AI. AI editing in Octree, like cloud compile, needs a connection.
For a graduate student writing a thesis entirely on an iPad, a native app plus a cloud editor for the heavy compiles is a common combination. For a student who mostly needs to finish a problem set between classes, a browser editor alone is enough.
FAQ
Can you write LaTeX on an iPad?
Yes. Browser editors such as Octree and Overleaf run in Safari and compile in the cloud, and native apps such as Texifier and TeX Writer compile on the device. Add a hardware keyboard and the iPad handles everyday LaTeX comfortably.
Does Overleaf work on an iPad?
Overleaf has no iPad app, but the web editor loads in Safari and works for editing and compiling. It is best with an external keyboard, since the on-screen keyboard leaves little room for the editor and preview.
Can I compile LaTeX offline on an iPad?
Only with a native app that ships its own TeX engine, such as Texifier or TeX Writer. Browser editors need a connection to compile. Native apps include a subset of TeX Live, so very unusual packages may be missing.
Is there a free LaTeX app for iPad?
The browser route is free: Octree has a free tier and Overleaf has a free plan, both usable in Safari with no install. Most native apps with on-device compilation are paid.
Can I use Apple Pencil to write LaTeX?
Not directly as source code, but you can handwrite an equation, take a screenshot, and convert it with an image-to-LaTeX tool such as https://tools.useoctree.com/tools/equation-to-latex, then paste the result into your document.
Getting Started
Open https://www.useoctree.com in Safari on your iPad, sign in, and start a project; the editor, AI assistant, and cloud compiler work from the first tap, with nothing to install.