How to Use VMware OVF Tool to Export a VM to OVF/OVA with Commands?

OVF Tool is used to help IT administrator easily export large VM into OVF or OVA with commands. If you have a OVF or OVA template, OVF Tool can also help you convert it into OVA or OVF template. See how it works.

Free Download
for VM, OS, DB, File, NAS, etc.
nick-zhao

Updated by Nick Zhao on 2026/12/03

Table of contents
  • Quick answer

  • What Is the VMware OVF Tool?

  • Where to Download OVF Tool and How to Install It

  • How to Export a VM to OVF/OVA with ovftool

  • How to Deploy an OVF/OVA Template with ovftool?

  • How to convert OVF to OVA or OVA to OVF?

  • Troubleshooting Common ovftool Export Problems

  • ovftool Command Quick Reference

  • ovftool Export vs. Scheduled VM Backup

  • OVF Tool Export OVF/OVA FAQs

  • Conclusion

Quick answer

VMware OVF Tool (ovftool) is a free command-line utility from Broadcom that imports and exports virtual machines as OVF or OVA packages. To export an ESXi VM, run 

ovftool --noSSLVerify vi://user:password@esxi-host-ip/VM-Name D:\exports\VM-Name.ovf.

It handles large VMs more reliably than the vSphere Client export wizard, and it can also deploy templates and convert OVF to OVA.

Key Takeaways

  • One ovftool command exports a VM from an ESXi host or vCenter to OVF (a folder of files) or OVA (a single file).

  • Add --noSSLVerify when the host uses a self-signed certificate, and use vi://user:password@host for authentication.

  • Since vSphere 6.5, the vSphere Client can no longer export OVA directly - ovftool fills that gap.

  • Greyed-out export options, SSL errors, and failed large-VM exports all have specific fixes (see the troubleshooting section).

  • ovftool is a one-off migration tool; for scheduled, verified backups, use an agentless VM backup solution.

What Is the VMware OVF Tool?

OVF Tool, short for Open Virtualization Format Tool, is a command-line utility that allows you to import and export OVF packages to and from many VMware products.

The current release is version 9.1.2, shipped with VCF 9.1.1 and backward compatible with earlier vSphere versions. It runs on Windows, Linux, and macOS, and you can download it free from the Broadcom developer portal.

OVF itself is an open packaging standard maintained by the DMTF Open Virtualization Format standard and published as ISO 17203.

These templates can be not only used on VMware. If you wish, you can use V2V converters to import the templates to other virtualization platforms like KVM or Xen hosts. Some VM management tools like Xen Orchestra can directly recognize VMware OVA template.

OVF vs OVA: What Is the Difference?

There are two kinds of VM templates in VMware, OVF and OVA. OVF template is a folder containing the metadata, applications, and other data, and OVA is a single file distribution of the OVF file package.

Both of them can be used to recover VM or move VM to another ESXi host.

Aspect

OVF

OVA

Structure

A folder containing the .ovf descriptor, .vmdk disk files, and .mf manifest

A single .ova archive that bundles the whole OVF package

Best for

Editing or copying individual files; streaming transfers

Sharing, archiving, and one-file downloads

vSphere Client export

Supported

No longer supported since vSphere 6.5 - use ovftool

vCenter once supported exporting both OVF and OVA templates but from vSphere 6.5, it no longer supports exporting OVA but luckily, you can still use OVF Tool to convert VM to OVA template.

Except for exporting VM template, VMware OVF Tool can be also used to deploy VM template.

Where to Download OVF Tool and How to Install It

VMware OVF Tool is officially provided by VMware and can be downloaded from the VMware website. The current release is 9.1.2, available as a Windows MSI or Zip, a Linux Zip, or a macOS Zip from the Broadcom developer portal.

IT administrators can obtain the latest version of OVF Tool from VMware, which ensures better compatibility with current vSphere and ESXi versions.

OVF Tool supports multiple operating systems, including Windows, Linux, and macOS. After downloading the installation package that matches your system, you can install it locally and start using command-line operations to export or import OVF and OVA templates for virtual machine migration and backup scenarios.

1. On Windows systems, the OVF Tool is provided as an executable installer. You only need to double-click the installer, follow the setup wizard, accept the license agreement, and choose the installation path. Once the installation is completed, OVF Tool can be accessed directly from the command line.

2. On Linux systems, OVF Tool is usually distributed as a compressed installer package. After extracting the package, you need to run the installer script with appropriate permissions. When finished, the ovftool binary will be placed in the specified path and can be executed from the terminal.

3. For macOS, OVF Tool is also provided as a standard installer package. After opening the installer, follow the on-screen instructions to complete the installation. Once installed, you may need to reopen the terminal so that the system can recognize the ovftool command.

Verify the installation:

ovftool --version

If OVF Tool is installed correctly, the command will return the version information of the tool, such as the OVF Tool build number and release version.

This indicates that the system environment has successfully recognized the ovftool executable and it is ready to be used for virtual machine export, import, and format conversion tasks.

How to Export a VM to OVF/OVA with ovftool

Direct answer: the export command follows the pattern ovftool [options] source target - the source is a vi:// URL pointing at the VM, and the target is a local .ovf or .ova path.

Export an ESXi VM to OVF

Use CMD to open OVF Tool by typing the command below:

cd "C:\Program Files\VMware\VMware OVF Tool"
ovftool --noSSLVerify vi://user:password@192.168.1.10/MyVM "D:\exports\MyVM.ovf"

Type the command below to export VM to OVF

--noSSLVerify is used to skip SSL verification. Replace the host IP, VM name and the export destination with the real information.

ovftool can export powered-on VMs, but changes made during the export are not quiesced. For consistency-critical systems such as databases, power the VM off first or schedule the export in a maintenance window.

Export to OVA Instead

If you wish to export VM to OVA, just replace ovf with ova in the command, like this:

ovftool --noSSLVerify vi://user:password@192.168.1.10/MyVM "D:\exports\MyVM.ova"

Options Worth Knowing

Option

What it does

--noSSLVerify

Skips SSL certificate verification for self-signed host certificates

--acceptAllEulas

Accepts end-user license agreements non-interactively

--compress=<0-9>

Compresses disk data during transfer (higher means smaller files, slower export)

--overwrite

Replaces an existing target file without asking

--name=<VM>

Sets the target VM name when deploying; not needed for export

Exporting from vCenter

The same command works against vCenter; the vi:// URL simply includes the datacenter path, and the account needs export privileges.

ovftool --noSSLVerify vi://admin:password@vcenter-ip/Datacenter/vm/MyVM "D:\exports\MyVM.ova"

How to Deploy an OVF/OVA Template with ovftool?

To deploy an OVA or OVF template using OVF Tool, you need to specify the source template file and the destination ESXi host or vCenter Server. The basic syntax is straightforward and can be executed directly from the command line.

For example, to deploy an OVA template to an ESXi host, you can use the following command:

ovftool --noSSLVerify --acceptAllEulas "D:\exports\MyVM.ova" 
vi://root:password@192.168.1.20/

If you want to deploy an OVF template to a vCenter Server and specify a target datastore, the command can be written as:

ovftool --datastore=datastore1 --name=RestoredVM "D:\exports\MyVM.ovf" 
vi://admin:password@vcenter-ip/Datacenter/host/Cluster/

After the command is executed, OVF Tool will upload the template, create the virtual machine, and complete the deployment automatically. This command-line approach is reliable for large OVA/OVF files and is widely used in automated or batch deployment scenarios.

How to convert OVF to OVA or OVA to OVF?

As mentioned before, OVF is a folder containing many files like VMDK, snapshot, etc. and OVA is like a zipped OVF. Can you zip the OVF and modify its format to use it as OVA or extract files from OVA and copy them into a folder to use it as OVF? It might not work but OVF Tool can help you convert the template.

To convert OVF into OVA, type the command below:

ovftool D:\exports\MyVM.ovf D:\exports\MyVM.ova

To convert OVA into OVF, type the command below:

ovftool D:\exports\MyVM.ova D:\exports\MyVM.ovf

The conversion direction is inferred from the file extensions. If a package is rejected by another platform, converting between the two formats (or using a dedicated OVF/OVA conversion workflow) resolves most compatibility issues.

Troubleshooting Common ovftool Export Problems

Most failed exports trace back to a small set of causes:

Symptom

Likely cause

Fix

Export option greyed out in vSphere Client or Workstation

VM is powered on, or the account lacks export privileges

Power off the VM, check permissions, or export with ovftool instead

SSL certificate verification failed

Host uses a self-signed certificate

Add --noSSLVerify (only on trusted internal networks)

Large VM export fails or stalls

Unstable management network, or browser-based export timeout

Use ovftool on a wired connection, export to local disk, add --compress=9

Imported OVA rejected on another platform

Format or virtual-hardware version differences

Convert OVA to OVF first, then import, or use a V2V converter

The greyed-out Export button deserves a note of its own. Exporting through the vSphere Client requires the VM to be powered off, and since vSphere 6.5 the HTML5 client can no longer produce OVA files at all.

ovftool sidesteps both limits; the vCenter-based alternative is covered in this guide to export VM to OVF through vCenter.

ovftool Command Quick Reference

Task

Command

Check installed version

ovftool --version

Export VM to OVF

ovftool --noSSLVerify vi://user:password@host/VM "D:\out\VM.ovf"

Export VM to OVA

ovftool --noSSLVerify vi://user:password@host/VM "D:\out\VM.ova"

Deploy to ESXi

ovftool --noSSLVerify "D:\out\VM.ova" vi://root:password@host/

Deploy to vCenter

ovftool --ds=datastore1 --name=VM1 VM.ovf vi://admin:password@vcenter/DC/host/Cluster

Convert OVF to OVA

ovftool VM.ovf VM.ova

Convert OVA to OVF

ovftool VM.ova VM.ovf

The full option list and supported URL forms are documented in the official OVF Tool User Guide on Broadcom TechDocs.

ovftool Export vs. Scheduled VM Backup

Direct answer: ovftool solves one-off exports and migrations; it is not a backup system.

An export is a manual, full-size copy with no automation around it. Where a backup platform differs:

An export workflow

What a backup platform does instead

Full-size export triggered by hand

Scheduled incremental jobs with retention policies

No recovery test unless you redeploy the package

Instant recovery with built-in restore verification

Powered-off VM required for a consistent copy

Snapshot-based copies taken while the VM runs

Same platform only

Restore onto other hypervisors during a migration

If the goal is protection rather than migration, an agentless backup solution removes the manual work entirely. Vinchin Backup & Recovery will help you easily backup ESXi VM, supporting ESXi 8/7/6/5/4. Jobs can run on a schedule with incremental transfers, instant recovery brings a failed VM back in about 15 seconds, and a VM backup can be restored onto other platforms such as Proxmox or Hyper-V for full-machine migration.

A 60-day full-featured free trial is available, so you can test both the export workflow and a scheduled backup before deciding which one fits.

OVF Tool Export OVF/OVA FAQs 

Q1: Is VMware OVF Tool free to use?

Yes. Broadcom distributes ovftool as a free download for Windows, Linux, and macOS. You accept the license agreement during installation, but there is no license fee or subscription.

Q2: Can ovftool export multiple VMs at once?

Not in a single command. Wrap ovftool in a PowerShell or Bash loop over a list of VM names, and each iteration performs one export. For recurring protection of many VMs, scheduled agentless backup is far easier to maintain than a script.

Q3: Why is the Export option greyed out in vSphere?

Usually because the VM is still powered on or your account lacks export privileges. Since vSphere 6.5 the HTML5 client also no longer exports OVA files. Power the VM off, verify permissions, or run ovftool against the VM directly.

Q4: Does ovftool work with vCenter or only with ESXi?

Both. Point the vi:// URL at either an ESXi host or a vCenter Server. vCenter URLs add the datacenter and host path, and the account needs the corresponding export or deploy privileges on the inventory object.

Q5: Should I export to OVF or OVA?

Pick OVA when you want one file to share, download, or archive, and OVF when you want to inspect or edit the disk and manifest files individually. Either format converts to the other at any time with ovftool.

Conclusion

IT administrators often need to export and deploy VM via vCenter, but sometimes the job will fail if the VM is too large. To mitigate the situation, IT administrators can use OVF Tool to export and deploy large VM. The commands to use OVF Tool have been introduced in this post.

If an export solved today's problem, the next step is making sure a failed VM never depends on a manual export at all: run one scheduled, agentless backup job this week and time the recovery.

Step-by-step guides for both workflows are available in the help tutorials center, and the free trial link above lets you test the backup path in your own environment.

Share on:

Categories: VM Backup