{"uid":"cap_ZBIW77Rje_W-i9kWwbnL8","slug":"machine-shop-html-to-text-converter-784e27e0","name":"Machine Shop – HTML to Text Converter","description":"Turn Apify product scrape results into safe catalog updates with Catalog Update Gate. Find evidence in supplied documents, compare snapshots, extract typed JSON fields, inspect x402 quotes and assess API migrations. Preview inputs, evidence and cost for free. No live web search, scheduled monitoring or third-party purchasing.","url":"https://api.pay-forge.online/v1/html-to-text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","title":"Html","maxLength":50000},"base_url":{"type":"string","title":"Base Url","default":"","maxLength":2048}}},"responseSchema":{"type":"json","example":{"text":"Hello\nAgent documents."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fzxbXu8tSLy3yISaOOrNW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw HTML markup into clean, readable plain text by stripping tags and resolving relative URLs.","exampleAgentPrompt":"Take this HTML I grabbed from the product page — strip all the tags and give me just the plain readable text, using 'https://example.com' as the base URL for any relative links.","exampleUseCases":[{"title":"Preprocessing HTML for LLM analysis","prompt":"I have this big block of HTML from a company's about page — can you convert it to plain text so I can feed it into my summarizer without all the tag noise?"},{"title":"Extracting readable content from scraped pages","prompt":"Here's the raw HTML I scraped from a news article. Strip the markup and give me just the article text so I can search it for key evidence."},{"title":"Comparing document snapshots as plain text","prompt":"I've got two HTML versions of the same policy document — convert them both to plain text first so I can diff them and see what actually changed."}],"resultDescription":"A JSON object with a single 'text' field containing the plain-text representation of the input HTML, with tags stripped and whitespace normalized. Relative URLs are resolved against the provided base_url if supplied.","failureModes":["HTML input exceeds 50,000 character limit — returns validation error","Malformed or non-HTML input may produce garbled or empty text output","Missing base_url means relative URLs remain unresolved in the text","Network or service errors return non-200 status with error message","Payment failure via x402 protocol blocks the request before processing"],"whenToPreferThis":"Choose this endpoint when you need a simple, cost-effective ($0.004/call) server-side HTML-to-text conversion without spinning up a browser or DOM parser locally. It is ideal for preprocessing HTML before document analysis, LLM ingestion, or text comparison. Prefer it over full headless-browser scraping when you already have the raw HTML and just need clean text extracted quickly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:42:18.755Z","isFirstParty":false,"canonicalSlug":"machine-shop-html-to-text-converter-784e27e0"}