# Whitelists and Blacklists

QMS can apply rules to remove certain words from queries.

A whitelist is a list of all words that are allowed in query text. QMS removes all other words from the query.

A blacklist is a list of words that are not allowed in query text. QMS removes them from the query.

You can use whitelists and blacklists for the `Query` and the `GetQueryTagValues` action, and QMS applies the rules to the terms in the `Text` parameter.

_FT_HTML5_bannerTitle.htm