{
 "schema_version": 1,
 "generated": "2026-10-25",
 "id": "firecrawl-firecrawl--turn-any-url-into-clean-markdown",
 "repo": "firecrawl/firecrawl",
 "repo_url": "https://github.com/firecrawl/firecrawl",
 "repo_slug": "firecrawl-firecrawl",
 "title": "Turn any web page into clean markdown for an LLM",
 "page_title": "How to turn any web page into clean markdown for an LLM with Firecrawl",
 "summary": "Scrape a URL and get LLM-ready markdown, HTML, a screenshot or JSON instead of raw HTML.",
 "who": "A developer feeding web pages to a model who is tired of cleaning boilerplate and broken JavaScript pages.",
 "problem": "Raw HTML wastes tokens and JS-heavy pages often come back empty.",
 "outcome": "Clean markdown of the page's main content, ready to drop into a prompt or a vector store.",
 "steps": [
  "Get an API key at Firecrawl.dev",
  "Python: `from firecrawl import Firecrawl`, create `app = Firecrawl(api_key=\"fc-YOUR_API_KEY\")`, then `result = app.scrape('firecrawl.dev')`",
  "Or from the CLI: `firecrawl https://firecrawl.dev --only-main-content`",
  "Ask for other formats such as structured JSON or screenshots when you need them"
 ],
 "agent_prompt": "Using firecrawl/firecrawl with my API key from an environment variable, scrape <url> to markdown with only the main content, and save it to <file>. Report the token-sized length before and after.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "10 minutes",
 "basis": "readme",
 "caveat": "Respect each site's terms and robots rules when scraping.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "typescript",
 "requirements": [
  "A Firecrawl API key from the hosted service, or a self-hosted instance",
  "Python, Node.js, or curl; or an MCP client such as Claude Code or Cursor"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Keep the fc- API key in an environment variable, not in code you commit."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/firecrawl-firecrawl/turn-any-url-into-clean-markdown/",
 "md": "https://dedupedai.com/use-cases/firecrawl-firecrawl/turn-any-url-into-clean-markdown/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/firecrawl-firecrawl--turn-any-url-into-clean-markdown.json",
 "api_version": "v1"
}
