# Convert a PDF to Markdown for Notion

**Use case:** 

Turn PDFs into Markdown you can paste or import into Notion — clean headings and lists, no layout junk.

## Input

```json
{
  "fileUrls": [
    "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
  ],
  "outputFormat": "markdown",
  "pageMarkers": false,
  "maxPagesPerDoc": 500,
  "timeoutSecs": 60
}
```

## Output

```json
{
  "url": {
    "label": "Document",
    "format": "text"
  },
  "fileType": {
    "label": "Type",
    "format": "text"
  },
  "pages": {
    "label": "Pages",
    "format": "number"
  },
  "wordCount": {
    "label": "Words",
    "format": "number"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "markdown": {
    "label": "Markdown",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [PDF & DOCX to Markdown — Document Extractor for LLM/RAG](https://apify.com/fetchbase/document-to-markdown) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fetchbase/document-to-markdown) to learn more, explore other use cases, and run it yourself.