Inline HTML to Markdown & Text avatar

Inline HTML to Markdown & Text

Pricing

$0.03 / completed inline html to markdown & text

Go to Apify Store
Inline HTML to Markdown & Text

Inline HTML to Markdown & Text

Convert pasted HTML into Markdown and plain text, retaining headings, lists, code and tables. Remove scripts and hidden elements, optionally remove navigation and footer content. No browser or URL fetching.

Pricing

$0.03 / completed inline html to markdown & text

Rating

0.0

(0)

Developer

david tan

david tan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Share

Convert pasted HTML into Markdown and plain text, retaining headings, lists, code and tables. Remove scripts and hidden elements, optionally remove navigation and footer content. No browser or URL fetching.

When to use it

Prepare archived HTML, documentation snippets or extracted markup for text indexing and document workflows.

Price

$0.03 per completed report, for supported paying Apify users. One report-generated event, after files and a summary are stored. No per-row, per-URL or dataset-item charge. Invalid input and processor timeouts do not trigger the report event. Apify’s free-user rules and any separately applicable platform charges are governed by Apify.

Use a maximum charge limit that covers at least one report. Keep a smaller diagnostic detailLimit for large inputs; all output records and counts remain complete. No external AI models or API keys are needed.

Example input

{
"html": "<h1>Product guide</h1><p>Hello <strong>world</strong>. <a href=\"/docs\">Read more</a></p><ul><li>First</li><li>Second</li></ul><pre><code class=\"language-python\">print(\"hello\")</code></pre><script>ignored()</script>",
"baseUrl": "https://example.com/",
"includeLinks": true,
"removeBoilerplate": false
}

Results

  • REPORT.json: complete summary, full records and bounded details.
  • RECORDS.csv: all output records. Formula-like cells are escaped for spreadsheets; JSON is the authoritative typed result.
  • REPORT.html: self-contained escaped report, with at most 20 output records in the preview.
  • DOCUMENT.md and TEXT.txt: full converted Markdown and plain text.

The default dataset contains a single operational summary; it is not the records export. A low detail limit truncates diagnostics only. Download JSON or CSV for full output.

Limits and behavior

One inline document; 2 MiB UTF-8; DOM depth 64; 50,000 nodes; tables at most 100 columns. This parser does not run JavaScript, fetch links or stylesheets, render a browser DOM, or evaluate arbitrary CSS selectors. Hidden attribute, aria-hidden and common inline display:none / visibility:hidden are recognized. Other CSS visibility rules require preprocessing. Complex malformed browser-only markup may differ from rendered content.

All products have a 25-second processor deadline, 256 MiB container memory, a 60-second run timeout and a combined 10 MiB export limit. Large or wide inputs may hit the export limit before the row limit. Failed exports do not charge the report event. No automatic restarts are enabled.

Privacy and operation

Use only data you are authorized to process. Inline data and outputs are stored in your run’s Apify storage under its configured access and retention settings. This Actor does not fetch external resources or invoke a model, and does not log source values. Review your own storage sharing and retention settings for sensitive inputs.

Billing uses a durable checkpoint. If a charge response is uncertain, the same run stops for ledger review instead of retrying payment automatically. Start a new run only after inspecting the earlier attempt. Report a problem through Apify’s Actor issue tracker with sanitized examples; do not post private records or tokens.