Skip to main content
Deno 2 is finally here 🎉️
Learn more

HTML Tokenizer and Parser

This is a fork of Greg Reimer’s html-tokenizer, updated as follows:

  • Repackaged specifically for use in Deno
  • HTML entity reference decoding removed
  • Added a serializer for writing tokens back out
  • Collapsed code into 2 files

See the original html-tokenizer repository for motivation, API reference, and examples.