Skip to content
Fourohtwo

PDF to text

pagetext.yashil.workers.dev/pdf

PDF to text: fetch a public PDF by URL (up to 8 MB) and return its full text as Markdown, with page metadata, ready for LLM context or RAG. Not charged if the file cannot be fetched or read.

BaseAnswering
GEThttps://pagetext.yashil.workers.dev/pdf

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://pagetext.yashil.workers.dev/pdf?url=https%3A%2F%2Fpdfobject.com%2Fpdf%2Fsample.pdf");
console.log(await res.json());

Example input

{
  "url": "https://pdfobject.com/pdf/sample.pdf"
}

More from PageTextProvider status

PDF to text by PageText · x402 API | Fourohtwo