Win32 Disk Imager logo Win32 Disk Imager
GPL-2Raw image reader & writer for Windows

Win32 Disk ImagerSimplify USB Writing, Image Restoration, and Disk Operations

Win32 Disk Imager offers a reliable Windows utility for writing raw disk image files to USB drives and removable storage media. Simplify bootable device preparation, image restoration, and storage management through an intuitive imaging experience built for precision and performance.

  • Read · Write · Verify
  • MD5 / SHA-1 / SHA-256
  • Windows XP – 11
Partition mapone card, five jobs
Sector 0MBR / GPT
Read → .imgfull or allocated only
Write → devicebyte-exact copy
Verifyimage vs card
HashMD5 · SHA-1 · SHA-256
LBA 0001What it is

What is Win32 Disk Imager?

Win32 Disk Imager is a small Windows program that copies a disk image onto removable media, or copies removable media into a disk image, one sector at a time. It doesn't care what file system is on the card: FAT32, ext4, a hidden boot partition, even data Windows can't read at all goes across exactly as it is.

That is why it became the standard answer for single-board computer users, embedded developers and anyone restoring firmware cards. Most operating system images for small boards ship as a raw .img, and Windows Explorer can't put one onto a card. Copying the file onto the card just leaves a file sitting on it. Win32 Disk Imager opens the physical device directly and lays the image down from sector 0 onward, partition table included.

The original project is maintained on SourceForge and built with Qt; its 1.0 release added Verify Only, SHA-1 and SHA-256 hashes and the Read Only Allocated Partitions option. The GitHub source offered on this site is a native Win32 rewrite of the same tool. It keeps the interface and features, drops the Qt runtime so the executable is very small, runs as far back as Windows XP, and can target either a whole USB device or a single partition on it.

Think of it as a photocopier for storage media. It copies every byte exactly as it is, including the parts Windows can't see.

Win32 Disk Imager Properties
Hex view of sector 0 on a removable drive next to a USB stick and an SD card
Type
Raw disk image reader / writer
Works on
SD, microSD, SDHC/SDXC, USB flash drives
Image format
Uncompressed raw (.img, .bin, hybrid .iso)
Checksums
MD5, SHA-1, SHA-256
Licence
GNU GPL v2, free
Runs on
Windows XP to Windows 11
LBA 0002Features

Eight jobs, one small window

There are no wizards, no account and no background service. Each control in the window does one job, and the result lands either as a file on your PC or as a raw copy on the device.

Blocks of an image file compared against blocks read back from a device, with a matching result
0x00–0x3F

Verify Only: proof, not hope

Verify compares the image file against the device byte by byte and reports the first mismatch. It reads only as much of the card as the image covers, so checking a 2 GB image on a 32 GB card takes as long as 2 GB, not 32. Run it after every write you care about. A fake-capacity card or a tired reader will usually show up here before it shows up as a corrupt boot.

0x40

Write image to device

Lays a raw image onto an SD card or USB stick from sector 0, partition table and boot code included.

0x48

Read device to image

Turns a working card into a .img file you can archive, duplicate or restore after an update goes wrong.

0x50

Built-in hashing

Generate MD5, SHA-1 or SHA-256 for the selected file and compare it with the checksum the publisher lists.

0x58

Allocated partitions only

Reads to the end of the last defined partition, so a 4 GB system on a 64 GB card gives you a 4 GB backup.

0x60

Device or partition

The native build can target a whole USB device or one partition on it, and shows the size of each.

0x68

Tiny footprint

No Qt runtime in the native fork. It is a single small executable that starts instantly, even from a USB stick.

0x70

Remembers your folder

The last image folder is kept between sessions, so repeat flashing is just Browse, Write, done.

0x78

Safe device list

Only removable media appear in the Device box, which keeps your system drive out of reach by default.

LBA 0003How it works

The data path, from file to flash

Behind the five buttons there is one simple loop. Windows locks the volume, the program streams fixed-size sector blocks between your file and the physical device, and then it releases the lock so Windows can mount the result.

SOURCE

Image file

An uncompressed .img on your PC. Its size sets how many sectors get written.

TARGET

Physical device

Opened as \\.\PhysicalDriveN after its volume is locked and dismounted.

READ

Device → file

Copies every sector, or only up to the last partition, into a new image at the path you typed.

WRITE

File → device

Overwrites the card from sector 0. Whatever was on it before is gone, partition table included.

VERIFY

File ⇄ device

Reads the device back and compares it with the image. It changes nothing and is safe to repeat.

HASH

File → digest

Calculates MD5, SHA-1 or SHA-256 of the image so you can match it against the published value.

LBA 0004Installation

From ZIP to first write

The download below is the source archive of the native Win32 build. Building it takes one Visual Studio session. If you'd rather not compile anything, the original installer is still published on the SourceForge project page.

Setup Wizard5 steps · ~15 minutes

Download the source archive

Use the download button further down this page. It fetches Win32DiskImager-master.zip straight from the GitHub repository, which is the current state of the master branch.

  • Save it somewhere short, such as C:\src\. Deep paths inside Downloads can trip older build tools.
  • If your browser flags the archive, check that the address starts with github.com/znone/.
  • Prefer a ready-made installer? Get the 1.0.0 build from the official SourceForge files page and skip to step 5.
LBA 0005Use cases

Where it earns its place on the desk

The tool is narrow on purpose. These four jobs account for nearly every time people reach for it.

Single-board computer with an SD card slotted into its edge
E:\

Flash single-board OS images

Write Linux distributions, media-centre builds and retro-gaming images to microSD for small ARM boards, then verify before the first boot.

F:\

Back up a working card

Read a configured card into a dated .img before an upgrade. If the update breaks something, write the image back and you're where you started.

G:\

Clone cards for a fleet

Prepare one master card, read it once, then write identical copies for kiosks, sensors, classrooms or a stack of test devices.

H:\

Firmware & live USB images

Write recovery images for routers, 3D printers and industrial controllers, or hybrid Linux images that boot straight from a USB stick.

LBA 0006Download

Get the Win32 Disk Imager source

This is the native Win32 edition: the same Read, Write, Verify and hash workflow, rewritten without Qt so the program stays very small and also runs on older Windows. The archive contains source code. Build it once with the steps above and keep the executable wherever you like.

FileWin32DiskImager-master.zip
Sourcegithub.com/znone/Win32DiskImager
ContentsC++ source, resources, licence
Build withVisual Studio 2010+, WTL, SDK 7.0
Runs onWindows XP to Windows 11
LicenceGNU GPL v2
Download ZIPmaster branch · from GitHub

Want a prebuilt installer instead? The original 1.0.0 release is on the official SourceForge project page. The repository page shows commit history and issues.

ZIP archive with a completed download entry for the source package
LBA 0007Compatibility & comparison

Which Windows, and how it compares

The native fork goes back to Windows XP. The Qt 1.0 build runs on Windows 7 and later. On Windows on ARM devices, the 32-bit executable runs under emulation.

XPnative fork only
7SP1 · both builds
8.1x86 · x64
10all current builds
11incl. 24H2 / 25H2
Win32 Disk Imager compared with three common alternatives
CapabilityWin32 Disk ImagerRufusbalenaEtcherRaspberry Pi Imager
Write raw .imgYesYes (DD mode)YesYes
Read card to imageYes, full or allocatedPartial, VHD/VHDXNoNo
Hash toolsMD5 · SHA-1 · SHA-256Yes, image checksumsNoNo
VerificationOn demandBad-block scanAutomaticAutomatic
Compressed imagesExtract firstYesYesYes
Windows install USBNoYesNoNo
PlatformsWindowsWindowsWindows, macOS, LinuxWindows, macOS, Linux
LBA 0008Troubleshooting

Event log: what went wrong

These six problems cover most failed sessions. Pick an entry to see the likely cause and the fix, in the order worth trying.

Application · Win32 Disk Imager6 events
Write error dialog reporting Error 5, access is denied
ERR-01Level: ErrorSource: Launch

Nothing happens when you start it

The window never appears, flashes and closes, or Task Manager shows the process as not responding. Startup is when the tool checks every drive letter, so a slow or stuck drive holds it up.

  1. Right-click the executable and choose Run as administrator. If you dismiss the UAC prompt, nothing starts.
  2. Disconnect mapped network drives and pause cloud-sync clients that create virtual drive letters, then try again.
  3. Remove empty card readers and unused USB hubs; some readers report "no media" very slowly.
  4. Open Event Viewer → Windows Logs → Application and look for the faulting module named in the crash entry.
  5. Try the other build. The native Win32 fork and the Qt 1.0 release fail in different ways, so one often works where the other doesn't.
LBA 0009System requirements

Modest hardware, generous disk space

The program itself barely registers. What you actually need is free space for images and a card reader you trust.

Operating system

XP → 11, 32- or 64-bit

Memory

256 MB+ free; the tool uses very little

Media

SD / USB via a working reader

Privileges

Administrator for raw access

Free space
At least the full card size when reading, e.g. 32 GB for a 32 GB card, unless you tick allocated partitions only.
Image type
Uncompressed raw. Extract .zip, .gz or .xz first with 7-Zip or Windows Explorer.
Build tools
Visual Studio 2010 or newer, WTL and Windows SDK 7.0 headers (source edition only).
Ports
USB 2.0 works; USB 3.x readers cut write times sharply on fast UHS-I cards.
USB 3 card reader with two SD cards and a USB flash drive
Shield emblem beside a locked SD card and a target-device warning
LBA 000ASafety

A raw writer does what it's told

There is no undo after Write. These four habits keep a routine flash from wiping the wrong drive.

Confirm the drive letter

Unplug every other USB drive first. If you aren't sure which letter the card has, eject it and watch which one disappears.

Hash before you write

Compare the image's SHA-256 with the value its publisher lists. A mismatch means a corrupted or altered download.

Read before you overwrite

If the card holds anything you might want later, Read it to an image first. Storage is cheap; rebuilding a setup isn't.

Use official sources

Get the program from its repository or project page, and only copy images you created or are licensed to use.

LBA 000BPros & cons

Strengths and honest limits

Strengths

READ CHANNEL
  • Two-way imagingIt reads cards into images as well as writing them, which most one-click flashers can't do.
  • Hashes in the same windowMD5, SHA-1 and SHA-256 without a separate checksum utility.
  • Allocated-only readsBackups stay as large as the data, not as large as the card.
  • Very small and fast to startThe native build has no runtime to install and runs from a USB stick.
  • Free and open sourceGPL-2, with source you can read, build and audit yourself.

Limits

WRITE CHANNEL
  • Windows onlymacOS and Linux users need dd, Etcher or a similar tool.
  • No compressed images.zip, .gz and .xz must be extracted before writing.
  • Not a Windows installer makerStandard Windows ISOs need Rufus or the Media Creation Tool.
  • No formatting or partitioningUse Disk Management or diskpart to reclaim a card afterwards.
  • Slow upstream releasesThe SourceForge build hasn't changed since 1.0.0, so newer fixes live in forks.
LBA 000CFAQ

Questions people actually ask

Short answers here. The guides go deeper on portable use, each Windows version, alternatives and launch problems.

3hash algorithms built in
5buttons, one job each
C:\DiskImager\faq\
01Is Win32 Disk Imager free?

Yes. It is open-source software under the GNU GPL v2 licence. There is no paid tier, trial or account, and you are free to read, build and share the source.

02Can it write ISO files?

It writes raw data, so hybrid ISOs, which most Linux distributions ship, work once you pick the file. In the file dialog, change the filter to all files, or rename a copy to .img. Standard Windows installation ISOs are not hybrid and won't boot this way; use a dedicated installer tool for those.

03Is there a portable version?

The native Win32 build is a single executable with no installer and no runtime, so it is portable by nature. You can run it from a USB stick. The SourceForge release also offers a binary ZIP alongside the installer.

04Does it work on Windows 11?

Yes. Both the native fork and the 1.0 release run on Windows 11, including on recent feature updates. Run it as administrator, and close Explorer windows showing the card before you write.

05How is this GitHub build different from SourceForge?

The SourceForge project is the original Qt-based program, last released as 1.0.0. The GitHub source is a native Win32 rewrite with the same interface and features. It is much smaller, runs on Windows XP, and can work on a whole USB device or on a single partition.

06Can I back up an SD card with it?

Yes. Type a new file name into Image File, choose the card under Device and press Read. Tick Read Only Allocated Partitions if you don't want empty space included, then hash the result so you can check it later.

07Why does my card look smaller after writing?

Windows only shows partitions it can read. A Linux image leaves a small FAT boot partition visible and a large ext4 partition hidden. The space isn't lost; delete the partitions in Disk Management to reclaim it.

08Is there a macOS or Linux version?

No, it is Windows-only. On Linux and macOS the built-in dd command does the same raw copy, and graphical tools such as balenaEtcher cover the flashing side.

09Does it format cards?

No. Writing replaces everything on the card, including the partition layout. To turn a flashed card back into normal storage, delete its partitions in Disk Management and format it there.

10Why does it need administrator rights?

Opening a physical disk and locking its volume are privileged operations in Windows. Without elevation the program can't see or write the device, so it asks for UAC approval at launch.