Why Word Spell Checker Accepts Offensive Words and How to Fix It
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.

- 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.
Compile a list of the specific offensive or vulgar words you want the system to flag before modifying your spell check dictionary settings.
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.
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.
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.
Right-click the targeted .lex file, select 'Open with', and choose 'Notepad' or another basic plain text editor.
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.
Save the text file and close Notepad. Completely restart Microsoft Word. The spell checker will now highlight the words you added as misspelled.

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. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the application: Run the downloaded installer and follow the simple on-screen instructions to set up WPS Office on your device.
- 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.

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.




