System and App File Extensions: DLL, DMG, APK, MSI, TMP and More
System and app files install software, store settings and hold temporary data. Some, such as installers and scripts, run code, so only open them from sources you trust, and do not delete system files you did not create.
- .dat (Generic Data File): Program settings, caches and save games
- .tmp, .temp (Temporary File): Scratch space for installers, updates and archive extraction
- .bin, .cue (Binary File): CD and DVD disc images with a matching .cue file
- .dll (Dynamic Link Library): Shared code used by Windows and installed programs
- .apk, .xapk, .apks (Android Package): Installing apps not available in your country's Play Store
- .jar (Java Archive): Minecraft: Java Edition mods and servers
- .dmg (Apple Disk Image): Installing Mac apps downloaded from developer websites
- .ini (Initialization File): Game settings such as graphics, controls and mods
- .bat, .cmd (Windows Batch File): Automating repetitive tasks like backups and file copies
- .msi, .msp (Windows Installer Package): Installing desktop software on Windows
- .crdownload, .part, .download (Chrome Partial Download): Temporary storage of a file while Chrome or Edge downloads it
- .cfg, .conf (Configuration File): Game settings, key bindings and autoexec scripts
- .log (Log File): Troubleshooting crashes, installs and updates
- .lnk (Windows Shortcut): Desktop and Start menu shortcuts to programs
A .dat file is a generic data file whose contents depend entirely on the program that created it. It may be text, a video, a game save, a database or an email attachment such as winmail.dat. There is no single DAT format, so the right app depends on where the file came from.
A .tmp file is a temporary file that a program creates while it works, to hold data, a backup or a partial download. Most are deleted automatically when the program closes. Leftover TMP files are usually safe to remove, but a TMP next to a document you were editing can sometimes recover lost work.
A .bin file is a generic binary file: raw data meant for a program or device rather than for people to read. Common types are CD and DVD disc images (usually paired with a .cue file), firmware updates for routers and other hardware, and game ROMs. What opens it depends on where it came from.
A .dll file is a Dynamic Link Library: a file of compiled code and resources that Windows programs load while they run. Many programs can share one DLL, which saves memory and disk space. DLLs are not opened by double-clicking; errors about a missing DLL are fixed by reinstalling the program or runtime that provides it.
A .apk file is an Android Package: the file format used to install apps on Android phones, tablets and TVs. It is a signed ZIP archive containing the app's code, resources and manifest. Installing an APK from outside the Play Store is called sideloading and requires allowing installs from that source first.
A .jar file is a Java Archive: a ZIP-based package of compiled Java classes, resources and a manifest. Some JARs are runnable programs started with Java; others are libraries used by other Java programs. Minecraft mods, Minecraft servers and many developer tools are distributed as JAR files.
A .dmg file is an Apple disk image, the usual way Mac apps are distributed outside the App Store. Double-clicking it mounts it like a virtual drive in Finder, where you typically drag the app into the Applications folder. DMGs can be compressed and encrypted, and only Macs open them natively.
A .ini file is a plain-text configuration file that stores settings as key=value pairs grouped under [Section] headings. Windows programs, games and many cross-platform tools use INI files for options such as resolution, paths and preferences. Any text editor, including Notepad and TextEdit, can open and edit them.
A .bat file is a Windows batch script: a plain-text list of Command Prompt commands that run one after another when you double-click it. Batch files automate tasks such as copying files, launching programs or changing settings. The .cmd extension works almost the same. They run with your permissions, so only run trusted ones.
A .msi file is a Windows Installer package, a standard format for installing, repairing and removing software on Windows. Unlike a setup .exe, an MSI is a database that Windows Installer (msiexec) reads to copy files and create shortcuts and registry entries. IT departments prefer MSIs because they install silently and consistently.
A .crdownload file is an incomplete download in Google Chrome (and Chromium browsers such as Microsoft Edge). Chrome writes the file under this temporary name while it downloads, then renames it to the real file name when it finishes. If the download fails or is canceled, the CRDOWNLOAD stays behind.
A .cfg file is a configuration file that stores settings for a program, game or device, usually as plain text. There is no single CFG format: some use key=value lines like INI, others lists of commands or JSON-like blocks. Notepad, TextEdit or VS Code open them; the owning program decides what each line means.
A .log file is a plain-text record that a program writes as it runs, usually one line per event with a timestamp, a level such as INFO or ERROR, and a message. Logs help diagnose crashes and failed installs. Any text editor opens them; on a Mac, the Console app is built for reading logs.
A .lnk file is a Windows shortcut: a small file that points to another file, folder or program, shown with a small arrow on its icon. Double-clicking it opens the target. Windows hides the .lnk extension even when file extensions are shown, which attackers exploit by disguising shortcuts as documents.
See all file extensions, or rename many files at once with the free online bulk renamer.