Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Markdown to PDF

  • Free
  • Runs in your browser
  • No account needed

Convert pasted or uploaded Markdown into a PDF in your browser. It keeps selectable text for headings, lists, tables, links and code. Set Letter or A4, margins and text size before downloading.

Your text stays on this device.

Headings, paragraphs, bold, italic, inline code, code blocks, links, lists, task lists, quotes, tables and rules are laid out with standard fonts. Images are kept only when they are written into the file as data: URLs.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About Markdown to PDF

FreeToolr Markdown to PDF turns GitHub style Markdown into a PDF with real, selectable text. Use it for README files, project notes, study guides, reports, technical documents and AI-generated Markdown. Paste your content or choose a local Markdown file, set the page size, margins and text size, then download the result. The PDF can include headings, paragraphs, bold and italic text, inline code, code blocks, links, lists, quotes, tables and horizontal rules. Images remain in the document only when they use data URLs. The tool runs in your browser, so your Markdown and files are never uploaded. The finished PDF downloads straight to your device. Standard PDF fonts cover Western European letters only, so some other writing systems may not display as expected.

How to use it

  1. 1Paste your Markdown or select a local Markdown file.
  2. 2Set the page size, margins and text size.
  3. 3Check headings, lists, tables, links, quotes and code in the result.
  4. 4Download the PDF to your device.
Advertisement

Worked example

Input: ## Weekly plan Finish the **report** by Friday. 1. Review the data 2. Send the draft With A4 paper, 20 mm margins and 12 pt text, the result is a PDF containing the heading, bold text, numbered list and selectable body text.

How it works

Markdown source to Markdown parser to document AST or HTML to CSS, template or theme to pagination and layout engine to PDF objects, fonts and images to PDF file Conceptual process: parse(markdown, dialect) gives document_astrender(document_ast, theme, CSS, page_size, margins) gives html_or_layoutpaginate_and_write(html_or_layout, page_size, fonts, images, page_break_rules, metadata) gives pdfsave(pdf)

Source: CommonMark specificationGitHub Flavored Markdown specificationISO PDF 2.0 standard. Last checked 4 November 2026.

What it is good for

  • Keeps PDF text selectable and searchable.
  • Runs locally in your browser with no upload.
  • Supports common GitHub style Markdown elements.
  • Images are kept only when embedded as data URLs.
  • Standard PDF fonts cover Western European letters only.
Advertisement

Questions people ask

How do I convert Markdown to PDF?

Paste your Markdown or choose a local .md file. Set the page size, margins and text size, then download the PDF.

Is my Markdown uploaded?

No. FreeToolr runs this conversion in your browser. Your Markdown and selected file stay on your device, and the result downloads directly.

Is the PDF text selectable?

Yes. The tool creates real PDF text rather than a screenshot. You can select and search headings, paragraphs, lists, tables, links and code.

Can I convert a GitHub README?

Yes. Paste the README Markdown or select its local file. GitHub style elements such as tables, task lists, quotes and fenced code are supported.

Should I choose A4 or US Letter?

Choose US Letter for most documents in the United States. Choose A4 for the UK, Europe, Nigeria and Gulf markets, unless a recipient requests another size.

Can Markdown images appear in the PDF?

Images are kept only when they are embedded as data URLs. Relative file paths and ordinary remote image links are not promised to appear.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement