Top 20 NuGet sanitize Packages

BracketPipe is a .NET library for performing a single-pass streaming parse of angle bracket based hypertext languages like HTML, SVG, and MathML
Provides protections against LDAP Injection.
Sanitizes sensitive data, replacing them by fake placeholders.
Sanitize and 'clean' html for safe consumption in a plain text format.
Sanitize Filename (sanitize-filename) binding library for Bridge.NET projects.
HTML Parsing and Sanitizing utility. Convert HTML to XHTML
Angular Sanitize (angular-sanitize) binding library for Bridge.NET projects.
Sanitize HTML (sanitize-html) binding library for Bridge.NET projects.
Mongo Sanitize (mongo-sanitize) binding library for Bridge.NET projects.
DotNet Validator is a .NET library that contains a set of utility methods which could be used to validate or sanitize .NET data-models.
Web/Html Helper Class Library. Markdown Parser / Html Santizer Example: using StackExchange.DataExplorer.Helpers; Convert Markdown to Html: var html = HtmlUtilities.RawToCooked(form["markdown"]) Santize / Normalize Html: @Html.Raw(HtmlUtilities.Safe(html))