Tensor Viewer is an NPZ and NPY viewer for NumPy arrays that also opens PyTorch .pt, .pth and .ckpt checkpoints and .gguf and .safetensors model files. It shows every tensor's name, dtype and shape, plus stats, a heatmap and the values, without Python.
Layout: the viewer offers every layout the shape allows and picks the likely one first. (H, W, 3) and (H, W, 4) are channels last, (3, H, W) is channels first, and anything else is grayscale.
Frame: leading dimensions are frames, so a (16, 28, 28) stack of masks or an (8, 3, 96, 96) batch shows one picture at a time. Use the arrow buttons, or type a frame number and press Enter. The caption gives the index of each dimension.
Range: Auto uses 0 to 255 for uint8, 0 to 1 for floats that stay in that range, and min to max otherwise. You can also pick a fixed range or one symmetric around 0. NaN and Inf pixels show in magenta in grayscale pictures.
Value type: float32, float64, float16, bfloat16, int8 to int64, uint8 to uint64, complex64, complex128 or bool. Each choice shows how many values the file holds.
Header bytes to skip (0 for tofile()).
Shape, such as 4, 128, 128. Use -1 once to fill in from the file size, or leave it empty for one long 1-D array. A shape that doesn't fit the file is caught before it opens.
Byte order, for types bigger than 1 byte.
ZOVO PRO AVAILABLEOne-time purchase · No subscription
Add Pro tools to NumPy Viewer: NPZ, Safetensors
Compare two checkpoints. every value of every tensor of two files, with max and mean difference, RMSE and cosine similarity per tensor, across formats.
Scan all tensors. every value read, not a sample; flags NaN, Inf, all-zero and constant tensors, with exact min, max, mean and std.
Yes. NPZ & NPY Viewer, PyTorch PTH, GGUF & Safetensors (NumPy Viewer) is free and MIT licensed.
How do I install NPZ & NPY Viewer, PyTorch PTH, GGUF & Safetensors (NumPy Viewer)?
Click "Install in VS Code" above, or search for zovo.tensor-viewer in the Extensions view.
Marketplace README snippet (copy link for VS Code Marketplace)
See full docs & install options at [vscode.zovo.one/extensions/tensor-viewer/](https://vscode.zovo.one/extensions/tensor-viewer/), browse all Zovo VS Code extensions at [vscode.zovo.one](https://vscode.zovo.one/), or explore [Zovo Pro](https://vscode.zovo.one/pro/).
Claude Code history and Codex history viewer. Browse, search and resume your local Claude Code and Codex sessions, with subagents, tool calls, file edit diffs and token use. Free, read-only, offline. Optional Zovo Pro adds a usage and cost report, share-safe export and bulk export.
Pickle viewer and PKL viewer for Python pickle files (.pkl, .pickle, .p). Opens them without Python and never runs their code, with a tree, NumPy arrays, pandas tables, opcodes and a safety check.
Agent Skills and Claude skills manager for Claude Code, Codex, Cursor, Copilot and Windsurf: see every SKILL.md, including Claude Code plugin skills, check it, turn it off, copy it or create one. Offline.
Claude Code usage, Codex usage and Gemini CLI usage in the status bar: tokens, estimated cost and your Claude Code 5-hour and weekly limit, read offline from local files. Codex rate limits and a 30-day dashboard. Not affiliated with Anthropic, OpenAI or Google.
Lints AGENTS.md, CLAUDE.md and other agent rules for stale commands, paths and versions, broken @imports, and AGENTS.md files over the Codex 32 KiB limit. Offline.