EN

PDF Text Extractor

Extract text, metadata and per-page text from PDF URLs into plain text and simple Markdown.

Developer
30-day success rate
—
Last updated
2026-11-30

Overview

PDF Text Extractor downloads PDF files from their URLs and returns the text inside them. Alongside the full text it provides document metadata, page counts, optional per-page text and a simple Markdown rendering.

It suits teams building document search, feeding knowledge bases or summarizing research papers. No setup or API key is required; the text layer is read directly from each file.

Data notes

One record per PDF. Text comes from the PDF's embedded text layer, so image-only scanned pages return empty text and are not OCR'd. Password-protected and login-gated files are out of scope.

What the results look like

URLPage countWord countStatus
https://arxiv.org/pdf/1706.03762156000ok
https://example.com/report.pdf82400ok

Use cases

  • Index public research papers by their full text.
  • Convert report PDFs into Markdown for a wiki.
  • Count pages and words across a set of documents.

Input

Parameters required to call this App.

  • PDF URLsurlsRequiredarray<string>
    Direct URLs of the PDF files to process.
    Itemsup to 100 itemsExample["https://arxiv.org/pdf/1706.03762"]
  • Include full textincludeFullTextOptionalboolean
    Return the combined text of all selected pages.
    Defaulttrue
  • Include MarkdownincludeMarkdownOptionalboolean
    Return a simple Markdown rendering of the text.
    Defaulttrue
  • Include per-page textincludePerPageTextOptionalboolean
    Return text separately for each page.
    Defaultfalse
  • Page rangepageRangeOptionalstring
    Optional pages to extract, e.g. 1-5,8,12-. Empty means all pages.
    Default
  • Max PDF size (MB)maxPdfSizeMbOptionalinteger
    Skip files larger than this size.
    Range1–500Default100
  • Timeout (seconds)timeoutPerPdfSecsOptionalinteger
    Per-PDF download timeout in seconds.
    Range10–600Default150

Output

Field structure of a single record.

  • Record IDidstring
    PDF URL.
    Examplehttps://arxiv.org/pdf/1706.03762
  • URLurlstring
    PDF source URL.
    Examplehttps://arxiv.org/pdf/1706.03762
  • Statusstatusstring
    ok or error.
    Exampleok
  • Page countpageCountinteger
    Total pages in the PDF.
    Example15

Pricing

Per result

Charged by the number of records successfully returned. Failed runs are not charged.

$0.001/ record

Multiple billing events accumulate independently. See each item for details. Failed runs are not charged.

View credits

Run now

Runs once for real with the parameters you enter, billed per Pricing.

Input parameters

Integration

With MCP you can call this Data App directly from AI clients such as Claude and Cursor.

Already connected to Octoparse Data Hub? Use it right in your chat

No setup needed. Copy this sentence to your AI and continue with what you want to do:

Use the "bzy/pdf-text-extractor" Data App to: describe what you want this Data App to do.

Not connected yet? Set it up once with any method below, and every Data App works from then on.

Client config

Replace YOUR_API_KEY with your own API key; works with all clients, CI and headless environments.Get API key →

mcpServers config
{
  "mcpServers": {
    "octoparse_datahub": {
      "type": "http",
      "url": "https://mcp-v2.octoparse.com",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Let AI set it up for you

Don't want to edit configs by hand? Copy the install prompt and paste it into any AI client. It will complete the setup its own way. (By default it guides you through signing in, and never asks you to send your API key in the chat.)

Notes

Scope

Downloads each PDF URL and extracts its embedded text layer with pypdf. Scanned image-only PDFs without a text layer return empty text; OCR and password-protected files are out of scope.

Not suitable for

  • Scanned PDFs needing OCR
  • Password-protected PDFs
  • PDFs behind a login

Running and canceling

This App runs asynchronously and can be canceled midway; results returned before you cancel are kept and billed as usual.

Failure handling

When connected via MCP, the AI reads these notes automatically; when using the API or SDK, handle them in your code.

  1. 1A failed or oversized PDF returns an error record; other PDFs continue

FAQ

How is it billed?

Per record: $0.001 / record; failed runs are not billed.See Pricing →

How much can one run collect? Any limits?

Downloads each PDF URL and extracts its embedded text layer with pypdf. Scanned image-only PDFs without a text layer return empty text; OCR and password-protected files are out of scope.See Notes →

Can I use it in an AI assistant or agent?

Yes. Connect Octoparse Data Hub once and you can call every Data App by name in your chat, including bzy/pdf-text-extractor.See Integration →

$0.001 / record