MD to PDF Converter

Add a Markdown .md file and get a PDF back. Tables and links carry over; maths and images do not.

To convert md to pdf, add your .md or .markdown file, keep PDF as the output format and download the result. In our test, a 1.4 KB Markdown file became a 2-page A4 pdf of 21.9 KB in 8 seconds, with tables and links intact but maths formulas and images left out.

Transfers use HTTPS, and files converted on the free tier are deleted after 24 hours, so the result is not a long-term archive. Quality depends on the source file, so open the PDF file once before you share it.

Need more PDF options? Open the PDF Converter hub.

FromMDLossless

MD (Markdown)

A plain-text file where headings, lists, links, tables and code are marked with ordinary punctuation such as # and *. It has no page size, fonts or page breaks, so a reader or converter decides how it looks. Markdown is a family of dialects rather than one standard: CommonMark and GitHub Flavored Markdown are the best known.

ToPDFLossless

PDF (Portable Document Format)

A fixed-layout document format published as ISO 32000. Each page records the exact position of every character, image and line, usually with the fonts embedded, so it displays and prints identically in any reader and is awkward to edit.

A 1.4 KB Markdown file of our own with tables, a code block, maths, links and images, converted on indox.org

MDthe original, 1,418 bytes
1.4 KB
PDFfrom indox, 2 pages, A4, fonts embedded
21.9 KB
The wide table and code block as written in the Markdown source, in a plain text editor
The same wide table and code block in the PDF made by indox, with the code lines run together
Measured on indox.org on 4 November 2026: the Markdown file we uploaded and the PDF we downloaded. Drag the handle to compare the same content, the wide table and code block as written in the source against how they look in the PDF.

Why use indox to convert MD to PDF?

Reads .md and .markdown files

Both extensions are accepted. In our test the two copies of the same file gave PDFs with identical text, so you do not need to rename anything.

Nothing to install, no terminal

Many Markdown to PDF tools are command-line packages or editor plugins. This one runs in the browser on Windows, Mac, Linux, a Chromebook or a phone, so you can print or share your notes without setting anything up.

Fonts are embedded and the text stays selectable

All 5 fonts in our test PDF were embedded, and the text could be selected and searched. Links in the Markdown became clickable links in the PDF.

A PDF that looks the same on every device

Markdown has no page size or fonts, so each viewer draws it differently. The PDF fixes the layout on A4 pages, which suits printing, email and archives.

No sign-in needed in our run

We ran the conversion anonymously, without an account, and saw no paywall or limit message. The page showed a cost of 7 credits per conversion.

What happens to your Markdown file

Stays

  • Your original .md file, which is not touched
  • Headings, nested lists and links, with the links clickable
  • Table content, as text in cells
  • Selectable, searchable text

Changes

  • Layout: the text is set on A4 pages, 2 pages in our test
  • Code: monospace font stays, line breaks are lost
  • Maths: formulas show as literal text
  • Images: omitted, alt text printed instead
  • File size: 1.4 KB became 21.9 KB because fonts are embedded

How do I convert MD to PDF online?

  1. 1

    Add your Markdown file

    Drop the .md or .markdown file on the box or choose it from your device. Keep the original: it is your editable source, and a PDF cannot be turned back into clean Markdown.

  2. 2

    Confirm PDF, then start the conversion

    Check that PDF is the output format and start the conversion. In our test it took 8 seconds from the click to Completed for a small file.

  3. 3

    Download the PDF and read it through

    Open the PDF before you send it. Check tables, code blocks and any formula or image you expected, because those are the parts that can differ from your source.

What do I get from indox's MD to PDF converter?

You hand over a Markdown file and take away an A4 PDF with selectable text, working links and embedded fonts. The page says in advance what the PDF will drop, so you can decide before converting whether it fits your document.

  • A PDF from your .md file in a few clicks, with no account in our run
  • Nothing to install on Windows, Mac or a phone
  • What is lost is listed up front: maths, images, code line breaks
  • Your original Markdown file is left as it was
The indox MD to PDF converter: drop a Markdown file or choose one to convert it to PDF

What are the limits for MD to PDF?

Size

The upload box shows the live size limit before you add a file. Signing in raises it; a paid plan does not change it.

Formats

MD in, PDF out. Pick another output on the converter if you need a different format.

Privacy

Files are encrypted in transit over HTTPS and processed on indox infrastructure.

Deletion

Free-tier files are kept for 24 hours after the job finishes, then deleted automatically.

Limits worth knowing

  • Maths formulas are not rendered. Inline and display formulas come out as the raw characters you typed. If your notes depend on equations, this converter is not the right route.
  • Images are omitted, whether they are linked from a web address or embedded in the file. Only the alt text is printed. If a picture matters, add it to the PDF another way.
  • Code blocks lose their line breaks. Indentation and blank lines inside a fenced block are not kept, so source code with meaningful layout becomes hard to read.
  • You cannot choose a page size, font, margins or style sheet. We saw no such options, and the result in our test was A4 with a serif body font.
  • Front matter at the top of the file is printed as text. Remove it before converting if you do not want it on page one.
  • We tested one small file of our own. Behaviour on large files, unusual Markdown dialects or many documents at once was not measured, and we did not measure a size limit.

When the result is not what you expected

What you seeWhyWhat to do
Formulas show as $...$ textNo maths renderer ran in our testUse a tool that renders TeX, or paste a picture of the formula into the final document
A picture is missingImages are omitted and only alt text is printedAdd the picture to the PDF with another tool
Code is one block of run-together linesLine breaks in fenced code were not keptKeep code short, or share the code as a text file
A block of settings appears on page oneFront matter is printed as textDelete the front matter block and convert again
[x] or ~~text~~ appear literallyTask lists and strikethrough are not drawnReword the lines before converting
You need a layout from HTML insteadThis route has no style optionsTry HTML to PDF if you can export HTML first

What do the free and paid plans add?

Free

  • All converters
  • Daily credit refresh
  • Email support

Basic

  • Access to all features
  • AI Extract
  • Priority conversions
  • Email support
Highest priority

Premium

  • Everything in Basic
  • Highest priority queue
  • Priority support

Pay-As-You-Go

  • No subscription
  • Credits never expire
  • Opt-in auto-refill
  • Access to all features
See prices
Related conversionsHTML to PDF

MD vs PDF: what is the difference?

Compared onMDPDF
LayoutNone. The reader decides fonts and widthFixed pages, here A4 with embedded fonts
EditingAny text editorNeeds a PDF editor, and text may reflow badly
StructureHeadings, lists and tables marked with punctuationDrawn content; the structure is not marked up in our untagged output
Images and mathsLinked or written as formulasNeither was drawn in our test
Typical useNotes, READMEs, draftsPrinting, sending and archiving

Who can use a MD to PDF converter?

  • People who keep notes in Markdown

    Notes from a text editor or an app that exports .md are awkward to hand to someone who has no Markdown viewer. A PDF opens anywhere and prints cleanly.

  • Developers sharing a README or docs

    A README is easy to read on a code host but not in an email. A PDF of it reaches colleagues who do not use one, as long as the page has no diagrams or formulas that matter.

  • Anyone holding AI-assistant output

    Chat tools often give answers as Markdown with headings, lists and tables. Converting the saved .md file gives a document you can attach or print.

  • Students and writers without a terminal

    Command-line converters need installing and configuring. Uploading a file in the browser avoids that, though it also means you cannot style the result.

When to use it

  • Printing meeting notes or a checklist written in Markdown.
  • Emailing a README or project document to someone who cannot open .md files.
  • Saving an AI-generated report with headings and tables as a fixed document.
  • Archiving a note as a PDF that keeps its links clickable.

Where can I read more about converting files?

Sources

Facts checked on November 4, 2026

Do it all with indox

View all 94 tools

MD to PDF FAQs

How do I convert MD to PDF?

Open the converter, add your .md or .markdown file, keep PDF as the output and download the result. There is nothing to install.

What is an .md file?

It is a plain-text file where headings, lists, links, tables and code are marked with punctuation such as # and *. It has no page size or fonts, so the program that opens it decides how it looks.

Does the PDF keep tables and links?

Yes. In our test a 3-column table and a 9-column table both appeared as text cells without ruling lines, with the wide table wrapped to fit the page. A link in the source became a clickable link in the PDF.

Why are my formulas and images missing?

The converter did not render maths or images in our run. Formulas appear as the raw text you typed, and pictures are replaced by their alt text. Use a different route if you need either.

Why did my code block become one paragraph?

Line breaks inside a fenced code block were not kept in our test. The monospace font stayed, but the lines ran together and wrapped. Long lines wrapped instead of being cut off.

Does .markdown work the same as .md?

In our test, the same file saved with each extension gave PDFs with identical text. Both are accepted.

Which Markdown flavour is read?

Markdown is a family of dialects, and RFC 7763 says so. CommonMark and GitHub Flavored Markdown are the best known. We did not test every dialect, but tables, nested lists and links in our sample were read as expected.

Is it free and do I need an account?

In our run we converted anonymously and saw no sign-in prompt or paywall. The page showed a cost of 7 credits per conversion and said files on the free tier are deleted after 24 hours. Check the page for current terms before relying on either.

Can I convert Markdown from ChatGPT, Claude, Obsidian or GitHub?

If you save the text as a .md file, you can add it like any other. Check formulas, images and code blocks afterwards, since those are the parts that did not carry over in our test.