{"uid":"cap_H2RRXlVhu-xDeoKggkfmz","slug":"web-page-to-markdown-converter-964180d0","name":"Web Page to Markdown Converter","description":"Fetch any public web page or document (HTML, PDF, DOCX, XLSX, CSV) and return clean, LLM-ready Markdown: nav/footer/ads/scripts stripped, absolute links, title/byline/description metadata. Query: url (required), links=1|0, max_chars, engine=auto|readability.","url":"https://agent-utils-x402.fishbowlinc.workers.dev/v1/markdown?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","format":"uri","description":"Public http(s) page URL"},"mode":{"enum":["article","full"],"type":"string"},"links":{"enum":["1","0"],"type":"string"},"max_chars":{"type":"integer","maximum":200000}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pd3qQ-z6Q7u97sUkp88NQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches any public web page or document (HTML, PDF, DOCX, XLSX, CSV) and returns clean, LLM-ready Markdown with metadata, stripped of navigation, ads, and scripts.","exampleAgentPrompt":"Can you fetch the article at https://example.com/some-article and give me clean, readable markdown — strip all the ads and nav, include the links, and cap it at 50000 characters?","exampleUseCases":[{"title":"Research article summarization pipeline","prompt":"Grab the content from https://www.nytimes.com/2024/01/15/technology/ai-regulation.html and convert it to clean markdown so I can summarize it — strip out all the menus and ads, and keep the links."},{"title":"PDF report ingestion for AI agent","prompt":"Fetch this PDF report at https://reports.example.org/annual-2023.pdf and turn it into markdown so I can feed it to my analysis pipeline — limit it to 100000 characters."},{"title":"Competitor webpage content extraction","prompt":"Pull the main content from https://competitor.com/pricing and return it as clean markdown without all the navigation clutter — I want to compare their pricing tiers."}],"resultDescription":"Returns clean Markdown text of the page or document's main content, with title, byline, and description metadata fields. Navigation bars, footers, ads, and scripts are stripped. Links are made absolute and optionally included or excluded. Content can be capped at a specified character limit.","failureModes":["URL is behind a login or paywall — returns error or empty content","PDF/DOCX parsing failure for malformed or encrypted documents","Page renders entirely via JavaScript with no static HTML — may return empty or partial content","URL is unreachable or returns non-200 status — fetch error returned","max_chars exceeded silently truncating content","Rate limiting or x402 payment failure preventing the call"],"whenToPreferThis":"Choose this endpoint when you need to fetch and clean an arbitrary public web page or document (HTML, PDF, DOCX, XLSX, CSV) into LLM-ready Markdown in a single call. It is especially valuable when you need metadata (title, byline, description) alongside the cleaned content, or when you want fine-grained control over link inclusion and character limits. Prefer it over general-purpose HTTP fetch tools when boilerplate removal and LLM-readiness are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:46.336Z","isFirstParty":false,"canonicalSlug":"web-page-to-markdown-converter-964180d0"}