Skip to content
//PDF to Text & Markdown – Extract Text, Tables & Metadata example\\

Text and tables from 2 PDFs, 15 documents

Full text, Markdown, pages and tables from PDF links.

Updated November 10, 2026

What this example returns

This example returns up to 15 documents.

The dataset’s “Documents” view shows 11 columns: PDF URL, File, Title, Author, Pages, Words, Status, Created, Size (bytes), Found on page, and Warning. See every output field.

What each setting does

The input this example runs PDF to Text & Markdown – Extract Text, Tables & Metadata with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

PDF URLs or web pages urls

https://www.irs.gov/pub/irs-pdf/fw9.pdf, https://arxiv.org/pdf/1706.03762

Direct links to PDF files (one per line). You can also paste a web page: the extractor finds the PDFs it links to. Google Drive and Dropbox share links and arXiv abstract pages are converted to direct downloads.

Max PDFs per web page maxPdfsPerPage

20

When a URL is a web page, extract at most this many PDFs linked from it. Direct PDF URLs are always processed.

Detect tables extractTables

Yes

Find ruled tables and return them as rows of cells and as Markdown tables (also inserted into the Markdown output). Slower on long documents.

Default: No → this example uses Yes

Max documents per run maxDocuments

15

Stop after this many PDFs in total. 0 means no limit.

Default: 0 → this example uses 15

.json
{
  "urls": [
    "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
    "https://arxiv.org/pdf/1706.03762"
  ],
  "maxPdfsPerPage": 20,
  "extractTables": true,
  "maxDocuments": 15
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • PDF extractedfrom $0.00093Charged once for each PDF document extracted, whatever its page count. Failed downloads, invalid URLs and non-PDF files are free.
  • Actor startfrom $0.0015Charged once per run.

Full pricing

When to use this example

From the PDF to Text & Markdown – Extract Text, Tables & Metadata readme:

Does it read scanned PDFs?

It reads the embedded text layer. Scanned (image-only) pages are flagged with textExtractionStatus: "no_text" or listed in emptyPageNumbers so you can route them to OCR.

Other ways to run PDF to Text & Markdown – Extract Text, Tables & Metadata

All examples of PDF to Text & Markdown – Extract Text, Tables & Metadata

About PDF to Text & Markdown – Extract Text, Tables & Metadata

Extract text, Markdown, tables and metadata from PDF URLs or from every PDF linked on a web page. Per-page text, page ranges, password-protected PDFs. Fast, no login needed.

Price:
From $0.93 / 1,000 results
Developer:
Toolwright

PDF to Text & Markdown – Extract Text, Tables & Metadata pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.