VHDX VDI
File conversion

Convert VHDX to VDI

QUICK ANSWER
Is it possible to convert VHDX to VDI?
Yes - VHDX converts to VDI.

Run qemu-img convert -O vdi input.vhdx output.vdi on any platform, then attach the .vdi in VirtualBox. Windows guests booted under VirtualBox after a Hyper-V migration will likely need VirtualBox Guest Additions installed.

Also to VDI: VHD · VMDK · OVF

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert VHDX to VDI?

VHDX is Hyper-V's native disk format while .VDI is Oracle VirtualBox's native container; moving a virtual machine from Hyper-V to VirtualBox requires converting the disk so VirtualBox can attach it directly.

How to convert VHDX to VDI

qemu-img OPEN-SOURCE

Run qemu-img convert -O vdi input.vhdx output.vdi, then attach the resulting .vdi in VirtualBox via Machine > Settings > Storage.

VBoxManage FREE

First convert .vhdx to .vhd with Convert-VHD on Windows, then run VBoxManage convertdd intermediate.vhd output.vdi --format VDI. Requires the Hyper-V PowerShell module for the first step.

About these formats

Quality & what to watch

  • A dynamically expanding VHDX produces a dynamically allocated VDI by default; this is fine for most uses.
  • Snapshots are not transferred - only the current disk state is converted.
  • Windows guests will likely need VirtualBox Guest Additions installed after the migration and may go through a hardware reactivation.

Frequently asked questions

Does VirtualBox open VHDX files directly?
VirtualBox can attach VHDX files in recent versions, but VDI is the native format and avoids compatibility issues.
Do I need Hyper-V installed to use qemu-img?
No - qemu-img reads VHDX directly without Hyper-V or any Microsoft tooling.
Will converting a large VHDX cause size problems?
No - VDI supports similarly large virtual disks; the conversion does not impose a size penalty.