Is there a free tool to convert Markdown to PDF?

Yes. TigZig's Markdown to PDF turns Markdown into a formatted PDF, available two ways: as an MCP tool call or as an open HTTP API. The typical flow for an AI agent is: write a report in Markdown, call the tool, and get back a URL to the rendered PDF. It is built with FastAPI + ReportLab.

There is also a browser editor for humans at https://www.tigzig.com/mdtopdf, and the API docs, with a working curl, are at https://www.tigzig.com/apis/md-to-pdf.

Latest changes, November 2026. Since the November 2026 upgrade the service also takes callers from edge functions and Workers, where bundling a conversion library is awkward and a URL call is simpler: send one POST with a content field to https://mdtopdf.tigzig.com/v1/convert/text and the PDF comes back in the response. Polish, Czech, Turkish, Romanian, Hungarian and Vietnamese letters come out properly, and pasted HTML keeps its text and loses its tags. A page break is :::pagebreak::: on a line by itself, and page_size=letter gives US Letter (the default is A4). A .txt upload keeps single line breaks, and a .md file follows standard Markdown rules, where one newline is a space, so if lines join up that is the reason. The GET form puts the document in the address and holds about 10,000 characters of prose or 7,000 of tables, so use POST for anything longer, and write a literal plus sign as %2B because a bare + becomes a space. The PDF has one fixed style: a pasted styled web page gives its text in that style, with no colours or layout from the page. One address can send 60 requests a minute, and each response has X-RateLimit headers showing what is left. Release note: https://www.tigzig.com/post/md-to-pdf-api-upgrade-edge-functions-nov2026.

The code is open source: the API is at https://github.com/amararun/shared-markdown-to-pdf, the MCP server at https://github.com/amararun/shared-mcp-markdown-to-pdf, and a focused ReportLab example at https://github.com/amararun/shared-reportlab-md-to-pdf.

Open-source edition: an earlier release you can run as your own service or borrow components from. Treat it as a reference implementation rather than a mirror of what is running here - the hosted service has moved on since.

Building something like this? How I work covers the rates, the availability and what I take on.

← All TigZig FAQ