mlpeel

Minimal-dependency neural network model viewer for ONNX, Safetensors, GGUF, and TFLite

$ npx mlpeel model.onnx copy
mlpeel viewer

Minimal Dependencies

Core viewer uses only Node.js 22+ built-ins. Inference requires onnxruntime-node.

Interactive Graph

Pan, zoom, and click nodes to inspect shapes, types, and parameters.

Auto Detection

Format recognized from file extension or magic bytes automatically.

JSON Export

Dump the full model structure as JSON for scripting and automation.

Supported Formats

.onnx .safetensors .gguf .tflite

Usage

# open model in browser
mlpeel model.onnx

# custom port
mlpeel model.safetensors --port 3000

# output as JSON
mlpeel model.gguf --json