Aspose.HTML FOSS is a family of free, open-source libraries for working with HTML documents. Parse markup into a standards-based document object model, build and modify element trees, attach CSS stylesheets, and resolve computed styles through the cascade — specificity, inline rules, and inheritance included. Lower-level components expose the HTML tokenizer and tree builder directly, alongside WHATWG-style URL parsing, query-string handling, and character-encoding detection for raw byte streams.
Every library in the family is MIT licensed and runs fully offline with no browser engine required, behaving the same way on developer machines, CI runners, and server environments. Typical uses include cleaning up and rewriting stored HTML, validating generated markup in automated tests, and processing legacy documents with mixed encodings.
Open-source Python library for parsing HTML into a DOM, applying CSS, computing styles, and handling URLs and encodings. MIT licensed, pure Python.