Skip to content
Firefly Collective

Websites · 4 options

Showing user text safely

Turning text people type, or Markdown, into HTML without letting a script slip through.

The options

Worth comparing

  • DOMPurify

    Cure53 and contributors

    Apache-2.0Since 2014

  • sanitize-html

    Apostrophe Technologies

    MITSince 2013

  • marked

    Community maintained

    See licenceSince 2011

  • markdown-it

    Community maintained

    MITSince 2014

Think this list is missing something? Suggest it for the Stacks

Side by side

The facts at a glance

Each project’s licence, where it runs, when it started and whether it publishes a security policy and its fixes.

Firefly Collective is independent and not affiliated with or endorsed by the projects listed. Names and logos are the property of their owners. Summaries are provided as-is; always check the project’s official advisory.

Think something belongs here?

Suggest it for the Stacks

Anyone can suggest software for the guide. Tell us what it is, which kind it belongs to and why it fits the charter; a person reads every suggestion.