Read XML Schema (.xsd) files and the schemas inside .wsdl files as a component tree and a diagram in a VS Code tab, with imports and includes followed across your workspace. Works offline. Made by Zovo.
Schemas keep opening as text. To open one in the viewer, click the diagram button in the title bar of the schema's editor, right-click the file in the Explorer and choose Open in XSD Viewer, or run XSD Viewer: Open in XSD Viewer. To make the viewer the default for .xsd files, use Reopen Editor With and then Configure default editor.
Pick a component in the tree to draw its diagram. Click the + on a box to open it, Expand to open up to 60 visible boxes one level further, and Fit, + and - to zoom. Type in the search box (or press /) to find any element or type in the set, then Enter to open the first match.
Text in the toolbar opens the schema next to the viewer. The Files tab shows each file of the set, its namespace and where each import and include was found.
To try it without a schema of your own, run XSD Viewer: Open the Sample Schema. It comes with a valid order and an order with three mistakes for the validation.
The Pro tools are in the Command Palette (XSD Viewer: ... (Pro)), in the Explorer right-click menu (sample XML and documentation on .xsd and .wsdl files, validation on .xml files), as Sample XML (Pro) in the details of an element, and in the small row at the end of the viewer toolbar. The row closes with its x for the rest of the session, and the setting xsdViewer.showProTools hides it for good.
ZOVO PRO AVAILABLEOne-time purchase · No subscription
Add Pro tools to XSD Viewer & Schema Diagram
Generate sample XML. A sample XML document for any global element: required content, optional parts and repeats if you want them, values that keep the facets.
Validate XML. Check XML files against the schema set with libxml2 on this computer, errors in the Problems panel, again on every save.
HTML documentation. A folder of HTML pages for the whole schema set, one page per element and type with its diagram, content and attributes.
Yes. XSD Viewer & Schema Diagram is free and MIT licensed.
How do I install XSD Viewer & Schema Diagram?
Click "Install in VS Code" above, or search for zovo.zovo-xsd-viewer in the Extensions view.
Marketplace README snippet (copy link for VS Code Marketplace)
See full docs & install options at [vscode.zovo.one/extensions/zovo-xsd-viewer/](https://vscode.zovo.one/extensions/zovo-xsd-viewer/), browse all Zovo VS Code extensions at [vscode.zovo.one](https://vscode.zovo.one/), or explore [Zovo Pro](https://vscode.zovo.one/pro/).
Auto rename tag and auto close tag as you type in HTML, JSX/TSX, Vue, Svelte, PHP, Blade, Twig, XML and Markdown. One undo step for both tags, never pairs <br> or TypeScript generics, highlights the matching tag. Free, no sign-in, works offline.
Run C++ and C code with one click: compile and run the current file with gcc, g++, clang or clang++. Interactive input in the terminal, an Input panel with saved test cases and diffs, errors in Problems, Stop for endless loops, per-file flags. Free, no sign-in, works offline. Zovo Pro adds a sanitiz
JavaScript playground and TypeScript scratchpad for VS Code: the value of each line shows at the end of the line as you type, with console.log output and errors on their own lines. A live JS and TS runner for quick tests and a REPL-style scratch file, with no tsconfig, no setup and no sign-in. Free,
Free and offline. CSS class names and id completion in HTML, React, Vue, Svelte, Angular, PHP and Blade, from every CSS, SCSS and Less file in your project, <style> blocks, linked style sheets and CSS modules. Go to definition and hover. Light on CPU in big monorepos.
Free HTML preview and HTML viewer beside your editor. Linked CSS, JS and images load, it updates as you type, and nothing is sent anywhere. No sign-in, no server, works offline. Zovo Pro adds save as one file, an accessibility and SEO check and a folder link check.
Large JSON viewer with a fast JSON tree. Keeps 64-bit numbers exact, jumps to the line in the editor and reloads when the file changes. Search, copy JSONPath, table view. Offline.