36

I'm trying to find the dictionary file for Google Chrome on OS X - I'd like to remove certain words from the dictionary so that I don't use them when writing email (such as 'foolish' for example).

In Firefox, this was a simply a matter of editing the dictionary file, but I'm not sure were I would find it in Chrome?

25

It doesn't appear that there is a user-editable file with the default dictionary in it. I just looked through the .app folder and saw nothing like a dictionary. Also, ~/Library/Application\ Support/Google/Chrome/Dictionaries/ doesn't list any dictionaries.

OS X

The file for the custom dictionary is:

/Users/<username>/Library/Application Support/Google/Chrome/Custom Dictionary.txt

You may also find it at:

/Users/<username>/Library/Application Support/Google/Chrome/Default/Custom Dictionary.txt

In the comments, it's mentioned that you can find “misclicks” here, too, which is related to how OS X handles its dictionary:

/Users/<user>/Library/Spelling/LocalDictionary

Windows XP and Windows 7/Vista

It appears it's in (for Windows XP and Vista/7, respectively):

C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Custom Dictionary.txt
C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Custom Dictionary.txt

Linux

The location depends on whether you're running Chromium or Google Chrome

Chrome: /.config/google-chrome/Default/Custom Dictionary.txt

Chromium: /.config/chromium/Default/Custom Dictionary.txt


If you are using a non-default profile, instead of the directory named Default, check for a directory named Profile n where n is a number starting from 1.

  • 2
    In my case, it is in ...\Chrome\User Data`Default`\Custom Dictionary.txt – ROMANIA_engineer Nov 19 '14 at 14:36
  • I am adding this because I misread the previous statement as a folder name User Data Default instead of two folders User Data\Default C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Custom Dictionary.txt. This is in Windows 7 and using Chrome 44.0.2403.125. – JabberwockyDecompiler Aug 4 '15 at 15:01
  • I second @helpYou. Perhaps it changed for Yosemite or other new versions of OS X? It's worth a +1 if anyone figures that out. – intcreator Aug 23 '15 at 0:53
  • Maybe you know where is this dictionary at Linux? – Vitaly Zdanevich Feb 10 '16 at 11:18
  • @VitalyZdanevich Probably ~/.config/google-chrome/Custom Dictionary.txt. Please confirm if that's where it is. – slhck Feb 10 '16 at 12:27
19

For future reference, I found it under:

/Users/username/Library/Application Support/Google/Chrome/Default/Custom Dictionary.txt

OSX Lion 10.7.4
Chrome 19.0.1084.56
June 2012

  • Still in the Chrome/Default/ folder on nearly four years later on Yosemite. :) – Zlatty Mar 15 '16 at 15:18
  • 1
    Works on El Capitan too. – WilliamKF Apr 28 '16 at 1:40
  • 1
    Also you may want to correct it in: ~/Library/Spelling/LocalDictionary too – WilliamKF Aug 22 '16 at 0:49
12

Add a new word to the dictionary

If the spell-checker keeps underlining a word that you often use, right-click the word and select Add to dictionary.

Windows, Chrome OS, and Linux only: Words that you choose to add to the dictionary are added to your "Custom spelling dictionary".

Edit your Custom spelling dictionary

  1. Click the Chrome menu on the browser toolbar.

  2. Select Settings.

  3. Click Show advanced settings.

  4. In the "Languages" section, click Languages and input settings.

  5. Click Custom spelling dictionary.

  6. In the open text field, type the new word that you want to add. To remove a word that you've previously added, hover over the word and click X.

  7. Click Done.

Source: https://support.google.com/chrome/answer/95604?hl=en Checked: October 4, 2014. Rechecked May 26, 2015.

enter image description here

  • 1
    This is no longer correct. I saw no link when I accessed the Language link from settings. – slm Jul 15 '16 at 2:26
3

This accepted answer is incorrect or out-of-date w/r/t Google Chrome on Windows. This is where Google Chrome version "31.0.1650.63 m" actually stores the custom dictionary:

\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Custom Dictionary.txt

It's just a text file, with LF-only line terminations, and a list of words in case-sensitive alphabetical order, one per line. There's a checksum at the end, with no LF at the end of that line.

There's also a backup version, in the same folder, named "Custom Dictionary.txt.backup".

According to this https://chromiumcodereview.appspot.com/11414282 if the checksum fails to match in the regular version of the Custom Dictionary, and there's a backup version with a correct checksum, Chrome will silently discard the regular version and revert to the backup version.

Maybe that's be why Chrome keeps losing my custom dictionary words. :-(

So I think if you want to edit the custom dictionary file (e.g., to remove misspelled words), you'll need to delete the backup version, to prevent Chrome from reverting to it. (Note: I've not actually done this.)

  • 1
    I checked and this answer is correct. FYI, when I opened the files (in notepad++) I discovered that each line appears twice - I do not know why. The last line in my case with the checksum, looks like this: checksum_v1 = d9d0767ba5ff29b6c0f1862e88a0d646 – yosh m Nov 12 '14 at 8:50
  • This answer is now incorrect. – slm Jul 15 '16 at 2:24
  • What is incorrect, slm? I just checked, and on my computer the dictionary is still: \Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Custom Dictionary.txt – Dave Burton Jul 16 '16 at 5:44
0

Location of Custom Dictionary.txt on MAC has changed yet again. This is due to the fact that Chrome now supports multiple user profiles.

It is now:

/Users/username/Library/Application Support/Google/Chrome/Profile 1/

Profile 1 will change based on which account is used.

  • Browser: Chrome 49
  • OS: Mac OS X El Captan 10.11.2
0

The actual dictionary is baked into the browser when it is compiled, so you can't normally find or edit it without re-compiling Chrome yourself. That said, there are a bunch of dictionaries, and they're all listed here:

https://cs.chromium.org/chromium/src/third_party/hunspell_dictionaries/

  • I don't understand why this answer received a downvote: my dictionary file is located at %LOCALAPPDATA%\Google\chrome\Application\Dictionaries\en-US-8-0.bdic. The convert_dict tool would be required to create a new binary .bdic file with words removed. Custom Dictionary.txt seems to only support adding words. – davidmneedham May 6 at 20:22

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