---
name: html-escape
description: "HTML Escape / Unescape (HTML Escape / Unescape) via devops.majbase.com's free public API, no key required. Keywords: escape html entities, unescape html, html special characters."
---

# HTML Escape / Unescape

HTML Escape / Unescape. Calls devops.majbase.com's free public API — no API key or authentication required.

## Endpoint

```
POST https://devops.majbase.com/html-escape/api
```

## Request / Response

```
API: POST /html-escape/api
  action=escape|unescape  (required)
  text=<string>            (required)
Returns {"result": "..."}, or {"error": "..."}.
```

## Example

```bash
curl -sS -X POST https://devops.majbase.com/html-escape/api -H "Content-Type: application/json" -d '{"action":"escape","text":"<b>Tom & Jerry</b>"}'
curl -sS -X POST https://devops.majbase.com/html-escape/api -H "Content-Type: application/json" -d '{"action":"unescape","text":"&lt;b&gt;Tom &amp;amp; Jerry&lt;/b&gt;"}'
```

## Notes

- No API key or authentication required.
- Full interactive tool: https://devops.majbase.com/html-escape/
