Markdown to LaTeX
Convert Markdown into LaTeX source ready to compile.
Markdown to LaTeX
Paste Markdown and this tool returns LaTeX source you can drop straight into a .tex file. Headings become \section, \subsection and deeper sectioning commands, bold and italic become \textbf and \emph, unordered and ordered lists become itemize and enumerate environments, links become \href, images become \includegraphics, and pipe tables become tabular blocks with hlines between rows. It is built for the everyday case of turning a README or a set of notes into a starting point for a paper or report, not for reproducing every corner of the Markdown or LaTeX specifications.
Choose a document class — article, report or beamer — and the output is wrapped in a full preamble with \documentclass, \usepackage lines and \begin{document}/\end{document}, ready to compile as-is. Pick "Fragment" instead to get just the converted body, for pasting into a document you already have set up. The code package option controls how fenced code blocks are rendered: plain verbatim needs no extra package, listings adds syntax-aware \usepackage{listings} with the fence's language tag, and minted targets the Pygments-backed minted package for the same effect with nicer highlighting.
Text between $…$ is always left untouched, so existing inline math survives the conversion exactly as written — it is never escaped or mistaken for Markdown syntax. Everywhere else, the "Escape special characters" option controls whether the ten characters LaTeX reserves for markup — & % $ # _ { } ~ ^ and the backslash — are turned into their safe LaTeX equivalents. Leave it on for prose pulled from anywhere; turn it off only if your input is already valid LaTeX-safe text and you want it passed through untouched.
Everything runs locally in your browser — nothing you paste is uploaded anywhere. Copy the result, download it as a .txt file, or send it straight into another tool to keep working on it.