Have a system generating four letter code and in testing just got up to AA-BJ ... and the BJ got me thinking.

In a while the one after AR-SD could cause offence in the UK!

Does anyone know of a list of swear words/unacceptable words anywhere? Have been looking for 20 mins without any joy.

If not will set up a little project as a resource.

2 Answers 2


Here's a list of all the offensive words banned from Google's "What Do You Love?" site:

Wiktionary has a pretty thorough list of English Euphemisms:

Wiktionary also has a (seemingly) scarce list of Spanish Euphemisms:

You touched on this, but its important to clarify that certain English words are/aren't offensive, depending on where you are.

  • 1
    Thanks that was really helpful. Surprisingly short so I can hand craft my own version. The Spanish list did not look brilliant. I think I will enlist my 16 year old step-daughter who has just spent 9 months in Barcelona - if her mother agrees.
    – BeNice
    Commented Jul 21, 2015 at 3:15
  • Just holding out for a Spanish - ah well. Think I will tweak the whole system to avoid the problem! Thanks for the steer.
    – BeNice
    Commented Jul 21, 2015 at 20:42

Some other English & machine readable Offensive Word Lists:

From abbo to zipperhead


Google provides an API for checking a word:



{"response": "true"}

Shuttershock has word lists for filtering:


Bad words, in TXT and SQL formats


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.