Thursday, May 10, 2007

Edit Firefox Custom Dictionary

Today I clicked to add a word to my Firefox dictionary by accident. After searching around everywhere in the Firefox menus, I couldn't find anywhere to edit the dictionary. Turns out you can't. So, browse to the following locations depending on your operating system:

Windows XP

C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\

Windows Vista

C:\users\[User Name]\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\

Mac OS X

~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/

Linux

~/.mozilla/firefox/xxxxxxxx.default/

Once you are in the correct location for your operating system, look for persdict.dat, and open it with your favorite text editor. In this file, you will see line-by-line all of the words you have manually added to the dictionary. Simply delete the entries you don't want.

Josh Phillips
ProVisionIT
www.provisionit.com

8 comments:

John said...

Many thanks for the tip! It's bad design that the "add word" option is right next to the list of spelling suggestions, it's so easy to select it by mistake.

Anonymous said...

Thank you for that. I couldn't find it anywhere either. Thankfully google brought me here :)

G.S. Tiernan said...

Thank you. This also allows for easy backing up of custom dictionary files or mass addition of uncommon names and words.

Anonymous said...

Many thanks, I had a search around myself but couldn't find it.

On older versions of Windows its at C:Windows\Application Data\Mozilla\Firefox\Profiles\******.default

Anonymous said...

Found this post via google searching for a way to fix my mistake. Many thanks!!!

James Hanna said...

Make sure you don't open with Notepad as it runs every word together. Use Word, Wordpad or another program.

Thanks for the tip!

Su said...

Lifesaver :)

Anonymous said...

Maybe UserDictSync will assist you keeping your user words be organized:
http://www.hfrmobile.com/app_UserDictSync_T1/index.htm

--hfrmobile