In Visio for the web you can view the following file formats: Visio Drawing (.vsdx), Drawing (.vsd), XML drawing, macro-enabled drawing (.vsdm). In Visio for the web you can create and edit the Visio Drawing (.vsdx) file format. Created based on Open Packaging Conventions (OPC) standard (ISO 29500, Part 2), a VSDX or VSDM file consists of a group of XML files archived inside a Zip file. VSDX and VSDM files differ only in that VSDM files may contain macros. Since these files are susceptible to macro virus infection, the program enforces strict security on them.
- File Types Manager Windows 10
- Convert Vsdx To Vsd
- Open Vsdx File Without Visio
- Vsdx File Type Free
- Vsdx File Type Viewer

Learn about the new file format in Visio 2013, explore some high-level concepts for working with the Visio 2013 file format programmatically, and create a simple console application that examines a Visio 2013 file.
| In this articleIntroductionWhat is the Visio 2013 file format 'under the hood'?Developer scenarios for working with the Visio 2013 file formatExploring the Visio 2013 file format programmaticallyAdditional resources |
Introduction
Visio 2013 introduces a new file format (.vsdx) for Visio that replaces the Visio binary file format (.vsd) and Visio XML Drawing file format (.vdx). Because the Visio 2013 file format is based upon Open Packaging Conventions and XML, developers who are familiar with these technologies can quickly learn how to work with Visio 2013 files programmatically. Developers who are familiar with the Visio XML Drawing file format (.vdx) from previous versions of Visio can find many of the same XML structures within the parts of .vsdx file format. Interoperability with Visio files is greatly increased since third-party software can manipulate Visio files at a file format level. The Visio 2013 file format is supported on Visio Services in Microsoft SharePoint Server 2013, without the need of an 'intermediary' file format for publishing to SharePoint Server.
There are several file types, by extension, that comprise the Visio 2013 file format. These extensions include:
.vsdx (Visio drawing)
.vsdm (Visio macro-enabled drawing)
.vssx (Visio stencil)
.vssm (Visio macro-enabled stencil)
.vstx (Visio template)
.vstm (Visio macro-enabled template)
Note
Only the macro-enabled files (.vsdm, .vssm, .vstm) can store VBA macros. You cannot store macros in files with a .vsdx, .vssx, or .vstx extension.
What is the Visio 2013 file format 'under the hood'?
The Visio 2013 file format uses the Open Packing Conventions (OPC), which defines a structured means to store application data together with related resources using a container of some sort─for example, a ZIP file. At a basic level, a Visio 2013 file is really a ZIP container that contains other types of files. In fact, you can save a drawing in Visio 2013 as a .vsdx file, rename the file extension to '*.zip' in Windows Explorer, and then open the file like a folder to see the contents inside.
Note
This article contains only a brief overview of the Open Packaging Conventions. You can find more detailed coverage of the conventions in other articles: > For more information about the Open Packaging Conventions themselves, see OPC: A New Standard for Packaging Your Data. > For more information about the Open Packaging Conventions and their use in Microsoft Office files, see Essentials of the Open Packaging Conventions and Introducing the Office (2007) Open XML File Formats.
Packages and Package Parts
As started earlier, Visio 2013 files are ZIP containers or 'packages' that hold other files (called 'package parts') within them. A package part can be an XML file, an image, even a VBA solution. The parts within the package can be further divided into two broad categories, 'document parts' and 'relationship parts.' The document parts contain the actual content and metadata of the Visio file, like the name of the file, the first page and all of the shapes that it contains, and even the data connections for the shapes. Images and text files within the package are considered document parts. Relationship parts are described in more detail later in this article.
Note
If you open a Visio 2013 file using a ZIP utility, you can probably see several folders contained inside of the ZIP package. You can even manipulate these sub-addresses like folders using a ZIP utility. However, these 'folders' represent sub-addresses within the ZIP package, not actual folders. You cannot use the programmatic equivalents of folders to work with these sub-addresses in your solution.
Package parts─both document parts and relationship parts─also have associated content types. These content types are strings that define a MIME media type. These content types specify and scope the kind of MIME types that can be contained in the file.
Relationships
The relationship parts (which end with the extension '*.rels' and are stored in a '_rels' folder) describe how the parts within the package relate to each other and provide the structure of the file. A standalone XML document uses the parent/child relationship of elements to determine the relationship of entities to each other. Other files may use other hierarchies or file folder structure to describe the interaction of content in the file. For the Visio 2013 file format, the package is a valid Visio file if it contains the correct set of parts and the package contains the relationships between the parts.
Relationship parts are XML documents that describe the relationships between different document parts within the package. They define an association between two items: a specified source (defined by the name and location of the relationship file) and a specified target document part. For example, relationship parts are used to describe which shape masters are associated with the file, how pages relate to the file and to each other, or how images and objects relate to a specific page.
Similarities and differences with Visio VDX schema
As mentioned, past versions of Visio also included an XML-based file format, the Visio XML Drawing Format or .vdx. (In previous versions of Visio, the schema used for the Visio XML Drawing Format is called DatadiagramML.) Some pieces from the Visio XML schema have stayed the same between the two file formats. For example, the Windows element and its children remain unchanged─with the exception that the Windows element is now a root element of an XML document (window.xml).
The largest difference between the XML Drawing Format and the Visio 2013 file format is the packaging. An XML Drawing Format file could be manipulated like a normal stand-alone XML; the Visio 2013 file format must be manipulated as a package. In the Visio 2013, the XML has been divided up into parts for easier consumption. Another noticeable change is that the Visio 2013 file format stores all document properties in document parts described by the OPC standard (app.xml, core.xml, custom.xml).
However, there is one significant change that all Visio developers must be aware of: the introduction of the Cell, Row, and Section elements. In the XML Drawing File Format schema, individual rows and cells in the ShapeSheet are represented by named elements. For example, imagine that you have a document with a single page that contains a shape with a PinX value of '2' (meaning that the rotation pin of the shape is 2 inches from the left edge of the drawing). The relevant markup for that setting in the XML Drawing File Format is shown in the following code.
File Types Manager Windows 10
Here, the PinX element is a child of the XForm element, which is in turn a child of the Shape element. This models the Visio ShapeSheet UI, where the PinX cell is included in the Shape Transform section of a shape.
In the Visio 2013 file format, all cells in the ShapeSheet─ PinX, LinePattern, an X cell in a MoveTo row in a Geometry section, etc.─are represented by one type of XML element, the Cell element. Different Cell elements are individuated from each other by the value of their N attribute. Thus, in the example from above, the data contained in the PinX cell in the ShapeSheet is stored in a VSDX file as shown in the following code.
The Cell element for PinX (as well as other individual, named cells called 'singleton cells' like LinePattern or LockSelect) is a direct child of the Shape element. No unique element is needed to represent the row that contains the PinX cell, as each shape can only have one PinX.
What about sections that include tabular data, like Geometry sections? For the cells in those sections, the Visio 2013 file format schema uses Section and Row elements─also distinguished by their N attribute or T attribute as shown below─to contain the data. For example, the same shape from the previous example might contain data in the Geometry 1 section that looks like the following code in the XML Drawing schema.
However, it looks like the following code in the Visio 2013 file.
Developer scenarios for working with the Visio 2013 file format
As explained above, the Visio 2013 file format leverages several well-understood technologies like ZIP files and XML to store data. To manipulate a Visio 2013 drawing at the file level, a solution need only to use the .NET Framework namespaces and classes associated with working with ZIP files or XML, like System.IO.Packaging or System.Xml.
The key benefit to developers of the Visio 2013 file format is that you can read and write to Visio 2013 files without automating the Visio client application. Some scenarios that you might consider as a developer for working with Visio 2013 file format include:
Checking individual Visio 2013 files for specific data. You can selectively read one item out of the ZIP container without having to extract the whole file.
Updating libraries of Visio 2013 files with specific content. You can programmatically change the logo in all of the background pages to reflect new branding guidelines.
Creating applications that consume Visio 2013 files. For example, you can build a tool that reads a Visio workflow diagram and then executes its own business logic based upon that workflow.
Be aware that because these solutions use standard .NET Framework assemblies, most solutions that can be run on a client machine can also be run on a server!
Exploring the Visio 2013 file format programmatically
The most basic and fundamental task for any developer working with the Visio 2013 file format is opening the file as a package and then accessing individual parts within the package. The System.IO.Packaging.Package in the WindowsBase.dll contains many classes that enable you to open and manipulate packages and parts.
In the following code sample, you can see how to open a .vsdx file, read the list of parts in the package, and get information about each part.
To open a .vsdx file and view the document parts
Open Visio 2013 and create a new document.
Create a new document and save it to the Desktop.
Open Visual Studio 2012.
On the File menu, choose New, and then choose ** Project **.
Under Visual C# or Visual Basic, expand Windows, and then select Console Application.
In the Name box, type 'VisioFileExplorer'. The Console Application project opens.
In the Solution Explorer, right-click VisioFileExplorer, and then click Add Reference.
In the Add Reference dialog box, under Assemblies, expand Framework, and then choose WindowsBase.
Paste the following code into the solution.
- Press F5 to debug the solution. When the program has completed running, press any key to exit.
See also
For more information about the Visio 2013 file format, the Open Packaging Convention, or how to work with Visio 2013or Office OpenXML files programmatically, see the following resources:
OPC: A New Standard for Packaging Your Data.
Files with vsdx file extension are almost always graphics diagrams made and saved in latest versions of Microsoft Visio diagramming program.
Software that open vsdx file
Bookmark & share this page with others:
Convert Vsdx To Vsd
VSDX file extension- Microsoft Visio drawing
What is vsdx file? How to open vsdx files?
File type specification:
Open Vsdx File Without Visio
The vsdx file extension is associated with the Microsoft Visio, a diagramming utility that is distributed with some editions of Microsoft Office suite for Microsoft Windows.
The vsdx file represents diagram drawing saved in OPC/XML format and compressed with ZIP compression. To view content of Visio drawings, rename .vsdx suffix to zip and open the file in any compatible archiving tool. Format was introduced in Microsoft Visio 2013.
VSDX format replaces old VSD and VDX formats.
Mime type used for vsdx files:
application/vnd.visio2013
application/vnd.visio
Updated: March 19, 2021
The default software associated to open vsdx file:
Company or developer:
Microsoft Corporation
A diagram application, that uses vector graphics to create diagrams. Microsoft Visio is distributed as part of Microsoft Office Family and also available as a subscription through Microsoft Office 365. The latest version is Visio 2016 that is compatible with Windows 7, Windows 8 and Windows 10.
Visio allows users to create professional diagrams in just few clicks. Visio makes diagramming simple—whether you want to quickly capture a flowchart that you brainstormed on a whiteboard, map an IT network, build an organizational chart, document a business process, or draw a floor plan.
Company or developer:
Microsoft Corporation
Microsoft Visio 2013 Viewer allows users to view Visio drawings (.vsdx, .vsdm, .vsd, .vdx, .vdw, .vstx, .vstm, .vst, or .vtx extension). Viewing Visio drawings is as simple as double-clicking the drawing file in Windows Explorer. Internet Explorer will open, and Visio Viewer will render the drawing in the browser window.
Help how to open:
Use Microsoft Visio 2013 and above versions to open .vsdx drawing files. On Apple Mac OS X use ConceptDraw PRO software.
How to convert:
You can use Visio or other related apps to transform VSDX diagram to other formats.
Find conversions from vsdx file:
Find converter to vsdx file type:
List of software applications associated to the .vsdx file extension
Recommended software programs are sorted by OS platform (Windows, macOS, Linux, iOS, Android etc.)
and possible program actions that can be done with the file: like open vsdx file, edit vsdx file, convert vsdx file, view vsdx file, play vsdx file etc. (if exist software for corresponding action in File-Extensions.org's database).
Vsdx File Type Free
Hint:
Click on the tab below to simply browse between the application actions, to quickly get a list of recommended software, which is able to perform the specified software action, such as opening, editing or converting vsdx files.
Software that open vsdx file - Microsoft Visio drawing
Programs supporting the exension vsdx on the main platforms Windows, Mac, Linux or mobile. Click on the link to get more information about listed programs for open vsdx file action.
Vsdx File Type Viewer
Microsoft Windows:
Main software associated with vsdx file by default:
Microsoft Visio
Microsoft Visio 2013 Viewer
Other suggested software:
SmartDraw
Multiplatform:
Apache OpenOffice Draw (OpenOffice.org Draw)
Apache OpenOffice Impress (OpenOffice.org Impress)
LibreOffice Draw
LibreOffice Impress
