XPI is a file extension associated with the XP Installer Package, which comes along with Mozilla and Firefox. An XPI file is a compressed file which both programs can open, and is usually used to download and install software components or extensions.