JavaScript Page to Markdown: Render JS Web Pages + Screenshot
Opens each URL in a real Chromium browser, lets the page's JavaScript run, and returns the rendered page as clean Markdown. Turn on screenshots for a PNG or JPEG of every page too.
Open JavaScript Page to Markdown on Apify →The one question it answers
What text does a person actually see on this JavaScript page, as clean Markdown — and, optionally, what does a screenshot of the page look like?
Who it is for
AI agent and RAG builders who need the text a person sees on a React, Vue, Angular, Svelte or Next.js page; developers who do not want to run their own headless browser; analysts and SEO teams who want page text, metadata and a screenshot in one run.
Input
| Field | What to put | Default |
|---|---|---|
urls | Pages to render (up to 500 per run). | Store example: quotes.toscrape.com/js/ and react.dev |
waitForSelector | Wait for late-loading content, e.g. .product-list | empty |
scrollToBottom | Scroll first so infinite-scroll items are included | false |
screenshot | Save a PNG or JPEG of each page to the run's key-value store | false |
Output
One dataset row per rendered page, with markdown, metadata, a token estimate, and optional screenshotUrl. No outside AI API is used. Pay per event on your own Apify account (free tier available). Current rates are on the Store page. Pages that fail, time out or are skipped are not charged per page.
If the page's text is already in its HTML, the cheaper and faster Web Page to Markdown Actor is usually enough. Public pages only; login, paywall and CAPTCHA pages are not supported. Example links on the Store page are not an affiliation with those sites.
Try it in 1 minute
- Open the Store page and run the example input (screenshots off).
- Or pin it in an MCP client:
mcp.apify.com?tools=publicrecords/js-page-to-markdownand sign in with your Apify account. - Or import the n8n workflow or the Make HTTP recipe. Set your own Apify token; do not commit it.
MCP, examples, sample data
- Tutorial: How to render a JavaScript page to Markdown
- Sample from the Actor README (real output excerpt, not invented): Hugging Face dataset · Space
Attribution
Disclosure: I maintain this Actor on Apify Store (publicrecords). Rendering uses Playwright and Chromium inside the Actor. Not affiliated with the sites used in the Store example input.