Web to Markdown, $0.0015 per page (hidden text listed)
Pricing
from $1.00 / 1,000 pages read
Web to Markdown, $0.0015 per page (hidden text listed)
Webpage to markdown API: public pages to LLM-ready Markdown for RAG. $0.0015 per page; JS mode $0.004, needs 2048 MB. Common hidden text is removed and listed. Failed pages are free. Start fee $0.00005 per GB, min. one. Run from n8n or Make. Respects robots.txt. No bot-protection bypass or logins.
Pricing
from $1.00 / 1,000 pages read
Rating
0.0
(0)
Developer
HiddenStrip
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
20 hours ago
Last modified
Categories
Features
Share
Web to Markdown
Give it public page URLs and get LLM-ready Markdown back, with common hidden text removed and listed. You can call it as a webpage to markdown API through Apify. This lists common hidden text that could carry instructions; it does not detect or block attacks. The Markdown is in the text field of each dataset item.
Use it from a RAG pipeline, a scraping script, or n8n or Make via Apify, as an HTML to Markdown converter or an LLM web scraping API. For each URL you get the page's visible text as Markdown, a record of any hidden content that was removed (CSS-hidden, off-screen, tiny or transparent text, aria-hidden elements, HTML comments, clipped text), and best-effort flags. Some kinds of hiding are not covered.
By default it reads static HTML. For pages that need JavaScript, turn on JS mode (renderJs: true). A page rendered in the browser is charged $0.004 (page-read-js), and the run must be set to 2048 MB of memory (other memory sizes refuse to start). Pages that read fine as static HTML stay at $0.0015 (page-read). It does not bypass bot protection, captchas or logins, and it respects robots.txt.
The Actor id is hiddenstrip/web-to-markdown. Results go to the run's default dataset. This is a normal Actor run, not a real-time or Standby API.
Getting started
Apify Console
- Open Web to Markdown and start a run.
- Enter one or more public
https://URLs inurls. - Leave JS mode off for static pages. For pages that need JavaScript, set
renderJsto true and set the run memory to 2048 MB in the run options (memory is not an input field). - Start the run. When it finishes, open the default dataset. The Markdown is in
text.
JSON input
{"urls": ["https://example.com/"]}
JS mode (also set the run memory to 2048 MB):
{"urls": ["https://example.com/"],"renderJs": true}
The only input fields are urls (required), renderJs, maxPages and timeoutSecs. See Input.
JavaScript (apify-client)
import { ApifyClient } from "apify-client";const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor("hiddenstrip/web-to-markdown").call({urls: ["https://example.com/"],maxPages: 5,});const { items } = await client.dataset(run.defaultDatasetId).listItems();// Markdown is in items[0].text
For JS mode, pass renderJs: true in the input and set memory in the client options, not in the input:
const run = await client.actor("hiddenstrip/web-to-markdown").call({ urls: ["https://example.com/"], renderJs: true },{ memory: 2048 },);
Python (apify-client)
import osfrom apify_client import ApifyClientclient = ApifyClient(os.environ["APIFY_TOKEN"])run = client.actor("hiddenstrip/web-to-markdown").call(run_input={"urls": ["https://example.com/"]},)items = client.dataset(run["defaultDatasetId"]).list_items().items# Markdown is in items[0]["text"]
For JS mode:
run = client.actor("hiddenstrip/web-to-markdown").call(run_input={"urls": ["https://example.com/"], "renderJs": True},memory_mbytes=2048,)
curl
This starts a normal Actor run, waits for it to finish, and returns the dataset items. It is not a Standby or real-time endpoint. Apify's sync endpoint returns HTTP 408 if the run takes longer than 300 seconds. For a longer job, start the run with the runs endpoint and read the dataset afterwards. If you already received a 408, check that run rather than starting another.
curl "https://api.apify.com/v2/acts/hiddenstrip~web-to-markdown/run-sync-get-dataset-items" \-X POST \-H "Authorization: Bearer $APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"urls":["https://example.com/"]}'
JS mode (2048 MB is a run option, not an input field):
curl "https://api.apify.com/v2/acts/hiddenstrip~web-to-markdown/run-sync-get-dataset-items?memory=2048" \-X POST \-H "Authorization: Bearer $APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"urls":["https://example.com/"],"renderJs":true}'
Pricing
- page-read: $0.0015 for each page read successfully from static HTML.
- page-read-js: $0.004 for each page rendered in the browser and read successfully in JS mode (2048 MB required). A page that JS mode reads without starting the browser is charged
page-read. A page is never charged both. - Actor start (
apify-actor-start): $0.00005 per GB, minimum one (one at 512 MB, two at 2048 MB), even when no page is read. - Failed, blocked-by-robots, timed-out and skipped pages are not charged. A
needs_javascripterror is not charged. - A
blockverdict is a successful read and is charged. - A successful read (
status: "success") that also carries arender_noteis charged (page-readfor a static read,page-read-jsfor a rendered one); the note is a warning that the text may be incomplete. - The run honours the maximum total charge you set when starting it: when another page would exceed it, the remaining URLs are returned as
skippedand not fetched. - There is no per-dataset-item event: error and skipped rows in the default dataset are not billed. If a dataset-item event is added later with a price other than $0, the run refuses to start.
- A JS-mode run refuses to start if
page-read-jsis not priced, so a browser read is never billed at the static price. - If the platform restarts a run, pages already saved are not read or charged again.
Input
urls(required): publichttps://pages to read, on the standard port. At least one.maxPages(default 20): upper bound on pages read per run. Extra URLs come back asskippeditems and are not fetched or charged.timeoutSecs(default 25): time budget per page (capped at about 15 in JS mode).renderJs(defaultfalse): JS mode, see below.
Memory is set in the run options, not in this input.
What you get per URL
One dataset item per input URL, in input order. The Markdown is in text (there is no markdown field). Hidden text that was removed is not in text.
{"url": "https://example.com/post","status": "success","status_code": 200,"text": "# Visible heading\nVisible paragraph one ...","hidden_content_removed": {"count": 2,"chars": 118,"items": [{ "kind": "css_hidden", "excerpt": "[css_hidden · 83c] ___ ___ all previous ___", "evidence_sha256": "8d76..." }]},"collapsed_text": [],"flags": [{ "type": "agent_instructions", "severity": "high", "location": "css_hidden" }],"flagged": true,"flagged_excerpts": ["[css_hidden · 83c · agent_instructions] ___ ___ all previous ___"],"verdict": "block","source_url": "https://example.com/post","content_type": "text/html","fetched_at": "2026-11-29T00:00:00.000Z","rendered_with_browser": false,"charged": true}
| Field | Meaning |
|---|---|
url | The input URL for this row. |
status | success, error or skipped. |
status_code | HTTP-style status for this row. 200 on a successful read; an error status when the URL could not be read; null when the URL was skipped. |
text | The page's visible text as Markdown. Hidden text that was removed is not in it. Present on successful reads. |
hidden_content_removed | Count, size and a redacted record of each piece of hidden content that was removed. The removed text itself is not returned. Present on successful reads. Every piece is counted; items lists up to 500 of them, and items_omitted says how many more were counted. |
collapsed_text | Text found in collapsed HTML details on a successful read. Empty when none was listed. |
flags, flagged, flagged_excerpts | Best-effort pattern matches on text found in hidden content and on the page. A heuristic, not a guarantee. |
verdict | allow, warn or block, derived from the flags. allow means no flag was raised. It is not a statement about the page. |
source_url | Final URL after redirects, on a successful read. |
content_type | Content-Type of the fetched page, on a successful read. |
fetched_at | When the page was fetched, as an ISO 8601 timestamp, on a successful read. |
error, error_message | Why a URL was not read, for example blocked_by_robots, needs_javascript, fetch_failed, disallowed_url, bad_url. |
policy_note | Optional note when a site policy file was found but its wording was unclear. Only set on some successful reads. |
render_note | Without JS mode: set when a page appears to need JavaScript. In JS mode: set when the browser could not render the page in time. On an error item (for example error: "needs_javascript" or "render_timeout") the page is not charged. On a successful read (status: "success") it is a warning that the text may be incomplete, and the page is charged (page-read, or page-read-js if it was rendered). |
rendered_with_browser | true only in JS mode, when the page was rendered in the browser (charged as page-read-js). |
charged | true only when a page was read successfully and its charge went through. |
charge_event | JS mode only: page-read-js or page-read, the one event this page was charged as. |
browser_skipped_reason | JS mode only: static_html_complete when the page's static HTML was already complete (a small page with plain external scripts, no single-page-app root, no inline script code), so the browser was not started and the page was charged as page-read. Absent otherwise. |
charge_note | Rare. Set on a successful read when the charge could not be confirmed. |
JS mode
With "renderJs": true, a page that needs JavaScript (scripts, a single-page-app shell, stylesheets the static read cannot apply) is opened in a headless Chromium and read from the rendered page. Hidden-text removal then uses the browser's computed styles, so text hidden by classes, scripts or inherited styles is caught, and text a script inserts is listed separately from text that was in the HTML. A short hover and scroll pass runs and open and closed shadow roots are read, best-effort. Pages that read fine as static HTML are still read statically and charged as page-read, including small pages whose static HTML is already complete even though they load external scripts: the browser is not started for them, and their rows carry browser_skipped_reason: "static_html_complete". On a page skipped as static_html_complete, common hidden text is removed and listed from the page's static HTML and its fetched stylesheets only. Hidden text that appears only after a classic external script runs (including data-attribute loaders) is not listed on that path, unlike a rendered JS-mode read. Pages the browser renders still get the browser-based check (computed styles, script-inserted text, hover and scroll pass).
Limits: does not bypass bot protection, captchas or logins; about 15 seconds per page in total; heavy JS sites can time out; hover-revealed and other hidden text is best-effort.
- Memory: set the run's memory to exactly 2048 MB. A JS-mode run below or above 2048 MB refuses to start with a clear error, before anything is fetched or charged. The Actor's default memory stays at 512 MB because static runs need no more; static runs can use any memory.
- Time per page: at most 15 seconds in total per page in JS mode, including robots checks, the static fetch, browser start, navigation, rendering and closing the browser (
timeoutSecsabove 15 is capped in JS mode). A slower page is stopped and fails asrender_timeout, and is not charged. - Stops after repeated failures: after 5 failed browser renders in a row the run stops, sets a status message saying so, and returns the pages not yet attempted as
skipped(js_render_failures); they are not fetched or charged. - Browser isolation required: JS mode starts the browser only when the container lets it run in its own process namespace with Chromium's sandbox on, or when the kernel stops one process from inspecting another (Yama
ptrace_scope1 or higher). Otherwise no page is fetched or rendered: each comes back as an errorbrowser_isolation_unavailable(503), not charged, and the status message says so. - Limits: at most 100 pages per run (raise the run timeout for large runs: up to about 15 seconds per page); the browser gets at most 10 seconds per page inside that budget; one fresh browser per page; images, media and fonts are not loaded; WebAssembly and other heavy browser features are off.
- Same rules as static reads: robots.txt, robots meta, ai.txt and TDM checks happen before the browser opens; every request the page makes is checked the same way as the page itself (public addresses on ports 80 and 443 only), and anything else is refused.
- It does not get past bot protection. No captcha solving, no stealth browser, no proxies, no logins. A page that blocks automated browsers fails and is not charged.
Limits you should know about
- No JavaScript rendering without JS mode. Content inserted by JavaScript is not seen. Single-page apps that render in the browser usually come back as a
needs_javascripterror with arender_note, and are not charged. A page that still has readable static text is returned as a successful read with arender_notewarning, and is charged aspage-read. - Hover-revealed, scroll-revealed and shadow-DOM content is not covered without JS mode; JS mode covers it best-effort only.
- JS mode: hiding is judged from the browser's computed styles at 1280x720. Text on a background image is never judged low-contrast (the backdrop is unknown); text inside images or canvas is not read; content that loads only after a click, or after more than a few seconds, is missed.
- Visible text is not removed. If a page shows an instruction in plain sight, it stays in
text. - Hiding is judged for a 1280x720 desktop screen in light mode. Text a stylesheet shows at that size stays in
text(for examplehidden md:flex, ordisplay: noneoverridden by a later rule or a matching@mediablock); text shown only on other screen sizes, in dark mode or on hover is removed. - Every piece of text that is removed is counted in
hidden_content_removedand listed (up to 500 items per page;items_omittedsays how many more were counted). SVG text, which is not part of the Markdown, is listed assvg_text. - Flags and
verdictare best-effort heuristics and will miss things. - Static HTML (text-based PDFs on a best-effort basis), or rendered pages in JS mode. No login, cookies, forms or proxies.
- Login pages are recognised by a heuristic only (a password field together with sign-in wording in the title or headings, or a 401 or 403 response). A sign-in page that does not match comes back as a
successand is charged. - Only public
https://pages. Private, loopback, link-local and metadata addresses are refused. - Only the standard web ports (80 and 443). A start URL or a redirect to another port is refused, comes back as an error, and is not charged.
How it behaves toward sites
It identifies itself with a HiddenStrip user agent. Before fetching a page it checks robots.txt for that site, and it repeats the check for every site a redirect leads to. Following RFC 9309, except that HTTP 429 is treated as unreachable: a robots.txt that cannot be fetched (server error, too many requests, timeout, unreachable) counts as "disallow"; a missing robots.txt (404 or other 4xx except 429) counts as "allow". Pages disallowed by robots.txt are not fetched. It also honours X-Robots-Tag and robots meta directives, ai.txt and the TDM Reservation Protocol; where those can only be read with the page itself, the page is fetched, nothing from it is returned, and the URL comes back as an error. Refused URLs are not charged. It does not log in or work around blocks.
FAQ
Where is the Markdown? In the text field of each dataset item. There is no markdown field.
Do you bypass bot protection, captchas or logins? No. A page that blocks automated access fails and is not charged. There is no captcha solving, stealth browser, proxy or login support.
When should I turn on JS mode? When the page needs JavaScript to show its content (for example a single-page app). Set renderJs to true and set the run memory to 2048 MB. A rendered page is charged $0.004. Pages that already read fine as static HTML are still read statically and charged as page-read.
Why did my JS-mode run refuse to start? The usual cause is memory that is not exactly 2048 MB. A JS-mode run also refuses to start if page-read-js is not priced.
Are failed pages charged? Failed, blocked-by-robots, timed-out and skipped pages are not charged. A block verdict is a successful read and is charged.
Do you follow robots.txt? Yes, and also robots meta, ai.txt and the TDM Reservation Protocol. Details are in How it behaves toward sites.
Use it from agents and workflows
These snippets follow Apify's official integration docs. They run this Actor by its id. This Actor is not a named built-in tool in those catalogs, and it does not provide its own MCP or Standby endpoint.
Apify's MCP server. This Actor has no MCP endpoint of its own. To run it through Apify's hosted MCP server, pin it with the tools query parameter (this replaces the default tool set). The server exposes the Actor as the tool hiddenstrip--web-to-markdown:
https://mcp.apify.com?tools=hiddenstrip/web-to-markdown
Running an Actor through Apify's MCP server needs an Apify account, or payment through Apify's agentic payments. Searching the Store and reading Actor details can be done without an account.
LangChain (Python). The langchain-apify package can run any Actor with ApifyActorsTool. Set APIFY_TOKEN, then:
from langchain_apify import ApifyActorsTooltool = ApifyActorsTool("hiddenstrip/web-to-markdown")result = tool.invoke({"run_input": {"urls": ["https://example.com/"]}})
LlamaIndex. The official llama-index-readers-apify package provides ApifyActor:
import osfrom llama_index.core import Documentfrom llama_index.readers.apify import ApifyActorreader = ApifyActor(os.environ["APIFY_TOKEN"])documents = reader.load_data(actor_id="hiddenstrip/web-to-markdown",run_input={"urls": ["https://example.com/"]},dataset_mapping_function=lambda item: Document(text=item.get("text"),metadata={"url": item.get("url")},),)
n8n. Install the official Apify community node @apify/n8n-nodes-apify. Use the Run an Actor operation, set the Actor to hiddenstrip/web-to-markdown, and pass the input as JSON. For JS mode, set the node's memory to 2048 MB; other memory sizes refuse to start. There is no dedicated named operation for this Actor.
Make. Add the official Apify module and use the Run an Actor action with the same Actor id and input. If a JavaScript-rendered run may exceed Make's synchronous timeout, start the run asynchronously and use the Watch Actor Runs trigger, then Get Dataset Items.
For a general page fetch or web search, see Web Fetch and RAG Web Browser on Apify Store. This Actor turns a page or URL to Markdown and lists common hidden text that could carry instructions; it does not detect or block attacks. Best-effort flags for instruction-like text are not a guarantee.
HiddenStrip: https://hiddenstrip.com