API Basics
★  Fundamentals
★  Error Codes
★  Examples
★  Batch Processing
★  Specification
★  SDKs
Data Tools
Telephony
Geolocation
Security and Networking
E-commerce
Imaging

HTML Clean

Clean and sanitize untrusted HTML.

Use this API to make user supplied content (or content from external sources) safe and prevent cross-site scripting attacks (XSS). The HTML scrubbing method used is immune to XSS evasion techniques by using an HTML whitelist approach.

End Point

https://neutrinoapi.com/html-clean
Test API
API Request
ParameterRequiredTypeDefaultDescription
contentYesstringThe HTML content. This can be either a URL to load HTML from or an actual HTML content string
output-typeYesstringThe level of sanitization, possible values are:
plain-text: reduce the content to plain text only (no HTML tags at all)

simple-text: allow only very basic text formatting tags like b, em, i, strong, u

basic-html: allow advanced text formatting and hyper links

basic-html-with-images: same as basic html but also allows image tags

advanced-html: same as basic html with images but also allows many more common HTML tags like table, ul, dl, pre
API Response
Daily Limits
Free TierTier 1Tier 2Tier 3
101,00010,000100,000