WinBif is a small utility program for handling Infinity Engine bif files. The bif file format is used with a number of games: Baldurs Gate, Baldurs Gate: Shadows of Amn, Baldurs Gate: Throne of Bhaal, Icewind Dale I & II and Planescape Torment. All versions of these games from, Steam, Beamdog, other online providers or from original retail CD/DVDs are supported.

  • Baldurs Gate
  • Baldurs Gate: Tales of The Sword Coast
  • Baldurs Gate: Siege of Dragonspear
  • Baldurs Gate II: Shadows of Amn
  • Baldurs Gate II: Throne of Bhaal
  • Icewind Dale
  • Icewind Dale: Trials of the Luremaster
  • Icewind Dale: Heart of Winter
  • Icewind Dale II
  • Planescape Torment


New: WinBif can now handle bif files (and rim, erf, mod, hak, nwn files) from other games: Jade Empire, The Witcher, Star Wars Knights of The Old Republic I & II and Neverwinter Nights.





  • View bif file contents, showing the resource name, type, index, locator and offset to data for file and tile entries.
  • Extract single or multiple selections of files stored in bif file to a specified folder.
  • Will try to automatically link to a chitin.key file to read resource name entries for a particular bif file.
  • Filter current list view by resource types.
  • Simulates file names for bif files that don't have a corresponding chitin.key file (or one that can't be located)
  • Opens compressed bifs/cbfs. Supports BIF V1.0 and BIFCV1.0 compression formats, automatically decompressing files as they are opened.
  • Opens rim, erf, mod, hak, nwm archive formats for listing content or extraction.
  • Windows explorer shell context menus for opening & extracting bif, rim and erf archives.


Thanks to Sam at the spellholdstudios forum for helping test WinBif

WinBif Downloads

  • WinBif Downloads +

    WinBif Readme (2016-04-03) File size: 5.09 KB
    WinBif-Setup.exe Version: (2016-04-03) File size: 1.18 MB
    WinBif Help Version: (2016-04-03) File size: 911.2 KB


    Note: you may need to unblock access to a file once you download it. Right click on it in windows explorer, select properties, click the unblock button.

  • WinBif History +


    • Feature - Added support for png file formats found in v2.0 EE versions of BG and BGII.



    • Feature - Added support for menu, lua and ttf file formats found in Siege of Dragonspear and v2.0 EE versions of BG and BGII.



    • Feature: Added support for wide (16 bytes) resource name entries in key files found in Jade Empire, SWKotoR I & II, Neverwinter Nights and The Witcher games.
    • Feature: Added support for BIF V1.1 format bif files from The Witcher game.
    • Feature: Added support for opening and extracting RIM V1.0, ERF V1.0, MOD V1.0, HAK V1.0 and NWM V1.0 archive file formats, which are found in other games.
    • Feature: Title bar now shows if opened bif file is compressed (in square brackets).
    • Feature: Main WinBif icon changes color to represent archive type opened.
    • Feature: Opening another file whilst one is already processing is prevented. Can close processing file instead, which cancels the current operation. This is done to prevent thread deadlocks that could occur previously.
    • Feature: Added icons to support extended list of resource types found in all supported archives.
    • Feature: Added support for compressing and decompressing bif files.
    • Feature: Added batch processing dialog for compressing and decompressing bif files.
    • Feature: Added shell extension support for opening/extracting rim and erf archives.
    • Internal: Large bif file support. Bif archives > 538MB up to 4GB (2^32) in size will use internal large bif file mapping functions.
    • Internal: Added support for KEY V1.1 file format found in The Witcher game.
    • Internal: Added wide (16 bytes) resource name support to key library.
    • Internal: Added support for resolving and locating other key files: <bifname>.key, main.key, patch.key and '00' terminated bif filenames (The Witcher)
    • Internal: Rewrote opening and closing archives routines to account for new archives.
    • Internal: Added functions for processing and extracting rim and erf archives.
    • Internal: Added functions to verify archive types opened via shell / cmdline.
    • Internal: Re-organised internal bif library to compile seperate objs for future use.
    • Internal: Moved resource handling functions from bif library to seperate res library.



    • Bugfix - Tiles now extract with proper TIS header included.
    • Internal - Libraries updated in preparation for supporting other KEY/BIF formats.



    • Bugfix - Resolved crash related to opening a bif file from explorer.
    • Bugfix - bif opened via command line showed other toolbar buttons that normally are disabled (extract button for example) whilst opening & processing bif, this could allow user to try to extract bif and possibly crash as a result.
    • Feature - Adjusted logic to find help file location better.
    • Feature - Adjusted command line extract dialog to allow for minimize during operation.
    • Feature - Updated various info text relating to extractions and cancelling/aborting.



    • Bugfix - Resolved stack corruption exception when closing bif files and/or exiting winbif with a bif file open. Memory pointer to internal structure was being overwritten and caused GlobalFree to crash.



    • Debugging - Debug version to track nature of stack corruption exception crash.



    • Bugfix - Fixed issue with directory paths when extracting.
    • Installer - Installer now will only remove previous winbif.ini if it hasn't been modified when performing any updates. Previously it would remove and replace it with a default one thus resetting any user settings back to default. Now it will leave it intact when any upgrades are installed.



    • Bugfix - Fixed crash when closing a bif file as it was opening and processing.



    • Bugfix - Fixed issue that allowed extract via button/menu when filter showed 0 items.



    • Release - first release of WinBif.
  • 1

WinBif Information

  • WinBif Notes +

    The latest version of WinBif is v1.0.1.2

    Last Updated On 03/04/2016

    WinBif is a 32bit program for:

    • Windows XP
    • Windows Vista
    • Windows 7 (32bit & 64bit)
    • Windows 8 (32bit & 64bit)

    WinBif will create a WinBif.ini file in the a specific folder depending on your operating system:

    • Win 2K/NT/XP: current folder that the WinBif.exe is ran from
    • Windows Vista: C:\Documents & Settings\<Your Username>\Application Data\WinBif folder
    • Windows 7: C:\Users\<Your Username>\AppData\Roaming\WinBif folder

    All settings can be modified by the options dialog or by directly editing the WinBif.ini file.

  • 1

Login Form