Parse File to Markdown
/parseConvert a file at a URL (PDF, Office docs, images, code, data — 60+ formats) to clean Markdown, with optional OCR for scanned PDFs.
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- File urlNeededPublic https:// URL of the file to parse (up to 25MB — e.g. a presigned S3 link or a Monid file-system byte link). Monid fetches it server-side and relays the…
- ExtensionOptionalFile-type hint (e.g. 'pdf', 'docx', 'xlsx') for when the URL or its Content-Type does not reveal the format.
- OcrOptionalWhen true, detect and OCR images embedded in PDF pages (scanned documents). Off by default. Billed 1 credit plus 1 per page OCR recovers; holds 51 credits (see…
- Include linksOptionalPreserve hyperlinks in the Markdown output. Default true.
- Include imagesOptionalInclude image references in the Markdown output. Default false.
- Shorten base64 imagesOptionalTruncate inline base64 image payloads to keep the output small. Default true.
- Use main content onlyOptionalBest-effort, HTML-like files only: ask Context.dev to keep the main content and drop headers, footers, sidebars, and navigation. It is a heuristic, so some of…
- Include numbered pagesOptionalStart each PDF page in the Markdown with a `<!-- page N -->` line (N = the original 1-based page number). Default false. Such responses are never served from C…
- PdfOptionalParse only a page range of a PDF. With ocr: true, OCR runs (and bills) only inside the range, and the hold is 1 credit plus 1 per page of start..end.
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@context.dev:/parseTopics
Content ExtractionMore from Context.dev
All 25Extract Structured DataCrawl a website and return JSON matching a caller-supplied JSON Schema. 10 credits ($0.02) per call.From 0.34 creditsScrape AnythingScrape one URL into any mix of Markdown, HTML, screenshot, images, JSON, product data, or a prebuilt parser.From 0.34 creditsRetrieve BrandResolve a company by domain, name, ticker, work email, or page URL into a full brand profile. 10 credits ($0.02) per call.From 0.34 creditsIdentify TransactionMap a noisy card or bank descriptor to the real merchant and its brand data. 10 credits ($0.02) per call.From 0.34 creditsScrape ImagesExtract every image asset from a page with metadata.From 0.34 creditsMap Site URLsList a website's URLs with page titles and descriptions, optionally ranked by a topic.From 0.34 credits