JP

PDF Text Extractor

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

開発者
過去 30 日間の成功率
—
最終更新
2026-11-30

概要

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.

入力

この App の呼び出しに必要なパラメータです。

  • PDF URLsurls必須array<string>
    Direct URLs of the PDF files to process.
    件数最大 100 件例["https://arxiv.org/pdf/1706.03762"]
  • Include full textincludeFullText任意boolean
    Return the combined text of all selected pages.
    デフォルトtrue
  • Include MarkdownincludeMarkdown任意boolean
    Return a simple Markdown rendering of the text.
    デフォルトtrue
  • Include per-page textincludePerPageText任意boolean
    Return text separately for each page.
    デフォルトfalse
  • Page rangepageRange任意string
    Optional pages to extract, e.g. 1-5,8,12-. Empty means all pages.
    デフォルト
  • Max PDF size (MB)maxPdfSizeMb任意integer
    Skip files larger than this size.
    範囲1–500デフォルト100
  • Timeout (seconds)timeoutPerPdfSecs任意integer
    Per-PDF download timeout in seconds.
    範囲10–600デフォルト150

出力

1 件のレコードのフィールド構成です。

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

料金

Per result

正常に返されたレコードの件数に応じて課金されます。失敗した実行には課金されません。

$0.001/ 件

複数の課金イベントはそれぞれ独立して累計されます。詳細は各項目をご覧ください。失敗した実行には課金されません。

Credits を確認

今すぐ実行

入力したパラメータで実際に 1 回実行し、料金に従って課金されます。

入力パラメータ

連携方法

MCP を使えば、Claude や Cursor などの AI クライアントからこの Data App を直接呼び出せます。

Octoparse Data Hub に接続済みですか?チャットでそのまま使えます

追加の設定は不要です。次の一文をコピーして AI に送り、続けてやりたいことを書いてください:

「bzy/pdf-text-extractor」という Data App を使って、この Data App でやりたいことをここに書いてください。

まだ接続していませんか?以下のいずれかの方法で一度設定すれば、以降はすべての Data App をそのまま使えます。

クライアント設定

YOUR_API_KEY をご自身の API Key に置き換えてください。あらゆるクライアント、CI、ヘッドレス環境で利用できます。API Key を取得 →

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

AI に設定を任せる

設定を手作業で編集したくない場合は、インストールプロンプトをコピーして任意の AI クライアントに貼り付けてください。AI が自分のやり方でセットアップを完了します(デフォルトではログインを案内し、API Key をチャットに送るよう求めることはありません)。

注意事項

適用範囲

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.

適さない用途

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

実行とキャンセル

この App は非同期で実行され、途中でキャンセルできます。キャンセル前に返された結果は保持され、通常どおり課金されます。

失敗時の処理

MCP で接続すると、AI が以下の説明を自動で読み取ります。API や SDK で接続する場合は、コードでこのとおりに処理してください。

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

よくある質問

料金はどのように課金されますか?

1 件あたり $0.001 / 件。失敗した実行は課金されません。料金を見る →

1 回でどれくらい収集できますか?制限はありますか?

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.注意事項を見る →

AI アシスタントやエージェントで使えますか?

はい。Octoparse Data Hub を一度接続すれば、チャットで名前を指定してすべての Data App を呼び出せます(bzy/pdf-text-extractor も含みます)。連携方法を見る →

$0.001 / 件