Website Content RAG Cleaner avatar

Website Content RAG Cleaner

Pricing

Pay per usage

Go to Apify Store
Website Content RAG Cleaner

Website Content RAG Cleaner

Extract public web pages into clean, structured content ready for retrieval, summaries, and AI workflows.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Daniel Ferreira de Almeida

Daniel Ferreira de Almeida

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Categories

Share

Turn public web pages into clean, structured, RAG-ready content.

What it does

This Actor fetches one or more public URLs, or consumes provided HTML, and returns:

  • the resolved page title and final URL
  • cleaned plain text
  • markdown-style content
  • optional raw HTML
  • extracted links
  • chunked text for retrieval pipelines
  • basic run metadata

Best for

  • knowledge base ingestion
  • RAG pipelines
  • AI search indexes
  • support and sales enablement
  • document-style content extraction

Input

  • urls — public URLs to process
  • html — optional single HTML document for offline validation
  • htmlByUrl — optional offline URL→HTML map
  • includeRawHtml — include the original HTML in output
  • includeLinks — include extracted links
  • maxTextChars — cap on cleaned text length
  • chunkSize — chunk size for downstream processing

Example input

{
"urls": ["https://example.com/article"],
"html": "<!doctype html><html><head><title>Example</title></head><body><h1>Example</h1><p>Hello world.</p></body></html>",
"includeRawHtml": false,
"includeLinks": true,
"maxTextChars": 5000,
"chunkSize": 400
}

Output

Each item contains:

  • url
  • finalUrl
  • title
  • description
  • text
  • markdown
  • chunks
  • links
  • wordCount
  • status
  • checkedAt

Validation

The local smoke test uses a fixture HTML document so the Actor can be validated without network dependence.

Notes

  • Safe for platform testing with fixture HTML.
  • Designed for clean ingestion into downstream retrieval systems.