{"uid":"cap_Mf6zWOuSQ6bmvjXEzBKFD","slug":"aayat-ai-document-to-markdown-converter-fcd55e19","name":"Aayat AI Document-to-Markdown Converter","description":"Convert any web page, PDF, Word (.docx), Excel (.xlsx/.xls), OpenDocument, CSV or XML URL to clean, LLM-ready Markdown, up to 10 MB: returns title, Markdown, links (web pages) and character count. url is the document address (https://...). For JavaScript-heavy sites use /markdown/rendered. Private addresses are blocked; failures are not charged. ?url=https://example.com/report.pdf","url":"https://aayatai.com/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","maxLength":2048,"description":"Address of a public web page or document."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["url","contentType","title","markdown","chars","truncated","converter"],"properties":{"url":{"type":"string","description":"Final address after redirects."},"chars":{"type":"integer"},"links":{"type":"array","items":{"type":"object","properties":{"href":{"type":"string"},"text":{"type":"string"}}}},"title":{"type":"string"},"trust":{"type":"object","description":"Third-party text, cleaned: read trust.notice; removed = what we stripped."},"markdown":{"type":"string"},"converter":{"enum":["html","text","document","browser"],"type":"string"},"truncated":{"type":"boolean","description":"True if the Markdown was cut at 500,000 characters."},"contentType":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/report.pdf","chars":18234,"links":[],"title":"Annual Report 2025","markdown":"# Annual Report 2025\n\n## Summary\n\nRevenue grew 12%...","converter":"document","truncated":false,"contentType":"application/pdf"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TMAEwVKbZhOZTtbb3j7CE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts any public document URL (web page, PDF, Word, Excel, CSV, XML, etc.) into clean Markdown text suitable for LLMs, returning title, Markdown content, links, and character count.","exampleAgentPrompt":"Can you grab the content of this PDF report and convert it to clean markdown so I can feed it into my LLM pipeline? The URL is https://example.com/annual-report-2024.pdf","exampleUseCases":[{"title":"Feed PDF report into AI pipeline","prompt":"Convert this PDF into clean markdown so I can pass it to my language model — here's the URL: https://acme.com/reports/q4-2024.pdf"},{"title":"Extract web article content for summarization","prompt":"Turn this article page into markdown so I can summarize it with my AI — the URL is https://techcrunch.com/2025/01/15/some-article"},{"title":"Parse Excel spreadsheet for data analysis","prompt":"I need the contents of this Excel file as markdown text so my agent can read and analyze the data: https://data.gov/datasets/budget-2025.xlsx"}],"resultDescription":"A JSON object containing: the final URL after redirects, the document title, the full Markdown representation of the document content, an array of hyperlinks (href and text) for web pages, the total character count, the content type, the converter used (html, text, document, or browser), and a boolean indicating whether the Markdown was truncated at 500,000 characters.","failureModes":["Private or local IP addresses are blocked and return an error","Documents larger than 10 MB are rejected","Unsupported file formats return a conversion error","Inaccessible or broken URLs return a fetch error","JavaScript-heavy pages may return incomplete content unless /markdown/rendered is used","Malformed or non-URI query parameter returns a validation error","Failed requests are not charged"],"whenToPreferThis":"Choose this endpoint when you need to convert any publicly accessible document (PDF, Word, Excel, CSV, web page, etc.) into clean Markdown for downstream LLM processing, and you want a pay-per-use service with no subscription. Prefer /markdown/rendered for JavaScript-rendered pages. Best when you need a quick, reliable document-to-LLM-ready-text pipeline without running your own parsing infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:46:40.789Z","isFirstParty":false,"canonicalSlug":"aayat-ai-document-to-markdown-converter-fcd55e19"}