Office Settings & Configuration

Why Word Spell Checker Accepts Offensive Words and How to Fix It

Natalie TaylorNatalie Taylor Oct 29, 2026 871 views

Question details

The user wants to know why Microsoft Word does not flag offensive, vulgar, or questionable words during a spell check and needs a method to force the program to mark these specific terms as misspelled.

How to Stop Word Spell Checker from Accepting Offensive or Vulgar Words
Product
Microsoft Word
Device & OS
not provided
Scenario
Proofreading a document to ensure the language maintains a professional tone and contains no inappropriate or vulgar terminology.
Observed behavior
The default spell checker relies on a large probability-based dictionary and accepts many uncommon or vulgar terms as validly spelled words, ignoring their appropriateness or tone.
Before you start

Compile a list of the specific offensive or vulgar words you want the system to flag before modifying your spell check dictionary settings.

Solution 1Recommended

Create an Exclusion Dictionary to Flag Specific Words

Set up a custom exclusion dictionary to force Microsoft Word to treat specific correctly spelled words as misspelled errors.

Microsoft Word's spell check evaluates spelling validity, not tone or suitability. Because its primary dictionary is extremely large, validly spelled but inappropriate words are allowed to pass. To override this behavior, you can edit the customized exclusion dictionary for your language. This tells Word to treat those specific terms as spelling errors, prompting a red squiggly line.

1
Navigate to the Proofing folder

Open File Explorer on your computer, type '%AppData%\Microsoft\UProof' into the address bar at the top, and press Enter to access your Microsoft Office proofing files.

2
Locate the exclusion dictionary file

Find the exclusion dictionary file that matches your primary language. For example, 'ExcludeDictionaryEN0409.lex' is used for US English, and 'ExcludeDictionaryEN0809.lex' is for UK English.

3
Open the file in a text editor

Right-click the targeted .lex file, select 'Open with', and choose 'Notepad' or another basic plain text editor.

4
Add the offensive words

Type each vulgar, offensive, or inappropriate word you want Word to flag. Ensure you press 'Enter' after every single word so that each term is on its own separate line.

5
Save and restart Microsoft Word

Save the text file and close Notepad. Completely restart Microsoft Word. The spell checker will now highlight the words you added as misspelled.

Create an Exclusion Dictionary to Flag Specific Words
Formatting Matters: All words added to the exclusion dictionary must be typed in lowercase. The exclusion list will automatically apply to any capitalization variations of those words in your document.
Free Microsoft Office alternative

Try WPS Office for a Clean and Professional Writing Experience

If you are frustrated with managing hidden dictionary files to keep your documents professional, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly environment for creating and proofing documents without the hassle of deep configuration.

  1. 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the application: Run the downloaded installer and follow the simple on-screen instructions to set up WPS Office on your device.
  3. 3. Open and edit seamlessly: Launch WPS Writer, open your existing Word documents, and enjoy a professional writing and proofreading experience right out of the box.
Completely free to download and use for basic office tasksFully compatible with Microsoft Word documents (.doc and .docx formats)Built-in intuitive spell check and document proofing toolsLightweight design with a familiar, easy-to-navigate user interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does spell check ignore inappropriate words by default?

Spell checkers are designed strictly to identify whether a string of characters exists in their internal dictionary database. They evaluate spelling validity rather than judging meaning, tone, context, or appropriateness for a specific audience.

Will my exclusion dictionary affect other Microsoft Office programs?

Yes. The exclusion dictionary file in the UProof folder is shared across the Microsoft Office suite. Words that you flag in Microsoft Word will also be marked as misspelled in Outlook, PowerPoint, and Excel.

Can I share my exclusion dictionary list with my colleagues?

Yes. You can copy your customized 'ExcludeDictionary.lex' file and distribute it to your team members. They simply need to replace the default file in their own respective AppData\Microsoft\UProof folders to apply the same restrictions.