Skip to main content

Export stored content to files

Web content as Markdown or other formats β€” built on Trafilatura Core, free, open source.

Markdownee playground

Generate ready-to-run commands or code to export saved crawl results to files.

Export

Commands or code only

What to do:

npm package CLI

Export stored extraction results to files using the markdownee CLI. It reads results a prior `crawl` crawl saved to storage, so run an extract first (or point --storage at an existing storage directory) β€” otherwise there is nothing to export. Requires Node 22.22.2+ on the 22 line, 24.15.0+ on the 24 line, or 26+.

Content variants

What is Markdownee?

Markdownee is a web scraper that crawls websites and saves their content as Markdown, HTML or plain text for LLMs, retrieval pipelines, and research datasets.

Choose which links to follow, set page and depth limits, and select how much page content to keep. Control tables, links, images, and user comments separately.

  • Boilerplate removal uses Trafilatura Core, our open-source extraction engine based on Trafilatura, available in TypeScript and Python. Markdownee’s TypeScript and Python versions each use the matching Core implementation.

    The Core in its name means it is reduced to one task: extracting main content by removing boilerplate. Other packages handle output conversion, including Markdown.

    Core's TypeScript engine ports the original Python Trafilatura, with go-trafilatura as a DOM translation aid. Its native Python engine translates that port.

    Trafilatura and its forks & ports compares Python Trafilatura, go-trafilatura, and Trafilatura Core by lineage, extraction choices, inputs, outputs, and integration.

  • Crawlee handles crawling and uses Playwright for browser rendering.

  • Two language versions β€” TypeScript and Python: self-host with the npm CLI, npm library, or Python library, or use the hosted Apify Actor. Source code is on GitHub.

  • Save image files with the optional image downloading mode

Getting started

Try Markdownee with one npx command β€” no browser install or API key is needed. Use Node.js 22.22.2+ on the 22.x line, 24.15.0+ on 24.x, or 26+:

npx --package=@markdownee/markdownee markdownee fetch \
  https://en.wikipedia.org/wiki/Web_scraping \
  --crawler-type cheerio --save markdown-file -o page.md

Open page.md to inspect the extracted article. --crawler-type cheerio fetches over plain HTTP. For a whole-site crawl or specific formats, use the playground to build a command visually, then copy it.