# Web page to Markdown — convert any URL to Markdown

**Use case:** 

Turn any public web page into clean, LLM-ready Markdown for RAG pipelines and AI agents. Handles JavaScript-rendered pages and returns ready-to-ingest text.

## Input

```json
{
  "urls": [
    "https://en.wikipedia.org/wiki/Retrieval-augmented_generation"
  ],
  "basic": "auto",
  "js": "auto",
  "stealth": "auto",
  "outputs": [
    "markdown"
  ],
  "runtime_budget_ms": 270000
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "realized_tier": {
    "label": "Realized tier",
    "format": "string"
  },
  "final_url": {
    "label": "Final URL",
    "format": "string"
  },
  "response_status": {
    "label": "HTTP response status",
    "format": "integer"
  },
  "attempted_tiers": {
    "label": "Attempted tiers",
    "format": "array"
  },
  "outputs": {
    "label": "Outputs",
    "format": "object"
  },
  "tier_errors": {
    "label": "Tier errors",
    "format": "object"
  },
  "reason": {
    "label": "Reason",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Smart Page Fetcher — HTML, Markdown & Text](https://apify.com/shelvick/smart-page-fetcher) with a specific input configuration. Visit the [Actor detail page](https://apify.com/shelvick/smart-page-fetcher) to learn more, explore other use cases, and run it yourself.