.EXE

EXE File

Windows Executable (Portable Executable)
Ask a question
QUICK ANSWER

An EXE file is a Windows executable program. On Windows, double-click it to run. On Mac or Linux, use CrossOver or Wine - EXEs don't run natively outside Windows. EXE is the most common malware delivery format on Windows, so only run files from sources you trust.

Developer: Microsoft Category: Executable Files MIME: application/vnd.microsoft.portable-executable
OPENS ON Windows macOS Linux
Related: .APK · .VBS · .JAR · .EX4

On this page

19k+ extensions indexed
Last reviewed Jul 9, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the EXE file format?

A file with the .exe extension contains a compiled program and its resources for Microsoft Windows, DOS, or (historically) OS/2. .exe files can store applications, games, installers, or malware. They can be launched from the command line or via the GUI by double-clicking. .exe files are system-dependent - they store data in binary format, and their internal signature determines the executable sub-type.

Every .exe starts with the two-byte magic signature MZ (hex 4D 5A) at offset 0, named after its co-designer Mark Zbikowski. Modern Windows executables additionally carry a PE\0\0 signature at the offset stored at position 0x3C, confirming the file as a Portable Executable. There are five main historical .exe sub-formats:

  • MZ - 16-bit format native to DOS.
  • NE - 16-bit "New Executable" format used by 16-bit Windows (1.x-3.x) and OS/2 1.x; cannot run on bare DOS, but is supported by 32-bit Windows compatibility layers and OS/2.
  • LX - 32-bit format for OS/2 2.0 and later.
  • LE - 16/32-bit format mainly used for VxD drivers in older Windows systems (those released before year 2000).
  • PE - "Portable Executable", covering both 32-bit (PE32) and 64-bit (PE32+) versions; introduced with Windows NT and the dominant format today. ARM and ARM64 variants extend PE for Windows on ARM devices.

.exe files can store resources such as icons, dialogs, version information, audio, and application manifests. It is important to remember that not all types of .exe files can be executed on a given system, as such files are platform-dependent. To run an .exe on a different operating system, an appropriate emulation tool such as Wine or CrossOver is required. Self-extracting archives also use the .exe extension, beginning with an MZ/PE stub and carrying a ZIP archive, 7z, or CAB payload internally.

Modern Windows .exe files commonly carry an Authenticode code signature to verify publisher identity, and the OS enforces security features including ASLR, DEP/NX, and Control Flow Guard. Imports from .dll files are resolved at load time by the Windows PE loader. .exe files from unknown or untrusted sources must be handled with care, because they carry a risk of malware infection if executed.

Security & safety

RISK: HIGH

EXE is the #1 malware vector on Windows: it can run any code with your privileges, so viruses, trojans, ransomware and 'cracks/keygens' are typically EXE files. Safety checklist: only run EXEs from the official vendor or a trusted store; before running, check the digital signature (right-click → Properties → Digital Signatures) - legitimate software is code- signed and the publisher name matches; be very suspicious of EXEs arriving by e-mail, chat, or bundled with 'free' downloads. Windows SmartScreen and antivirus warnings on an unrecognized EXE should be taken seriously. To inspect a download without executing it, open it as an archive in 7-Zip, or scan it on VirusTotal. Watch for double extensions like 'invoice.pdf.exe' and EXEs disguised with document icons.

Format details

in a nutshell
FULL NAMEWindows Executable (Portable Executable)
DEVELOPERMicrosoftsince 1985 (MS-DOS MZ); PE format since Windows NT 3.1, 1993
MIME TYPEapplication/vnd.microsoft.portable-executable
TYPEBinary executable (PE / Portable Executable; legacy MZ/DOS)
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001
HEX
4D5A
ASCII
MZ
Every EXE starts with "MZ" (4D 5A) at offset 0. Modern Windows EXEs are Portable Executable files: at offset 0x3C a 4-byte pointer gives the offset of the PE header, where the signature "PE\0\0" (50 45 00 00) appears. So "MZ" alone = any DOS-era or Windows executable; the "PE" signature confirms a 32/64-bit Windows binary. Self- extracting archives still begin with MZ even though their payload is a ZIP/7z/CAB.

Programs that open EXE files

Windows3 apps
7-Zip Open-source Right-click → 7-Zip → Open archive to inspect/extract an installer or self-extracting EXE WITHOUT running it.
Resource Hacker Free Open the EXE to view/edit its resources (icons, version info, dialogs) without executing the code.
Windows (built-in) Built-in Double-click the EXE to run it; for installers, follow the setup wizard. If SmartScreen blocks it, click 'More info' only when you trust the source.
macOS3 apps
Parallels Desktop Paid Run a full Windows VM (Windows 11 ARM on Apple Silicon), then run the EXE inside Windows as normal.
CrossOver Paid Install CrossOver, then 'Install a Windows Application' and point it at the EXE; it runs without a full Windows install. Commercial, funds Wine.
Wine Open-source Free compatibility layer: 'wine program.exe'. Works for many apps; CrossOver is the supported commercial build.
Linux3 apps
CrossOver Paid Commercial Wine build with support and per-app profiles; install the EXE through its GUI.
Wine Open-source Run 'wine setup.exe' (or double-click in a file manager configured for Wine). Use Lutris/PlayOnLinux as front-ends for games.
7-Zip / p7zip Open-source Extract a self-extracting/installer EXE to inspect contents without running it.

Technical details

deep spec
Magic bytesMZ (4D 5A) at offset 0; the PE signature PE\0\0 (50 45 00 00) appears at the offset stored in the MZ stub at 0x3C
MIME typeapplication/vnd.microsoft.portable-executable
Architecture supportx86 (32-bit), x86-64/AMD64 (64-bit), ARM, ARM64; the target machine is encoded in the COFF File Header Machine field
Sub-format variantsMZ (MS-DOS 16-bit), NE (16-bit Windows/OS/2 1.x), LX (OS/2 2.x 32-bit), LE (VxD drivers), PE32 (32-bit Windows), PE32+ (64-bit Windows)
PE section layoutSections include .text (executable code), .data (initialized data), .rdata (read-only data), .rsrc (resources), and .reloc (base relocations)
Entry pointRelative virtual address (RVA) of the first instruction, stored in AddressOfEntryPoint in the PE Optional Header
Import tableLists the DLLs and named or ordinal function exports the binary requires; resolved by the Windows loader at startup
Export tableOptionally exposes functions or data symbols for use by other executables or DLLs; present mainly in DLLs but occasionally in EXEs
Resource section (.rsrc)Embeds icons, bitmaps, dialogs, string tables, version information, and application manifests in a typed/named/language-tagged tree
Code signingAuthenticode (PKCS#7/CMS) digital signature stored in the Security Directory; validated by Windows SmartScreen, UAC, and the kernel at driver load time
Security mitigationsDllCharacteristics flags in the Optional Header enable ASLR, DEP/NX, Control Flow Guard (CFG), SafeSEH, and High-Entropy VA for 64-bit binaries
PE checksumFour-byte CheckSum field in the Optional Header; enforced by the Windows loader for kernel-mode drivers and system files
Subsystem typesWindows GUI, Windows console (CUI), native (kernel-mode), EFI application, EFI boot service driver, EFI runtime driver
Self-extracting archive useSFX packages embed a ZIP, 7z, or CAB payload after the PE stub; the file runs as a normal executable and unpacks automatically
Released1985 (MS-DOS MZ); PE format since Windows NT 3.1, 1993
Specificationlearn.microsoft.com

EXE conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with EXE files. Be specific - include your system and software version.
No account needed · answers usually within a day
U
UNANSWERED Hoe exe bestand downlouden Win 11 voor adobe elem24 d agoUNANSWERED
jj 8 d ago UNANSWERED how to install apk on android when advanced protection is on and the myfiles app wont let me set the install unknown apps setting be turned on Waiting for an answer Reply U
Waiting for an answer
J
jjAug 2026UNANSWERED
how to install apk on android when advanced protection is on and the myfiles app wont let me set the install unknown apps setting be turned on
Waiting for an answer
U
UNANSWERED Hoe exe bestand downlouden Win 11 voor adobe elemAug 2026UNANSWERED
P Paula 17 d ago UNANSWERED Hoe exe bestand downlouden Win 11 voor adobe elements Waiting for an answer Reply Preguntas frecuentes
Waiting for an answer
D
d ago UNANSWERED Hoe exe bestand downlouden Win 11 voor adobAug 2026UNANSWERED
Hoe exe bestand downlouden Win 11 voor adobe elements Waiting for an answer Reply
Waiting for an answer
P
PaulaAug 2026UNANSWERED
Hoe exe bestand downlouden Win 11 voor adobe elements
Waiting for an answer

Frequently asked questions

How do I open an EXE file on Mac?
EXE files don't run natively on macOS. Use CrossOver (paid, easiest) or free Wine to run many Windows apps, or run a full Windows VM with Parallels Desktop. Note: the popular free wrapper Whisky ended development in April 2025.
Can I run an EXE file on Android?
Not directly - Android uses a different executable format. There is no reliable way to run desktop Windows EXEs on a phone; look for an Android (APK) version of the app instead. PC-emulation apps exist but are slow and rarely work for real software.
How do I open an EXE file without running it?
If it's an installer or self-extracting archive, open it with 7-Zip (right-click → 7-Zip → Open archive) to see and extract its contents. To view its icons/version info, use Resource Hacker. A normal compiled program can't be 'opened' as a document - there's nothing inside but code.
Is it safe to open EXE files?
Only if you trust the source. An EXE can execute anything on your PC, so it's the main way Windows malware spreads. Check the digital signature, prefer official downloads, and scan unknown files with antivirus or VirusTotal before running.
Why won't my EXE file run?
Common causes: antivirus or SmartScreen blocked it, it's a 64-bit program on a 32-bit Windows (or vice versa), the file is corrupted/incompletely downloaded, or the .exe file association is broken (often after malware). 'Not a valid Win32 application' usually means a damaged download - re-download it.
Can I convert an EXE to a Mac APP?
No. The two are compiled for different operating systems and CPUs; no converter can translate them. Run the EXE through CrossOver/Wine, or find a native Mac version of the program.

References

1Microsoft - PE Format specificationlearn.microsoft.com
2Microsoft - SmartScreen & Authenticode code signinglearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.EXEWindows Executable (Portable Executable)
4.PARTPartial Download File
5.BINCD/DVD Disc Image (BIN/CUE)
6.DATProgram Data File (generic)
7.RPMSGRestricted Permission Message
8.TXTPlain Text File
9.MDMarkdown Document
10.NOMEDIAAndroid No-Media Marker File

Related extensions

.APKAndroid Package
.VBSVBScript file (Visual Basic Script)
.JARJava Archive
.EX4MetaTrader 4 Compiled Program (Expert Advisor / Indicator / Script)
.APPXMicrosoft Windows App Package (AppX)
.AIRAdobe AIR Application Installer Package

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z