Open PDB, mmCIF, SDF, MOL2, XYZ, GRO and PQR files in VS Code as a 3D protein or molecule model, with a tree of chains, residues and ligands and the sequence below. Made by Zovo.
Click a structure file in the Explorer. It opens in the viewer. To read the text instead, click Open as Text in the toolbar or the file icon at the top right.
Drag to rotate, scroll to zoom, right-drag or Ctrl-drag to move. Reset view fits the whole structure again.
Type in the filter above the tree: a residue name (HIS), a number (25) or chain and number (B:25).
To try it without your own files, run PDB Viewer: Open the Sample Protein (1HSG) from the Command Palette. The samples are entries 1HSG and 1CRN from the Protein Data Bank.
The Pro tools are in the Command Palette (PDB Viewer: ... (Pro)), in the Explorer right-click menu, in the small row at the end of the viewer toolbar, behind the Measure button under the atom details and the Site button on each ligand. The row closes with its x for the rest of the session, and the setting pdbViewer.showProTools hides the Pro tools for good.
ZOVO PRO AVAILABLEOne-time purchase · No subscription
Add Pro tools to PDB Viewer & Protein Structure
Measure. Distances, angles and dihedrals by clicking atoms, plus hydrogen bond candidates and contacts within a chosen distance, drawn in 3D and saved as CSV.
Superpose and RMSD. Fit a second structure on sequence-matched C-alpha atoms and get the RMSD overall, per chain and per residue, both models overlaid in 3D, CSV and PDB export.
Binding site report. Residues within N angstrom of a ligand with the closest atoms, contacts and hydrogen bond candidates, a focused 3D view, CSV table and PNG image.
Yes. PDB Viewer & Protein Structure is free and MIT licensed.
How do I install PDB Viewer & Protein Structure?
Click "Install in VS Code" above, or search for zovo.zovo-pdb-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-pdb-viewer/](https://vscode.zovo.one/extensions/zovo-pdb-viewer/), browse all Zovo VS Code extensions at [vscode.zovo.one](https://vscode.zovo.one/), or explore [Zovo Pro](https://vscode.zovo.one/pro/).
STL viewer, OBJ viewer, GLB viewer and glTF viewer for 3D models in VS Code. Also opens PLY and 3MF, with wireframe, glTF animations, a scene tree, model stats, point-to-point measuring and PNG screenshots, all offline.
VCD viewer and waveform viewer for Verilog, SystemVerilog and VHDL simulations. Free with no signal limit: signal tree with search, cursor and two markers, bus grouping, hex, binary, signed and ASCII radix, and VCD files of 1 GB and more. A GTKWave-style viewer inside VS Code that works offline.
DBC viewer and CAN log viewer for VS Code: browse .dbc messages, signals, bit layouts and value tables, and decode Vector BLF and ASC, PCAN TRC and candump logs with your DBC. Frame table, filters, per-id cycle time and jitter. Read-only, no network.
SPSS viewer and Stata viewer for VS Code: open .sav, .zsav, .dta and SAS .xpt data files in a fast grid with value labels, variable labels, missing values and dates. Sort, filter, summary statistics and frequencies, copy as TSV. Read-only, no network, millions of rows.
GeoJSON viewer and map viewer for VS Code, also a KML viewer and GPX viewer with a map preview. Opens shapefiles (SHP, zipped), KMZ, TopoJSON, WKT and CSV with lat/lon: feature table, properties, GPX distance and elevation profile, reprojection from .prj, PNG export. Free, no sign-in, works offline.
Free and offline. Layers, measure, SVG or PNG export. DXF viewer and CAD viewer that opens ASCII and binary .dxf drawings (any DXF file) in VS Code with paper space sheets, hatch patterns and find text.