You can export the VM as ovf template by following the steps given below,
Login to vSphere web client. Click on Hosts & Clusters.
Choose the correct Virtual machine which you want to export.
Right Click on virtual machine > Template > Export OVF Template.
Export OVF Template wizard will open :- First provide the name.