# Convert a Wikipedia Article to Markdown

**Use case:** 

Any Wikipedia article as clean Markdown for notes, prompts or datasets — references and page chrome stripped.

## Input

```json
{
  "urls": [
    "https://en.wikipedia.org/wiki/Artificial_intelligence"
  ],
  "outputFormat": "markdown",
  "onlyMainContent": true,
  "jsRendering": true,
  "includeLinks": true,
  "crawl": false,
  "maxPages": 10,
  "maxDepth": 1,
  "sameDomainOnly": true,
  "respectRobotsTxt": true,
  "useSitemap": false,
  "includeUrlPatterns": [],
  "excludeUrlPatterns": [],
  "maxConcurrency": 5,
  "removeSelectors": [],
  "waitUntil": "load",
  "timeoutMs": 45000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "wordCount": {
    "label": "Words",
    "format": "number"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "markdown": {
    "label": "Markdown",
    "format": "text"
  }
}
```

## About this Actor

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