Pandoc or a browser converter: which one fits your Markdown file

6 min read

A woman and a man at a wooden desk looking at an open notebook, with a laptop and a mug beside them

If you have many files, a company template, or a build script, use Pandoc. If you have one answer from a chat and want a Word file in a minute, a browser converter is quicker. Opening the Markdown file in Word itself is the one route that does not convert it: we tried.

Here is how each one behaves, and what we did and did not test.

What we tested, and what we did not

We tested two of the routes on November 29, 2026, in Word 16.0 (build 16.0.20625) on Windows: opening the file in Word, and our own converter. We did not install or run Pandoc for this post. Everything about Pandoc below comes from its manual, read on November 29, 2026, and we say “per the manual” where it matters. Google Docs needs a Google account, so we only describe what Google’s help page says.

The test file was the worked example from our converter page: a heading, a sentence with a LaTeX formula and bold and italic words, a table of three rows, and a two-item numbered list.

Route 1: open the .md file in Word

Word opened the file without complaint, as plain text. It used the “Plain Text” style, made 16 paragraphs, and found no table and no equation. Every ##, **, |---| and backslash was still on the page. If you paste the text instead, the paragraphs are in the Normal style and the symbols are still there. Word is a good place to finish a document, but it does not read Markdown on opening or pasting.

Route 2: Pandoc

Pandoc is a command-line program that converts between many document formats. Per its manual:

  • You give it an input file and an output file, and if you do not name the formats it guesses them from the file names. The manual’s own example is pandoc -o hello.tex hello.txt, which converts Markdown to LaTeX. Following that pattern, a command for a Word file would look like pandoc -o answer.docx answer.md. We did not run it, so check it against the manual before you rely on it.
  • For Word and PowerPoint output, the manual says math is rendered using OMML, Word’s own equation markup. That points to equations coming out as equations, which we have not seen with our own eyes.
  • Its Markdown reads dollar-sign math with a clear rule: the opening dollar sign needs a non-space character right after it, and the closing one needs a non-space character right before it and no digit after it. The manual notes that “$20,000 and $30,000” is therefore not math.
  • The forms \( ... \) and \[ ... \] belong to one extension, tex_math_single_backslash, which the manual lists among the extensions that are not enabled by default. You add it to the format name, as in -f markdown+tex_math_single_backslash. The manual warns that this extension means ( and [ can no longer be escaped. Chat answers can use the \( \) form, so it is a setting to check.
  • --reference-doc takes a Word file whose styles and document properties, including margins, page size, header and footer, are used in the output. The manual shows how to start from Pandoc’s default: pandoc -o custom-reference.docx --print-default-data-file reference.docx, then change the styles in Word.
  • The Authors section of the manual says Pandoc is released under the GPL, version 2 or greater.

The reference document is the main reason to prefer Pandoc. A company template, a thesis format or a fixed set of heading styles is a one-time job, and then every file follows it.

The costs are an install, a command line, and a learning step. We cannot tell you how it handles a pasted chat answer, because we did not run it.

Route 3: a browser converter

Our Markdown to Word converter runs in your browser. You paste the answer or open a .md file, look at the preview, choose Letter or A4, and download a .docx. For the test file it gave one Heading 2, a Word table with a header row and three rows of data, a numbered list, and the formula as a Word equation that can be edited. We opened the result in Word and counted each of them.

We also watched its network traffic in Chrome, Edge and Firefox: after the page loads it makes no request, so the text never leaves the browser. In Chrome and Edge it also kept working with the connection switched off.

What it cannot do:

  • No templates. It writes fixed Word styles: Calibri 11, built-in heading and list styles, and a code style named Code Block. You can change those styles in Word afterward, but you cannot give it a template.
  • No pictures. It writes the picture’s description text instead of the picture. Our automatic tests check that no picture is added.
  • One text at a time. There is no batch run, and it stops at 1 million characters.
  • No Google Docs test. We have not opened its files in Docs.

Route 4: Google Docs

Per Google’s help page, Docs has an Enable Markdown setting under Tools, Preferences, a Paste from Markdown command in the right-click menu, and a way to open an uploaded .md file as a Doc. It lists headings, italic, bold, strikethrough and links. If your destination is Docs, read our steps for ChatGPT to Google Docs. Google also says Docs can edit and convert Word files.

Side by side

Word, opening the .mdPandocBrowser converterGoogle Docs
InstallNoneA programNoneA Google account
Reads MarkdownNo (tested)Yes, per the manualYes (tested)Yes, per Google’s page
Equations as equationsNo (tested)OMML, per the manual; not run by usYes, checked in WordNot covered by Google’s page
TablesNo (tested)Per the manual, tables are part of its MarkdownYes (tested)Not covered by Google’s page
Template or page sizen/aReference document, per the manualLetter or A4 onlyNot tested
Many files at onceNoA command you can put in a script, per the manualNoNo
CostYour Word licenseFree, GPLFreeFree with an account

Which to pick

  • One answer, now, no install: the browser converter, or Docs if you live there.
  • Ten reports a week with a house style: Pandoc with a reference document. Test it once on your own files.
  • A paper with citations and a template: check the Pandoc manual first. It has sections we did not read for this post.
  • A short note with a few **: Find and Replace in Word can do it. See our guide to ChatGPT text in Word.
  • Equations that must be right: whichever route you use, check each one against a number you can calculate. Our equation checklist shows how.

Sources

All checked on November 29, 2026.