Convert to LaTeX
Turn 14 document formats into publication-ready LaTeX. Pandoc's writer produces proper environments, math mode and bibliography hooks — compile with pdflatex or xelatex.
Click to start converting
Go to Pandoc engine — LaTeX output selected automatically
Supported input formats
| 格式 | 扩展名 | 说明 |
|---|---|---|
| Word (docx) | .docx | Headings, tables, footnotes, images, tracked changes |
| LibreOffice (odt) | .odt | Paragraph styles, master pages, embedded media |
| E-book (epub) | .epub | Chapter structure, book metadata, images |
| HTML | .html | Headings, lists, tables, links — genuine HTML reader |
| LaTeX | .tex | Math, environments, citations |
| reStructuredText | .rst | Directives, roles, tables |
| Org-mode | .org | Headlines, properties, drawers |
| CSV | .csv | Pandoc renders as GFM pipe tables |
| TSV | .tsv | Tab-separated, rendered as pipe tables |
| MediaWiki | .mediawiki | Templates, links, tables |
| DocBook | .docbook | Articles, sections, media objects |
| OPML outlines | .opml | Nested outlines → heading hierarchy |
| Jupyter notebook | .ipynb | Code cells, outputs, markdown cells |
How the conversion works
Pandoc's LaTeX writer turns the document tree into compilable source: Word headings become section and subsection commands, tables become tabular environments, footnotes become footnote commands, and emphasized text becomes an emph call.
Title, author and date read from the document properties are emitted as title, author and date commands, so adding a maketitle line in your preamble is enough for a title page.
The conversion runs in your browser — the LaTeX source is generated locally by the WebAssembly engine and never touches a server.
Common issues and how to fix them
Compile with xelatex or lualatex rather than pdflatex if your document contains non-Latin scripts or CJK text — pandoc's output is UTF-8 and expects a Unicode-capable engine.
Images are referenced with relative paths and includegraphics, so keep the extracted media/ folder next to the .tex file when compiling, or use the ZIP download which bundles both.
Very long tables are emitted as longtable so they break across pages. If a table overflows the column width, add a tabularx-based override or reduce font size in your template.
For citations, feed the same references.bib through the citation option in the Pro section so cite commands resolve into a bibliography.
Who uses this page
Researchers drafting manuscripts in Word who need an arXiv- or journal-ready LaTeX skeleton, students converting lecture notes into thesis chapters, and engineers generating LaTeX reports from Word-based tooling.
Convert to LaTeX FAQ
+Can I convert Word documents to LaTeX?
Yes. Drop a .docx, select LaTeX output. Headings become \section{}, tables become tabular, and footnotes become \footnote{}. The result compiles with pdflatex or xelatex.
+Does it handle math?
Perfectly. If your source has LaTeX math (e.g. an HTML file with MathJax), Pandoc preserves the math environments. Word's equation editor maps to LaTeX math mode.
+Can I use this for academic papers?
Yes. Pandoc's LaTeX writer produces clean, compilable LaTeX with proper document structure. Add your own preamble and bibliography for publication-ready output.