.SWM

SWM File

Split Windows Imaging Format (Split WIM)
Ask a question
QUICK ANSWER

A .swm file is a piece of a split Windows image (Split WIM). A large install.wim gets divided into install.swm, install2.swm, install3.swm... so it fits on FAT32 USB drives or DVDs that cannot hold files over 4 GB. You need all the parts together. To merge them back into one .wim, use Microsoft's DISM tool built into Windows.

Developer: Microsoft Category: Disk Image Files MIME: application/octet-stream
OPENS ON Windows Linux
Related: .BIN · .ISO · .MDF · .DMG

On this page

19k+ extensions indexed
Last reviewed Jun 15, 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 SWM file format?

.swm files are closely related to Windows Imaging Format (.wim) files and are used by Microsoft's imaging tools - originally ImageX, and now the built-in DISM command - to store fragments of a disk image created when a single .wim file is split into smaller parts.

WIM format was developed by Microsoft for Windows Vista and Windows Server 2008. The .swm format comes into play when a larger .wim file (sized for a DVD, for example) must be split into smaller pieces - each resulting part is assigned the .swm extension. Each .swm file retains the filename of the original .wim file with a numerical index appended: the first part is named install.swm, the second install2.swm, the third install3.swm, and so on. Only the first part carries the full WIM header; the remaining parts are continuation pieces and cannot be opened independently - the complete split set must be kept together.

Reassembling the original .wim image from its .swm parts is also possible. The modern approach uses DISM /Apply-Image /SWMFile:install*.swm; the legacy method relied on ImageX (part of the Windows AIK).

Every .swm file begins with the 8-byte magic signature MSWIM\0\0\0 (hex 4D 53 57 49 4D 00 00 00), identical to a standard .wim header.

.swm files are by default stored in the sources directory of each optical disc in a multi-disc deployment set.

Security & safety

RISK: MEDIUM

A .swm is passive image data and doesn't execute on its own, so opening/browsing it is safe. The real risk is integrity and trust: it contains a full Windows OS image that you may later install, so a .swm from an untrusted source could carry a tampered or pirated Windows build - only use install.swm sets from official Microsoft media or your own builds. Operationally, keep ALL parts together (a missing part makes the image unusable) and verify hashes when distributing. Beware anything named 'install.swm.exe' or fake 'SWM openers'.

Format details

in a nutshell
FULL NAMESplit Windows Imaging Format (Split WIM)
DEVELOPERMicrosoftsince WIM since Windows Vista (2006); SWM via ImageX, now DISM /Split-Image
MIME TYPEapplication/octet-stream
TYPEOne piece of a WIM disk image split into smaller parts (binary)
This extension is also used by…
  • Supportworks ESP message file - Hornbill/Supportworks IT-service-desk software used .swm for a message/template file - unrelated to Windows imaging and now legacy.
  • Simatic WinCC / misc app data - A few niche applications have used .swm for their own data; check the source app if it isn't a Windows image.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
4D5357494D000000
ASCII
MSWIM···
A WIM/SWM begins with the 8-byte magic "MSWIM\0\0\0" (4D 53 57 49 4D 00 00 00). The first split part (install.swm) carries the WIM header; subsequent parts (install2.swm, install3.swm, ...) are continuation pieces and may not be usable alone. The split set must be kept together to reassemble the original .wim.

Programs that open SWM files

Windows4 apps
7-Zip Open-source Open install.swm (the FIRST part) to browse/extract files from the image; works because 7-Zip understands the WIM/SWM container.
ExtractNow Free Batch extraction front-end; can unpack the image from the .swm set. Niche - 7-Zip/DISM are the mainstream choices.
DISM (built-in / Windows ADK) Built-in Merge: 'Dism /Export-Image /SourceImageFile:install.swm /SWMFile:install*.swm /SourceIndex:1 /DestinationImageFile:install.wim'. Apply: '/Apply-Image ... /SWMFile:install*.swm'.
ImageX (legacy, Windows AIK) Free Historical tool ('imagex /split' / '/ref') - superseded by DISM since Windows 8/ADK; use DISM instead.
Linux1 app
wimlib (wimtools) Open-source Cross-platform WIM/SWM library + CLI (wimapply/wimexport/wimsplit); apply or merge split images on Linux/macOS.

Technical details

deep spec
Magic signature`MSWIM\0\0\0` (hex `4D 53 57 49 4D 00 00 00`) at byte offset 0, shared with the parent `.wim` format
DeveloperMicrosoft
MIME type`application/octet-stream`
File structureBinary; each `.swm` file is a segment of a parent WIM archive split into sequential continuation pieces
Naming conventionParts follow the pattern `<name>.swm`, `<name>2.swm`, `<name>3.swm` - the first part carries no number suffix
Header locationOnly the first part (e.g., `install.swm`) carries the complete WIM XML metadata header; subsequent parts are headerless continuation data
Part dependencyAll parts of a split set must be present simultaneously to extract or apply the image
Splitting tool (current)`DISM /Split-Image /WimFile:<path>.wim /SWMFile:<dest>.swm /FileSize:<MB>` - built into Windows since Windows 8 and available via Windows ADK
Splitting tool (legacy)`ImageX /split` from the Windows Automated Installation Kit (AIK), superseded by DISM
Reassembly command`DISM /Apply-Image /ImageFile:<first>.swm /SWMFile:<name>*.swm /ApplyDir:<drive>:\` or `wimlib-imagex apply` on Linux
CompressionInherits the compression algorithm of the parent WIM (None, XPRESS, LZX, or LZMS); not re-compressed during the split
Default storage location`sources\` directory on each optical disc of a multi-disc Windows deployment set
Typical part sizeConfigurable via the `/FileSize` parameter; commonly set to approximately 4,700 MB to fit a single-layer DVD
Cross-platform supportReadable and mountable on Linux and macOS via `wimlib` (`wimlib-imagex`); Windows-native tools (`DISM`, `ImageX`) are Windows-only
ReleasedWIM since Windows Vista (2006); SWM via ImageX, now DISM /Split-Image
Specificationlearn.microsoft.com

SWM conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SWM files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SWM files.

Frequently asked questions

What is a .swm file?
It's a piece of a split Windows image (Split WIM). A large install.wim is broken into install.swm, install2.swm, install3.swm... so it fits on FAT32 USB drives or DVDs that can't hold files over 4 GB. The parts together equal the original .wim.
How do I open or extract a .swm file?
Open the FIRST part (install.swm) in 7-Zip to browse/extract files, since 7-Zip understands the WIM container. For deployment, use Microsoft's DISM to apply or merge the set - a single continuation part (install2.swm) can't be opened alone.
How do I merge .swm files back into a .wim?
Run: Dism /Export-Image /SourceImageFile:install.swm /SWMFile:install*.swm /SourceIndex:1 /DestinationImageFile:install.wim (with all parts in the same folder). On Linux/macOS, wimlib's wimexport does the same.
Why was my install.wim split into .swm files?
Because it was larger than 4 GB and your target media is FAT32 (required for UEFI USB booting on many PCs), which can't store a single >4 GB file. Tools like Rufus and DISM split it automatically into .swm parts.
Do I need all the .swm files?
Yes. Each part holds a portion of the image; the first has the header and the rest are continuations. Missing any part makes the image incomplete and unusable. Keep install.swm, install2.swm, etc. together.
Can I install Windows directly from .swm files?
Yes - Windows Setup and DISM can apply a split image: Dism /Apply-Image /ImageFile:install.swm /SWMFile:install*.swm /Index:1 /ApplyDir:W:\ . The Windows installer also handles split install.swm on USB media automatically.

References

1Microsoft - Split a Windows image (.wim) to span DVDs (SWM)learn.microsoft.com
2Microsoft - Split-WindowsImage (DISM PowerShell)learn.microsoft.com

Keep exploring

across the database

Top extensions this week

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

Related extensions

.BINCD/DVD Disc Image (BIN/CUE)
.ISOISO disc image (ISO 9660 / UDF)
.MDFMedia Descriptor File (Alcohol 120% / DAEMON Tools disc image)
.DMGApple Disk Image
.NRGNero Burning ROM Disc Image
.TIBAcronis True Image Backup

Free file tools

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

Open the toolbox

Browse file extensions A-Z