Guide
    Backup Content Hub

    VDI vs VHD vs VMDK and How to Convert Virtual Disks

    VDI, VHD and VMDK are three widely used virtual disk formats, each built for a different virtualization ecosystem. All three act as virtual hard drives holding operating systems, applications and data, and each one is tuned for its own platform and brings its own capabilities.

    Updated · Mr.PlanB

    Sections
    8
    Action Points
    0
    Guidance Blocks
    21

    Overview

    Virtual disk format chooser showing VDI for VirtualBox, VMDK for VMware, QCOW2 for QEMU, VHD for older Microsoft compatibility and VHDX for modern Hyper-V, followed by offline conversion checks.
    Choose the destination platform before converting a virtual disk offline.

    Format overview

    VDI is the native format for VirtualBox. It handles fixed and dynamically allocated disks, snapshots and sparse allocation. It travels between host operating systems, though it is happiest inside VirtualBox, and using it elsewhere usually means converting it first.

    VHD belongs to the Microsoft virtualization platforms. It supports fixed, dynamic and differencing disks, works with the Windows management tools and lets several operating systems live on one host. It stops at 2 TB, and it misses some of the storage features the newer formats have.

    VMDK comes from VMware and is now supported across most other hypervisors too. It does snapshots, sparse allocation, RAID protection inside SAN environments, incremental backup, and disks as large as 62 TB in current implementations.

    Converting between the formats works with the built-in tools: VirtualBox's Virtual Media Manager, PowerShell modules or command-line utilities such as VBoxManage. In an enterprise migration, dedicated tools handle the same job without anyone touching the disks by hand.

    Which format is “best” comes down to the target hypervisor, what you need to stay compatible with, how much capacity you want and the performance you expect.

    What is a VHD file?

    A Virtual Hard Disk file holds a disk's contents, including partitions and files, so software can use it like a physical drive. Originally created by Connectix for Virtual PC, VHD continued in Microsoft Virtual PC and Hyper-V. Azure upload workflows use fixed VHD with virtual size aligned to 1 MiB, as of November 2026.

    VDI vs VHD vs VMDK vs QCOW2

    Choose the destination platform first. These are documented implementation limits as of November 2026, not universal format ceilings.

    FormatOwner or projectTypical platformVerified capacityTrade-off
    VDIOracleVirtualBoxNot confirmed hereNative fit; conversion for other platforms
    VHDMicrosoftHyper-V, Azure uploads2,040 GB in Hyper-VOlder compatibility; smaller capacity
    VMDKVMware, BroadcomVMware62 TB on VMFS-5Platform fit; datastore constraints
    QCOW2QEMU projectQEMUNot confirmed hereSnapshots; destination must support it

    Sources: Oracle storage formats, Hyper-V limits, VMware large disks, QEMU formats.

    Should I choose VHD or VHDX?

    As of November 2026, choose VHDX for modern Hyper-V; retain VHD for older hosts. Microsoft documents these differences:

    FeatureVHDVHDX
    Hyper-V capacity2,040 GB64 TB
    Host compatibilityEarlier Hyper-V releasesWindows Server 2012 onward
    Power-failure resilienceEarlier formatMetadata logging protects against certain corruption
    Storage features512-byte logical sectors4 KB logical sectors; improved alignment

    Windows 7 and Server 2008 R2 cannot natively handle VHDX; native support starts with Windows 8 and Server 2012. See the VHD and VHDX guide.

    Convert virtual disks offline

    Back up first, shut down the VM and detach the disk. QEMU syntax uses -f for input and -O for output; VHD is named vpc:

    ``sh qemu-img convert -f vdi -O vmdk source.vdi target.vmdk qemu-img convert -f vpc -O qcow2 source.vhd target.qcow2 ``

    With the Hyper-V PowerShell module, Convert-VHD requires an unattached source:

    ``powershell Convert-VHD -Path C:\VMs\source.vhd -DestinationPath C:\VMs\target.vhdx Convert-VHD -Path C:\VMs\source.vhdx -DestinationPath C:\VMs\target.vhd -VHDType Fixed ``

    VHD output must fit its destination's capacity limit. Check destination format, subformat, controller and boot compatibility before migration; conversion alone does not establish bootability. Follow the qemu-img guide.

    Attach and detach in Windows

    Open Disk Management as administrator. Select Action > Attach VHD, browse to the existing VHD or VHDX, then select OK. To detach, right-click its disk label, select Detach VHD and confirm. Detaching preserves the file.

    FAQs

    1. Which disk format does a VMware environment need?

    VMDK is the native format for VMware environments.

    2. Can virtual disk formats be converted directly into each other?

    Yes. Virtual Media Manager and the command-line utilities convert between them.

    3. Is there one best virtual disk format for everyone?

    No. The right choice depends on the virtualization platform and the workload.

    FAQ

    What are fixed, dynamic and differencing virtual disks?

    Disk type is separate from format: fixed allocates capacity upfront; dynamic grows as blocks receive writes, requiring host free-space monitoring; differencing stores changes while depending on its parent. Fixed consumes more space initially; dynamic adds allocation work; differencing adds chain dependencies.

    Is VHDX faster than VHD?

    VHDX alignment can reduce extra I/O on large-sector storage, but workload and disk type affect results. Microsoft's guidance does not establish a universal speed advantage.

    Related guides

    More from the backup hub on the same topics.

    Topic hub
    All VMware guides
    Every article on this topic in one list.
    Compare
    VM Platform Ledger
    15 virtualization platforms scored on capability, buyer risk and lock-in.
    Free tool
    Backup Advisor
    Describe your systems in one sentence and get a 20 second video plan.

    Need help with backup and recovery?

    Use the form below to get in touch about backup strategy, recovery planning, and data protection projects.