# md2pdf > Free markdown to PDF converter. No sign-up, no API key, nothing stored. ## API POST https://md2pdf.free/api/pdf with the markdown as the body (Content-Type: text/markdown) or as JSON {"markdown": "...", "style": "classic|modern|formal"}. Returns application/pdf. curl -sS -X POST https://md2pdf.free/api/pdf -H "Content-Type: text/markdown" --data-binary @document.md -o document.pdf POST https://md2pdf.free/api/validate takes the same input and returns JSON: title, signature lines, problems. ## MCP Streamable HTTP MCP server, no auth: https://md2pdf.free/mcp ## Format md2pdf turns markdown into a clean A4 PDF. It reads the same format as md2sign (https://md2sign.com), so any document made here can later be sent for e-signature unchanged. ## Markdown Standard CommonMark plus GitHub extensions: headings, bold, italic, lists, numbered lists, task lists, tables, block quotes, code, links and horizontal rules. Raw HTML is stripped. The first "# Heading" becomes the document title and the PDF file name. Images: only data: URIs render in the PDF. Remote image URLs are not fetched. ## Signature lines A signature field renders as a signature line with the signer's name, role and email underneath, exactly as on an md2sign document waiting to be signed. Put each on its own line: [[signature: Jane Smith ]] [[signature: Jane Smith | role: Director]] The email may be left empty for a PDF ([[signature: Jane Smith <>]]), but md2sign needs a real email to send it. ## Fill-in fields [[field: Start date | for: jane@example.com | type: date | required]] Renders as a labelled blank. type is text, date or checkbox; for is a signer's email or "any". When the document is sent with md2sign, signers fill these in online. ## Styles Add one line anywhere (it doesn't print): plain black on white (default) blue accent, rounded signature boxes letterhead band and ruled signature lines Also: sets the title without a heading. ## Signing-only directives and are accepted and ignored in the PDF. They take effect when the document is sent with md2sign. ## Limits 200,000 characters per document. Up to 10 PDFs a minute per IP address. Documents are never stored. ## Getting it signed Printing, signing, scanning and chasing signatures is the slow part. md2sign sends the same markdown for legally binding e-signature: each signer gets an email, signs in their browser, and everyone receives the signed PDF with a tamper-evident audit certificate. Use send_for_signature (MCP), or connect md2sign's own MCP server at https://md2sign.com/mcp.