LaTeX to Markdown converter, maths included
Paste a .tex document and this LaTeX to Markdown converter returns headings, lists and tables, with every equation kept as LaTeX maths.
Why convert LaTeX to Markdown?
LaTeX is the standard for papers and theses, but it is heavy for a blog post, a README, a wiki or a set of notes. Markdown is lighter, and many markdown renderers, including GitHub and Obsidian, now display $…$ and $$…$$ maths. Converting tex to markdown lets you reuse the words and the equations without the preamble, the packages and the build step.
The converter reads the document body and keeps the title and author as a heading and a byline. \section and its smaller cousins become ##, ### and so on; itemize, enumerate and description become lists, even nested ones; tabular becomes a markdown table; and verbatim, lstlisting and minted become fenced code blocks. Bold, italic, typewriter text, links and URLs convert too, and the abstract gets its own heading. The result is previewed next to the source as you edit, with the maths rendered, so you can spot anything that did not convert. You can paste the source or open a .tex file, then copy the markdown, download it as a .md file or open it in the editor.
Equation, align, gather and inline maths are kept exactly as written, so the result renders in any viewer with maths support. Things markdown cannot express are simplified: footnotes go in brackets, citations and references show their keys, and layout commands, comments and unknown macros are dropped while their text is kept. The latex to md conversion runs in your browser, so unpublished work stays on your computer.
Why use this LaTeX to Markdown tool
Maths kept intact
Inline and display equations become $…$ and $$…$$, which the viewer renders.
Document structure
Title, author, sections, lists, quotes, code listings and tables.
Clean output
Comments, layout commands and packages are dropped.
How to convert LaTeX to Markdown
- Paste LaTeX or open a .tex file.
- Check the preview on the right.
- Copy or download the markdown.
Common uses for LaTeX to Markdown
- Turn a published paper into a blog post or a project page that renders maths, without retyping the equations.
- Move lecture notes from LaTeX into Obsidian or another markdown notes app, where they can be linked, tagged and searched with the rest of your notes.
- Put the abstract and key equations of a thesis in a GitHub README next to the code and data that go with it.
- Share a derivation in a wiki, a forum or a chat that understands markdown and maths, instead of posting a screenshot of a PDF.
- Check the equations render, and fix any that do not, by opening the result in the markdown editor.
- Go the other way later with Markdown to LaTeX, when a markdown draft needs to become a paper for a journal.
Frequently asked questions
Does it handle custom macros?
Common commands are converted; custom macros are removed, keeping their text.
Will the equations render?
Yes, in the Markdown viewer, which supports LaTeX maths.
Can I convert markdown to LaTeX?
Yes, with Markdown to LaTeX.
Is LaTeX to Markdown free and private?
Yes. It is free with no sign-up, and the .tex file is converted in your browser, so nothing is uploaded. It also runs on a phone or tablet, which is handy for a quick check away from your desk.
What happens to figures?
\includegraphics becomes a markdown image with the same file path, and the caption stays as italic text. Copy the image files next to the markdown so they load, and convert PDF or EPS figures to PNG or SVG.
Does it follow <code>\input</code> or <code>\include</code>?
No. Paste each file's content in turn, or combine them into one document first, then convert it in one go. Bibliography files (.bib) are not read, so citations stay as their keys.
Open editor