ToolsBench

How to Convert Markdown to PDF (Free, No Install)

· 6 min read · Tools-Bench Learn

Markdown is easy to write and awkward to send. Anyone without a Markdown viewer opens a .md file as raw text full of # and ** marks, so when notes, a README or documentation have to be emailed, printed or attached, PDF is the format people expect.

There are three practical routes: a browser converter for the quick job, your editor's export for the file you already have open, and Pandoc when you need full control. Which one suits you depends mostly on what is in the document, and above all on whether it has tables and images.

The quick way: convert Markdown to PDF in your browser

Tools-Bench's Markdown to PDF converter needs no install and no account. Three steps:

  • Open Markdown to PDF and paste your Markdown, or click “Open a .md file” to load one from your device. The Sample button fills in a short document that shows what is supported.
  • Pick A4 or Letter, and a body text size between 9 and 14 pt. Heading sizes scale from the body size.
  • Click “Convert to PDF”. The finished PDF downloads straight away.

What carries over into the PDF

The converter typesets the document instead of printing its source, and the result is real text you can select, copy and search, not a picture of a page. These elements come through:

  • Headings from # to ######, in six sizes.
  • Bold, italic and bold italic text.
  • Inline code and fenced code blocks in a monospace font, with code blocks on a shaded background. Line breaks and indentation inside code are kept.
  • Bulleted and numbered lists, including nested lists.
  • Blockquotes, set as indented text.
  • Horizontal rules, drawn as a thin line.
  • Links: the link text is followed by its address in parentheses, so the destination survives on paper. The links themselves are not clickable in the PDF.

What doesn't carry over yet

Check your document for these before you convert:

  • Tables are not rendered yet. A table comes out as its raw source, pipes and all, run together into one paragraph. Rewrite a small table as a list, or use one of the other routes below for documents that depend on tables.
  • Images are not drawn. Each one is replaced by its alt text, so a README badge, which is usually an image inside a link, shows up as text such as “build (https://…)”.
  • Raw HTML in the Markdown is printed as text, tags included.
  • Strikethrough shows as plain text, and task lists lose their checkboxes: items become ordinary bullets, or show [ ] and [x] as text when the list has blank lines between items.
  • Code is not syntax-highlighted; it is set in one colour.
  • The PDF uses the standard PDF fonts (Helvetica for text, Courier for code), which cover Western European characters. Curly quotes and dashes become their plain equivalents, and characters outside that range, such as Chinese, Cyrillic or emoji, appear as “?”.
  • Margins are fixed at about 2 cm and there are no page numbers. If you need numbers, stamp them on afterwards with the Page Numbers tool.

Other ways to convert Markdown to PDF

When those limits get in the way, these routes handle more, at the cost of an install or a few extra steps:

  • Your editor. Typora (File → Export → PDF) and Obsidian (the “Export to PDF” command) export directly. VS Code has no built-in PDF export, but extensions such as Markdown PDF add one.
  • Print a rendered preview. Open the Markdown somewhere that renders it, such as your editor's preview or a README on GitHub, and use the browser's Print → Save as PDF. Tables and images come along, but so does any page layout around the content.
  • Pandoc. The command pandoc notes.md -o notes.pdf handles tables, images, footnotes and citations. It needs a PDF engine such as LaTeX installed, which is a large download, and custom styling means learning its templates.

Converting a README.md

READMEs are the most common case, and they lean on the two things the browser converter doesn't do yet: badges, which are images, and tables. If yours is mostly headings, text, lists and code, open the file and convert it; each badge shrinks to its alt text and link. If it has a table of options or a screenshot that matters, print GitHub's rendered view to PDF or use Pandoc instead.

Relative links such as docs/setup.md are printed exactly as written. They lead nowhere once the README is a PDF, so replace the ones readers will need with full URLs before you convert.

Why convert on your own device

Markdown files are often private: meeting notes, internal documentation, drafts that aren't ready to share. Many online converters upload the file to a server to process it. Tools-Bench reads the file and builds the PDF with JavaScript inside your browser tab, so the text is never sent anywhere, and there is nothing to sign up for and no watermark on the result.

Frequently asked questions

How do I convert Markdown to PDF for free?

Open a free browser converter such as Tools-Bench's Markdown to PDF, paste your Markdown or open the .md file, pick A4 or Letter and click “Convert to PDF”. There is nothing to install, no sign-up and no watermark, and the file is not uploaded.

Can I convert Markdown to PDF without Pandoc or LaTeX?

Yes. A browser converter, an editor's export (Typora, Obsidian) or printing a rendered preview all work without Pandoc. Pandoc earns its install when one document needs tables, images, footnotes and citations together.

Why does my table come out as a line of pipes?

The Tools-Bench converter doesn't render tables yet, so it prints the table's source as text. Rewrite a small table as a list, or use your editor's PDF export or Pandoc for documents that depend on tables.

Is the text in the PDF selectable and searchable?

Yes. The converter draws real text in standard PDF fonts, so you can select, copy and search it in any PDF reader.

Are links clickable in the PDF?

Not yet. Each link's address is printed in parentheses after the link text, so readers can still see where it leads, on screen or on paper.

Try it yourself