# Markdown to PDF

- Human page: https://happytails.ai/en/document-tools/markdown-to-pdf/
- Markdown: https://happytails.ai/en/document-tools/markdown-to-pdf.md
- Structured JSON: https://happytails.ai/agents/en/document-tools/markdown-to-pdf/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `markdown-to-pdf` |
| Category | document-tools |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Use the visible action or interactive controls. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Readable plain-text PDF from Markdown. It does not reproduce rich layout, linked images or styled tables.

### Inputs and settings

Text input: Your text.

Example or placeholder shown in the interface (not a validated fixture):

```text
Type or paste your input…
```

Up to 1,000,000 characters. Review the settings before running.

No additional settings are declared for this tool.

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Render defined Markdown dialect with print CSS, fonts and page breaks; sanitize HTML.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "markdown-to-pdf",
  "category": "document-tools",
  "built": true,
  "requirements": "Render defined Markdown dialect with print CSS, fonts and page breaks; sanitize HTML.",
  "implementation": {
    "fields": [],
    "note": "Readable plain-text PDF from Markdown. It does not reproduce rich layout, linked images or styled tables.",
    "experience": {
      "automatic": false,
      "single": false,
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Up to 1,000,000 characters. Review the settings before running.",
      "action": null
    },
    "mode": "explicit",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}
```

## Page guide

Render defined Markdown dialect with print CSS, fonts and page breaks.

## Useful next steps

- [Markdown to HTML](https://happytails.ai/en/text-tools/markdown-to-html/): Convert Markdown into HTML source. ([Markdown](https://happytails.ai/en/text-tools/markdown-to-html.md))

- [DOCX to PDF](https://happytails.ai/en/document-tools/docx-to-pdf/): Convert DOCX files to PDF with the available format settings. ([Markdown](https://happytails.ai/en/document-tools/docx-to-pdf.md))

- [Merge PDF](https://happytails.ai/en/pdf-tools/merge-pdf/): Combine PDF files into one document. ([Markdown](https://happytails.ai/en/pdf-tools/merge-pdf.md))

## How to use Markdown to PDF

1. Enter your text in the input field.
2. Review the settings, then choose Run Markdown to PDF.
3. Review the result, then use Copy result or a download link when available.

## Working with markdown to pdf

Documents contain more than visible words: headings, tables, page order and embedded images affect how people read them. A conversion into plain text or Markdown can simplify reuse while losing some of the original layout.

## Common questions

### Can a document summary replace the original?

A summary omits information by design. Use source references to verify important statements and return to the full document for qualifications, definitions or exceptions.

### Why should extracted tables be checked?

Merged cells, decimal separators, missing headers and reading-order errors can put correct-looking values in the wrong column. Keep a preview linked to the original so those errors are easy to correct.

Continue your workflow: [Markdown to HTML](https://happytails.ai/en/text-tools/markdown-to-html/), [DOCX to PDF](https://happytails.ai/en/document-tools/docx-to-pdf/), [Merge PDF](https://happytails.ai/en/pdf-tools/merge-pdf/).
