Markdown to safe HTML.
One API call.
Send Markdown, get back sanitized HTML with all XSS vectors stripped. Try it free in the playground (100 requests / day, no API key). No client libraries needed.
Works with any language
One POST request. No SDK required.
curl -X POST https://texttoolsai.org/api/convert \
-H "Authorization: Bearer tt_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"markdown": "# Hello\n\n**Safe & fast**.",
"options": { "gfm": true }
}'What you get
Replace your Markdown parsing stack with one HTTP call.
XSS Protection
Server-side sanitize-html strips <script> tags, event handlers, iframes, and other dangerous HTML before it reaches your app.
Simple REST API
POST your Markdown, get sanitized HTML back. GFM tables, code blocks, and task lists included. No libraries to install or update.
No dependency maintenance
Stop tracking CVEs in marked, remark, rehype, and sanitize-html. We handle parsing and updates — you just call the endpoint.
Pricing
Start free. Upgrade when you need production volume.
Free
For prototyping and testing.
- Interactive browser playground
- 100 requests / day in the playground, no key needed
- GitHub-Flavored Markdown
- XSS sanitization via sanitize-html
Pro
RecommendedFor production apps and services.
One-time payment, no auto-renewal (about $8.50)
- 50,000 requests, valid for 30 days
- Dedicated API key (tt_live_ prefix)
- Email support