{"uid":"cap_N-NugzMU60Mz4GVFER2KJ","slug":"agent-tools-pdf-to-text-markdown-extractor-f82d9d4b","name":"Agent Tools PDF to Text/Markdown Extractor","description":"PDF to text or markdown for RAG, summarizing, search indexing and reading reports, papers, contracts and invoices. Give a PDF URL (max 20 MB); returns text per page. format=text or markdown. Not stored.","url":"https://agent-tools.jbarkules.workers.dev/v1/pdf/text?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public PDF URL"},"format":{"enum":["text","markdown"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"text":"## Page 1\n\nSample PDF\nThis is a simple PDF file...","pages":1,"format":"markdown","characters":2859}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0035/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0035","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0035","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PkZ93ygYL3mlVYMAaY9K9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0035","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a public PDF URL into plain text or markdown, returning content page-by-page for RAG pipelines, summarization, and document analysis.","exampleAgentPrompt":"Can you pull the text out of this PDF — https://example.com/report.pdf — and give it to me as markdown so I can feed it into my RAG pipeline?","exampleUseCases":[{"title":"Research paper extraction for RAG","prompt":"I need you to extract all the text from this academic paper PDF at https://arxiv.org/pdf/2301.00001 and return it as markdown so I can chunk and index it."},{"title":"Contract review from a PDF link","prompt":"Can you read this contract PDF at https://legal.example.com/contract.pdf and give me the full plain text so I can summarize the key terms?"},{"title":"Invoice data extraction","prompt":"Pull the text out of this invoice PDF — https://billing.example.com/invoice-1234.pdf — as plain text so I can extract the line items and totals."}],"resultDescription":"Returns a JSON object containing the full extracted text (as plain text or markdown), the number of pages, the character count, and the format used. Content is organized per page and not stored server-side.","failureModes":["PDF URL is not publicly accessible or returns a non-200 response","PDF file exceeds 20 MB size limit","URL does not point to a valid PDF file","Scanned/image-only PDFs with no embedded text return empty or minimal text (use OCR endpoint instead)","Malformed or corrupted PDF cannot be parsed","Invalid format parameter (must be 'text' or 'markdown')"],"whenToPreferThis":"Choose this endpoint when you have a public PDF URL and need clean, structured text output per page for use in RAG, summarization, or search indexing. It is ideal for text-based PDFs such as reports, papers, contracts, and invoices up to 20 MB. For image-based or scanned PDFs, prefer the OCR or document parsing sibling endpoints. No storage occurs, making it safe for sensitive documents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:39:16.153Z","isFirstParty":false,"canonicalSlug":"agent-tools-pdf-to-text-markdown-extractor-f82d9d4b"}