What Is a .EXE File?
A .exe file is a Windows executable: a compiled program that runs when you open it. Installers, apps and games on Windows are EXE files. Because running one gives it the same access to your computer that you have, only open EXE files from sources you trust. Macs, iPhones and Android cannot run them natively.
- Extension
- .exe
- Full name
- Windows Executable
- Type
- Code and web file
- MIME type
- application/vnd.microsoft.portable-executable
- Developed by
- Microsoft
About EXE files
EXE files use Microsoft's Portable Executable format, which contains machine code, resources such as icons, and information Windows needs to load the program. Many are installers that unpack and set up an application; others are portable apps that run directly. Developers can digitally sign an EXE so Windows shows a verified publisher in the security prompt.
EXE files are the most common carrier of malware on Windows. Microsoft Defender SmartScreen warns about downloaded programs that are unsigned or rarely seen, and many email services block EXE attachments outright. Warning signs include a double extension like invoice.pdf.exe, an unexpected attachment, a program inside a ZIP when you expected a document, or a download from a site other than the developer's own. Uploading a file to VirusTotal checks it against many antivirus engines.
On a Mac, an EXE will not run because macOS uses a different executable format. Options include running Windows in a virtual machine such as Parallels Desktop, compatibility layers like CrossOver or Wine for some programs, or finding the developer's Mac version. On Windows, 7-Zip can often open an installer EXE like an archive to inspect or extract its files without running it.
What EXE files are used for
- Installing software, drivers and games on Windows
- Running portable apps from a folder or USB stick
- Windows system programs (explorer.exe, notepad.exe)
- Self-extracting archives and firmware updaters
How to open a .exe file
Windows
Double-click to run it, after checking that it came from the official developer. Right-click > Properties > Digital Signatures shows who signed it.
Mac
macOS cannot run EXE files. Look for a Mac version, or use Parallels Desktop with Windows, or CrossOver or Wine for some programs.
iPhone, iPad and Android
Phones and tablets cannot run Windows EXE files; get the developer’s mobile app instead.
Any platform
To look inside without running it, open the EXE with 7-Zip (Windows) or Keka (Mac); many installers are archives underneath.
How to convert a .exe file
An EXE cannot be converted into a Mac app or an Android APK; the program has to be built for that platform by its developer.
If you only need the files inside an installer, 7-Zip can often extract them without running setup.
Renaming a file to or from .exe does not change what it is, and renaming a program to hide its extension is a classic malware trick.
Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.
Naming and renaming EXE files
- Turn on File name extensions in File Explorer (View > Show > File name extensions) so you can spot disguised names like photo.jpg.exe.
- When keeping installers, include the app name, version and architecture (setup-appname-3.2.1-x64.exe) so you know which one to reinstall later.
- Do not rename system executables or those inside program folders; shortcuts, updates and other programs refer to them by exact name.
Renaming lots of .exe files? Use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.
Related file types
A .zip file is a compressed archive that bundles one or more files and folders into a single, smaller file. It uses lossless compression, so everything comes back exactly as it was when you extract it. Windows, macOS, iPhone, Android and Chromebooks all open ZIP files without installing anything.
A .iso file is a disc image: an exact, sector-by-sector copy of a CD, DVD or Blu-ray stored as a single file. It is named after the ISO 9660 file system standard. Operating system installers for Windows and Linux are distributed as ISOs, which you can mount, burn to disc or write to a USB drive.
A .ps1 file is a PowerShell script, the file extension Microsoft uses for scripts written in its PowerShell command-line language. It contains plain text commands that automate Windows and server administration tasks. Double-clicking a .ps1 opens it in Notepad rather than running it, a deliberate safety measure.
A .js file is a JavaScript source code file. Websites load JS files to add interactivity, and Node.js runs them as programs and tools on servers and computers. It is plain text you can read in any editor. Be careful: on Windows, double-clicking a .js file can run it as a script.
Frequently Asked Questions
Is it safe to open a .exe file?
Only if it comes from a source you trust, such as the developer’s official site or the Microsoft Store. An EXE runs with your permissions and can install malware.
How do I open an EXE file on a Mac?
Macs cannot run EXE files directly. Use a Mac version of the app, a Windows virtual machine such as Parallels Desktop, or CrossOver or Wine for compatible programs.
How can I check if an EXE is a virus?
Check the digital signature in Properties, scan it with Microsoft Defender, and upload it to VirusTotal before running it.
Can I convert an EXE to a different format?
No. An EXE is compiled for Windows. You can extract files from some installers with 7-Zip, but not turn the program into a Mac, iPhone or Android app.