.VDI

VDI File

Virtual Disk Image (Oracle VirtualBox)
Ask a question
QUICK ANSWER

A VDI file is the native virtual hard disk format of Oracle VirtualBox. It holds a complete guest operating system, not a document or optical disc image. To use it, attach it to a VM in VirtualBox and boot the VM. To extract individual files without booting, open it in 7-Zip or mount it with OSFMount.

Developer: Oracle (originally innotek, then Sun Microsystems) Category: Disk Image Files Open standard MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .BIN · .ISO · .MDF · .DMG

On this page

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

Files with the .vdi extension contain virtual disk images along with associated metadata. .vdi is the native image format for VirtualBox, Oracle's system virtualization software. A .vdi file functions as a complete hard-disk container - loaded as a virtual drive by the VirtualBox hypervisor on the host machine. .VMDK and .VHD are similar virtual disk formats that VirtualBox can also open and write.

.vdi is the default disk image format used by VirtualBox when creating a new virtual machine. It stores the guest disk contents - partitions, filesystem, and OS data - while VM configuration (name, RAM, network adapters) is kept separately in a .vbox XML file. VirtualBox was first released in 2007 by innotek, a German software company, initially as a proprietary product under the PUEL (Personal Use and Evaluation License). Later that same year innotek released VirtualBox as open-source under the GNU GPL. In 2008 innotek was acquired by Sun Microsystems, and in 2010 Oracle acquired Sun, bringing VirtualBox under Oracle stewardship - where it remains actively developed as Oracle VM VirtualBox. .vdi images can be mounted on the host system using the vboximg-mount command included with VirtualBox, or converted with VBoxManage clonemedium.

.vdi files are organized in four sections:

  • A text pre-header containing the human-readable banner <<< Oracle VM VirtualBox Disk Image >>>.
  • A binary metadata header (identified by magic signature 0x7F10DABE) holding virtual size, disk type, block count, and UUIDs.
  • A disk image block allocation map.
  • The disk image data blocks (the actual guest-disk content).

.vdi supports both dynamically allocated mode (only used blocks consume host space) and fixed-size mode (full capacity pre-allocated). The format supports AES-XTS 256-bit encryption (since VirtualBox 5.2) and snapshots via differencing child .vdi files. .vdi files run on Windows, Linux, macOS, and FreeBSD - the main platforms for which VirtualBox is available.

Security & safety

RISK: MEDIUM

A .vdi is a disk image, not directly executable on the host - but it contains a full guest OS that runs when booted in a VM, so a downloaded .vdi can harbour malware inside the guest. Run untrusted VMs with no shared folders / limited networking, and treat them like any untrusted system. VDIs can also hold sensitive data from the guest (credentials, personal files), so handle/share as confidential. The image files are large; ensure enough disk space before converting/copying.

Format details

in a nutshell
FULL NAMEVirtual Disk Image (Oracle VirtualBox)
DEVELOPEROracle (originally innotek, then Sun Microsystems)since VirtualBox 1.0 (2007); format created by innotek, now Oracle
MIME TYPEapplication/octet-stream
TYPEBinary virtual hard-disk container for a virtual machine - holds a whole guest disk (partitions, filesystem, OS), dynamically allocated or fixed-size
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102
HEX
3C3C3C
ASCII
<<<
A VDI begins with an ASCII text header that varies by creator but contains "<<< ... VirtualBox Disk Image >>>", followed by a binary header with the magic signature 0x7F10DABE (little-endian) at offset 0x40 and the image metadata (block map, virtual size, type). It is NOT an optical-disc image like ISO - it's a hard-disk image.

Programs that open VDI files

Windows4 apps
7-Zip Open-source Browse files inside without booting: open the .vdi as an archive to extract files from the guest filesystem (read-only).
Oracle VirtualBox Open-source Create/attach: File -> Tools -> Virtual Media Manager, or add the .vdi as the disk when creating a VM, then start the VM to boot it.
VBoxManage (CLI, bundled) Open-source Convert/inspect: VBoxManage clonemedium disk in.vdi out.vmdk --format VMDK (or VHD/RAW).
OSFMount Free Mount the .vdi as a drive letter in Windows to access its partitions/files directly.
macOS2 apps
Oracle VirtualBox Open-source Attach the .vdi to a VM and boot it (Intel Macs / supported Apple-silicon builds).
VBoxManage (CLI, bundled) Open-source Convert VDI to VMDK/VHD/RAW for use in other tools.
Linux3 apps
Oracle VirtualBox Open-source Attach the .vdi to a VM and boot, or manage it in the Virtual Media Manager.
qemu-img Open-source Convert/inspect: qemu-img convert -O qcow2 disk.vdi disk.qcow2 (also raw/vmdk/vhdx). Read VDI without VirtualBox.
libguestfs / guestmount Open-source Mount the guest filesystem to copy files out: guestmount -a disk.vdi -i --ro /mnt.

Technical details

deep spec
File header (text)ASCII banner `<<< Oracle VM VirtualBox Disk Image >>>` at byte offset 0
File header (binary magic)`0x7F10DABE` little-endian in binary metadata section
Disk allocation modesDynamic (sparse, grows on write) and fixed-size (fully pre-allocated)
Default data block size1 MiB (1,048,576 bytes) per block
EncryptionAES-XTS 256-bit encryption of disk data, available since VirtualBox 5.2
Snapshot supportDifferencing child `.vdi` files chained to a parent image via parent UUID
UUID fieldsImage UUID and parent UUID embedded in binary header for VirtualBox media registry
VM settings storageDisk image only; VM configuration (RAM, network, etc.) kept in a separate `.vbox` XML file
Compaction`VBoxManage modifymedium --compact` zeroes unused blocks and reclaims host space
Format conversion`VBoxManage clonemedium` or `qemu-img convert` to/from `.vmdk`, `.vhd`, `.qcow2`, raw
Host-side mounting`vboximg-mount` (FUSE) on Linux/macOS; OSFMount on Windows
MIME type`application/octet-stream`
Platform supportWindows, Linux, macOS, FreeBSD (wherever VirtualBox runs)
Built-in compressionNone - block data is not compressed; compaction only reclaims zeroed unused blocks
File structure sections4 sections: text pre-header, binary metadata header, block allocation map, data blocks
ReleasedVirtualBox 1.0 (2007); format created by innotek, now Oracle
Open standardYes · royalty-free
Specificationwww.virtualbox.org

VDI conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with VDI 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 VDI files.

Frequently asked questions

How do I open a VDI file?
Attach it to a virtual machine in Oracle VirtualBox (free) and boot the VM - a .vdi is that VM's hard disk. To just get files out of it without booting, browse it with 7-Zip or mount it with OSFMount (Windows) / guestmount (Linux).
How do I convert VDI to VMDK or VHD?
Use VirtualBox's bundled VBoxManage: 'VBoxManage clonemedium disk in.vdi out.vmdk --format VMDK' (or VHD/RAW). qemu-img also converts to VMDK/VHDX/qcow2/raw. This lets you move the VM to VMware or Hyper-V.
Can I convert a VDI to ISO?
No - a VDI is a hard-disk image, while an ISO is an optical-disc image; they aren't interchangeable. Convert to VMDK/VHD/raw, or mount the VDI and copy out the files you need. To get a bootable ISO you'd build one from the guest OS separately.
How do I extract files from a VDI without running the VM?
On Windows, open it with 7-Zip (read-only) or mount it with OSFMount to get a drive letter. On Linux, use guestmount (libguestfs) to mount the guest filesystem and copy files out.
Why is my VDI file so large / can I shrink it?
A VDI holds an entire virtual disk. Even dynamically-allocated images keep space for deleted data. Zero free space inside the guest, then compact with 'VBoxManage modifymedium disk file.vdi --compact'.
What's the difference between VDI, VMDK and VHD?
All are virtual hard-disk formats: VDI is VirtualBox's native format, VMDK is VMware's, VHD/VHDX is Microsoft/Hyper-V's. VirtualBox can use all of them and convert between them with VBoxManage.

References

1Oracle VirtualBox - User Manual (virtual storage)www.virtualbox.org
2Oracle VirtualBox - VBoxManage clonemediumwww.virtualbox.org

Keep exploring

across the database

Top extensions this week

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

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