# PurgoMalum

Category: [Language and text](https://free-web-services.com/web-services/language/)  
Page: https://free-web-services.com/web-services/language/purgomalum.html  
Documentation: https://www.purgomalum.com/

PurgoMalum is a profanity filter web service that removes or masks swear words in text, for example in comments or usernames before they are shown on a site. Call /service/json, /service/xml or /service/plain with a text parameter, or /service/containsprofanity for a true/false answer. Options let you add your own words to the list and choose the replacement text or character. Free, no key needed.

- API key: Not needed
- Pricing: Free, no key needed.
- From the browser: Yes (CORS)
- Formats: JSON, XML
- Interface: REST, HTTP-GET
- Provider: purgomalum.com

Example request:

```sh
curl 'https://www.purgomalum.com/service/json?text=hello'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

