言語
/v1/html-to-text/convert
すべての HTML タグを取り除き、プレーン テキストを返します。 見出し、リスト、表は、読みやすいテキスト形式に変換されます。 必要に応じて、リンク URL を保持し、ワードラップ列を設定します。
The HTML content to convert.
Include link URLs in the plain text output (e.g., "Botoi [https://botoi.com]").
Wrap text at this column width. Set to 0 to disable wrapping.
curl -X POST https://api.botoi.com/v1/html-to-text/convert \ -H "Content-Type: application/json" \ -d '{"html":"<h1>Welcome</h1><p>Visit <a href=\"https://botoi.com\">Botoi</a>.</p>","preserveLinks":true,"wordwrap":80}'
HTML マーケティングまたはトランザクション電子メール用のテキスト/プレーン フォールバックを作成して、HTML をサポートしていないクライアントでレンダリングできるようにします。
ページをスクレイピングし、HTML をこのエンドポイントに渡し、コンテンツ分析、要約、またはアーカイブ用のクリーン テキストを取得します。
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.