Strip HTML to text
Remove all HTML tags, returning the plain text content. Entities are decoded to real characters by default (set decodeEntities=false to keep them encoded).
- Category
- Other services
- Starting price
- $0.002
- Paid calls · 30 days
- 7
- Unique payers · 30 days
- 7
Paid endpoints
4 endpoints, sorted by usage. Prices are per request.
- POST/v1/strip
Remove all HTML tags, returning the plain text content. Entities are decoded to real characters by default (set decodeEntities=false to keep them encoded).
$0.002Base3calls / 30d - POST/v1/encode
Encode text to HTML entities so it can be safely embedded in markup. By default uses hex numeric references; set useNamedReferences for named entities (&, ©) or encodeEverything to encode every character.
$0.002Base2calls / 30d - POST/v1/decode
Decode HTML entities (named, decimal and hex numeric references) back into plain text.
$0.002Base1calls / 30d - POST/v1/sanitize
Sanitize untrusted HTML to a safe allowlist. Keeps common formatting and links but removes dangerous scripting tags, inline event handlers and unsafe URL schemes. Ideal for rendering user-supplied HTML.
$0.002Base1calls / 30d