Aspose.HTML FOSS

Aspose.HTML FOSS provides free, MIT-licensed open-source libraries for parsing HTML into a standards-based DOM, applying CSS stylesheets, and computing styles.

Key capabilities

  • Parse complete pages and fragments into a document object model with HTMLDocument.parse()
  • Build and modify element trees with Document.create_element() and Node operations
  • Apply stylesheets via CSSStyleSheet.replace_sync() and resolve the cascade with Element.get_computed_style()
  • Drive the HTML Tokenizer and TreeBuilder directly for low-level parsing
  • Parse and validate URLs with URL and URLSearchParams
  • Detect character encodings from raw bytes with detect_encoding()

Select your platform to access documentation: