Open files in VS Code and Cursor / Binary, network and hardware

Read binary files with templates in a VS Code hex editor

A binary template describes a file format, so the hex editor can show bytes as named fields with values instead of a wall of hex. In VS Code, install Hex Viewer by Zovo, open a file and click the Structure tab: it picks one of 20 built-in templates (PNG, ZIP, ELF, PE, Mach-O, PDF, SQLite and more) from the first bytes and shows a tree of fields. Click a field to select its bytes. The hex editor itself is free; the Structure view is part of Zovo Pro (USD 19 once) and works 3 times without a key.

Install in VS CodeMarketplace pageOpen VSX (Cursor, Windsurf, VSCodium)JetBrains IDEs

Free, MIT license. Extension ID zovo.zovo-hex-viewer, version 0.3.7. Needs VS Code 1.90.0 or newer.

A PNG file in Hex Viewer in VS Code. Bytes 0x10 to 0x13 of the IHDR chunk are selected and the data inspector reads them as big-endian uint32 1400, the image width
A PNG file in Hex Viewer in VS Code. Bytes 0x10 to 0x13 of the IHDR chunk are selected and the data inspector reads them as big-endian uint32 1400, the image width.

Steps in VS Code

  1. Install Hex Viewer from the Marketplace, or press Ctrl+P (Cmd+P on macOS) and run ext install zovo.zovo-hex-viewer.
  2. Right-click a file in the Explorer and pick "Open in Hex Viewer".
  3. Open the Structure tab in the side panel. Hex Viewer picks the template from the first bytes of the file and shows each field with its name, value, offset and size.
  4. Click a field to select its bytes in the grid. Edit a byte and the tree reads the new value.
  5. Click "Template..." to read the file with another template, or "JSON" or "C struct" to open the selected struct as JSON or as a packed C struct with its values.
  6. For your own format, put a JSON template in .vscode/hex-templates in your workspace. The built-in templates in the extension's templates folder are examples.

Steps in Cursor, Windsurf or VSCodium

  1. Open the Extensions view with Ctrl+Shift+X (Cmd+Shift+X on macOS).
  2. Search for zovo.zovo-hex-viewer and click Install. Cursor, Windsurf and VSCodium install from Open VSX, where it is published as zovo/zovo-hex-viewer.
  3. If your editor has no gallery, download the .vsix from the Open VSX page and run "Extensions: Install from VSIX...".
  4. Then use it the same way as in VS Code.

What Hex Viewer handles

What it does not do

Free and Zovo Pro

Free, and staying free: opening files of any size, go to offset, find with ?? wildcards, copy as C, Python or base64, the data inspector, editing with insert, delete and undo, safe save, and the side-by-side compare of two files.

Zovo Pro adds these tools to Hex Viewer. Each one works 3 times on your computer before it asks for a license. Nothing about Pro shows when you open a file: no popup, no countdown, no banner.

Zovo Pro costs USD 19 once. It is not a subscription, and one purchase covers every Zovo VS Code extension. Today it also covers the Pro tools in Postgres & MySQL Query Client and DOCX Viewer, and Pro tools added to other Zovo extensions later.

Two ways to unlock it:

  1. GitHub Sponsors: pick the "$19 one time" tier. Then, in VS Code, click a Pro tool and pick "Unlock with GitHub Sponsors" (or type "GitHub Sponsors" in the Command Palette) and sign in with the same GitHub account. A monthly sponsorship of USD 10 or more that is still running counts too.
  2. PayPal, no GitHub account needed: send USD 19 by PayPal with "Zovo Pro" in the note, then post the transaction ID with the Zovo Pro key form (a public GitHub issue, so post only the ID). The license key goes to the email address of your PayPal account within a day. Click a Pro tool and pick "I have a license key" (or type "license key" in the Command Palette) and paste it. The key is checked on your computer, with no network call.

A team of 5: USD 59 once by PayPal, with "Zovo Pro Team" in the note. Every rule and every Pro tool is on the Zovo Pro page.

In JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, CLion and others)

Other options

Install counts and Open VSX status were checked on 9 November 2026. Descriptions in quotes are the extensions' own.

Questions

What is a binary template in a hex editor?

A description of a file format: which fields come in which order, their types and sizes, and when a part repeats or depends on a flag. The hex editor applies it to a file and shows named fields with their values.

Is the template feature free?

The hex editor is free. The Structure view with templates is part of Zovo Pro, USD 19 once. It works 3 times on your computer first, so you can try it on your own files.

Can I write a template for my own format?

Yes. Save a JSON template in .vscode/hex-templates in your workspace or in a folder from the hexViewer.templateFolders setting. TEMPLATES.md in the GitHub repo explains the format.

More about Hex Viewer

Read the Hex Viewer page for every feature and setting, or the source code on GitHub.

Zovo Pro and support

Zovo Pro: USD 19 once, every Zovo viewer. It turns on the Pro tools in this extension and in the other Zovo extensions you use. The free features stay free.

After a card payment your license key shows on the next page. Paste it with the command "Zovo Pro: Enter a key".

You can also support the work with no Pro:

Need your format supported?

Open a format request with a sample file, and I reply there whether it can be done. For USD 299 once, through this GitHub Sponsors tier, I add your file format or a missing feature to this extension, with tests, within 7 days.