PDF を表付きの Markdown に変換
すべての表を抽出した Markdown 出力。
{
"urls": [
"https://raw.githubusercontent.com/lergassy/apify-actor-assets/main/document-text-extractor/sample-report.pdf"
],
"includeMarkdown": true,
"extractTables": true
}このタスクを実行 →PDF、Word、Excel、PowerPoint、EPUB、HTML、CSV ファイルからテキスト、Markdown、表、メタデータを抽出します。スキャンされたページは19言語の OCR で読み取り、LLM パイプライン向けに RAG 用チャンクへ分割することもできます。
markdown | 見出し・リスト・表を保ったきれいな Markdown |
fullText | ドキュメント全体のプレーンテキスト |
tables | 各表の Markdown と行配列 |
metadata | ドキュメントのメタデータ |
pages | 任意:ページごとのテキストと Markdown |
ragChunks | 任意:見出しパス付きの検索チャンク |
ocrText | OCR で読み取ったスキャンページのテキスト |
$0.15 1,000 行あたり
イベント課金制:処理したドキュメントと解析したページごとに課金され、スキャンページの OCR を有効にした場合は OCR ページごとにも課金されます。
Apify は毎月 5 ドルの無料クレジットを提供しています。このスクレイパーを無料で試すのに十分です。
そのまま使える入力例です。フォームに貼り付けるか API で送信してください。
すべての表を抽出した Markdown 出力。
{
"urls": [
"https://raw.githubusercontent.com/lergassy/apify-actor-assets/main/document-text-extractor/sample-report.pdf"
],
"includeMarkdown": true,
"extractTables": true
}このタスクを実行 →1200文字、重なり120のチャンク。
{
"urls": [
"https://raw.githubusercontent.com/lergassy/apify-actor-assets/main/document-text-extractor/sample-report.pdf",
"https://raw.githubusercontent.com/lergassy/apify-actor-assets/main/document-text-extractor/sample-contract.docx"
],
"chunkForRag": true,
"chunkSize": 1200,
"chunkOverlap": 120
}このタスクを実行 →テキストレイヤーのないページを最大20ページ読み取り。
{
"urls": [
"https://raw.githubusercontent.com/lergassy/apify-actor-assets/main/document-text-extractor/sample-report.pdf"
],
"ocrScannedPages": true,
"ocrLanguage": "eng",
"ocrMaxPagesPerDocument": 20
}このタスクを実行 →1〜5ページのページ別テキスト。
{
"urls": [
"https://raw.githubusercontent.com/lergassy/apify-actor-assets/main/document-text-extractor/sample-report.pdf"
],
"pageRange": "1-5",
"includePages": true
}このタスクを実行 →PDF、DOCX、XLSX、PPTX、EPUB、HTML、CSV、TXT です。URL、アップロード、base64 で渡せます。
はい。スキャンページの OCR を有効にし、19言語から選んでください。
パスワードを指定すれば処理できます。
本ツールは渡されたファイルのみを処理します。文書を利用する権利があること、含まれる個人データの処理が適用法に沿っていることを確認してください。
Apify API、Python / JavaScript クライアント、または Make、n8n、Zapier、Google Sheets 連携を利用できます。