# Web Article Extractor — Clean Reader Mode Text & Metadata (`maged120/reader-mode`) Actor

Deprecated: moved into Web Page to Markdown Pro (maged120/url-to-markdown-pro), reader mode. Same inputs and results, no browser needed.

- **URL**: https://apify.com/maged120/reader-mode.md
- **Developed by:** [Maged](https://apify.com/maged120) (community)
- **Categories:** Automation, Developer tools
- **Security:** Limited permissions
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Web Article Extractor do?

**Web Article Extractor** turns any web page into **clean, readable text**, like your browser's reader mode. It strips menus, ads and clutter and keeps the headings, paragraphs and lists **in their original order**. Choose **plain text, Markdown or HTML** output, which makes it ideal for **AI/LLM pipelines**, summarization, translation and content archiving.

It runs on the Apify platform, so you can process many URLs in one run, call it through the API, schedule it, and send the results to Google Sheets, Zapier, Make or your own app.

### Why use Web Article Extractor?

- **LLM and RAG input**: get clean Markdown to feed ChatGPT, Claude or a vector database, without HTML noise.
- **Summarization and translation**: extract the text first, then process only the content that matters.
- **Content research**: collect competitor articles, blog posts and documentation as text.
- **Archiving and offline reading**: save articles as clean text or simple HTML.
- **Works on modern sites**: pages are loaded like a real visitor, so JavaScript-rendered content is captured.

### How to extract article text from a URL

1. Click **Try for free** (or **Start**).
2. Paste a **Page URL**, or several under **Page URLs**.
3. Choose the **Output format**: Plain text, Markdown or HTML.
4. Click **Start** and download the results as JSON, CSV or Excel.

### Input

| Field | Description |
|---|---|
| **Page URL** | A single page to extract |
| **Page URLs** | Several pages, one per line (each becomes one result) |
| **Output format** | `plain`, `markdown` or `html` |

```json
{
    "target_urls": [
        "https://jamesclear.com/five-step-creative-process",
        "https://en.wikipedia.org/wiki/Web_scraping"
    ],
    "output_format": "markdown"
}
```

### Output

Each page is one row. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

```json
{
    "url": "https://jamesclear.com/five-step-creative-process",
    "title": "The 5-Step Creative Process",
    "content": "# The 5-Step Creative Process\n\nIn 1940, an advertising executive named James Webb Young...",
    "format": "markdown",
    "wordCount": 1534,
    "headings": ["The 5-Step Creative Process", "Step 1: Gather new material"],
    "error": null,
    "scrapedAt": "2026-10-02T09:00:00+00:00"
}
```

#### Data fields

| Field | Description |
|---|---|
| `url` | The page that was read |
| `title` | Page title |
| `content` | Clean article content in the chosen format |
| `format` | Output format used |
| `wordCount` | Number of words extracted |
| `headings` | The page's headings, in order (handy as an outline) |
| `error` | Why a page could not be read, if it failed |

### How many results will I get?

You're charged per result, so the cost follows the number of rows below. Your plan's rates are on the **Pricing** tab.

| Input | Results |
|---|---|
| 1 URL | 1 row |
| 100 URLs | 100 rows |

### Tips

- **Use Markdown for AI.** It keeps the structure (headings, lists) that helps language models understand the text.
- **Check `wordCount`.** A very low count usually means the page is a login wall, a paywall or mostly images.
- **Whole-site conversion:** to convert entire websites to Markdown, see [Web Page to Markdown Converter Pro](https://apify.com/maged120/url-to-markdown-pro).

### FAQ

**Does it work on paywalled pages?**
It reads what a normal visitor sees. Content hidden behind a login or paywall isn't available.

**Are images included?**
No. The output is text-focused. Use [Website Image Scraper](https://apify.com/maged120/get-images) to collect images.

**Found a bug or need a custom solution?**
Open an issue in the **Issues** tab. Custom versions are available on request.

***

⭐ **Found this Actor useful?** A quick review on the Store helps other users find it and keeps it maintained.

# Actor input Schema

## `target_url` (type: `string`):

A single article or page to extract. Use Page URLs below for several pages.

## `target_urls` (type: `array`):

Optional. Several article or page URLs, one per line. Each page becomes one result.

## `output_format` (type: `string`):

plain = clean text, markdown = headings and lists kept (great for AI/LLM input), html = simple clean HTML.

## Actor input object example

```json
{
  "target_url": "https://jamesclear.com/five-step-creative-process",
  "output_format": "plain"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "target_url": "https://jamesclear.com/five-step-creative-process"
};

// Run the Actor and wait for it to finish
const run = await client.actor("maged120/reader-mode").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "target_url": "https://jamesclear.com/five-step-creative-process" }

# Run the Actor and wait for it to finish
run = client.actor("maged120/reader-mode").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "target_url": "https://jamesclear.com/five-step-creative-process"
}' |
apify call maged120/reader-mode --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maged120/reader-mode"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1N8xzy3S74bhRAHKM/builds/3VLPhAaxVaqYIibX0/openapi.json
