Skip to content
Document tools

DOCX to LaTeX Converter

Turn a Word document into LaTeX source, with equations, tables and footnotes converted.

Convert your document

Converted on our server
This conversion runs on our server. Your file is sent over HTTPS, converted with Pandoc and deleted as soon as the result comes back to you. We never keep a copy.
Free tool · No account needed

How it works

  1. Choose a .docx fileDrop in a Word document up to 20 MB.
  2. Agree and convertConfirm the upload and press Convert.
  3. Copy or downloadCopy the LaTeX from the page, or download the .tex file (a ZIP when there are images).

Supported formats

Any of these can be converted into any other. Old .doc files and PDFs are not supported.

DOCXODTRTFEPUBHTMLMDTXTTEXRSTADOCORGWIKI

About this tool

Moving a paper from Word to LaTeX by hand takes hours, especially the equations. This converter turns a .docx file into a complete .tex document: headings become \section commands, Word equations become LaTeX maths, and tables, lists, footnotes, links and images are converted too.

When the document has images, you get a ZIP with the .tex file and a media folder, which you can upload to Overleaf as it is. Expect to move the content into your journal's template and to check citations and cross-references. The conversion runs on our server with Pandoc after you agree to the upload, and your file is deleted as soon as the result is ready.

Questions people ask

Are Word equations converted?
Yes. Equations made with Word's equation editor become LaTeX maths, inline or displayed. Equations pasted in as pictures stay images.
Will it compile?
The .tex file is a complete document with the usual packages loaded, so it should compile on Overleaf or TeX Live as it is. Most people then move the content into their own template.
What happens to images?
They are saved in a media folder next to the .tex file, and both come in one ZIP. Upload the whole folder to Overleaf so the figures are found.
Good to know

Before you move to Overleaf

Use the equation editor

Only equations made with Word's equation editor become LaTeX maths. Equations pasted in as pictures stay images, so retype those.

Special characters are escaped

Characters such as %, & and _ are escaped for LaTeX automatically. Look over code samples, which LaTeX sets differently.

Move it into your template

The file uses a plain article layout. Copy everything between \begin{document} and \end{document} into your journal's template.

Know your formats

DOCX vs LaTeX

DOCX and LaTeX compared
DOCXLaTeX
Full nameMicrosoft Word document (Office Open XML)LaTeX typesetting source (.tex)
Formatting it keepsEverything: styles, fonts, tables, images, headers, comments and page layoutSections, maths, tables, figures, footnotes and citations, written as commands
Best forDocuments people edit, review and send by emailAcademic papers, theses and journals that ask for LaTeX
Works withWord, Google Docs, LibreOffice, Pages and most upload formsOverleaf, TeX Live, MiKTeX and any text editor