Open ONNX files in your browser
The model file PyTorch exports to and ONNX Runtime runs anywhere, from servers to phones. See what one is right here, without running it. Nothing leaves your device.
Or drop it anywhere on this page
What you'll see
Your model opens on a card of what it takes and gives back, its operators and weights, read without running any of it.
- Inputs and outputs • Their types and shapes
- Operators by kind • Parameters counted
- Its graph • Opens as a diagram
- Its weights are never read • Nothing runs
About ONNX
Microsoft and Facebook started ONNX in 2017 so a model trained in one framework could run in another, and the Linux Foundation keeps it now. PyTorch exports to it, converters bring TensorFlow and scikit-learn models over, and ONNX Runtime runs it on servers, phones and in browsers.
An ONNX file is a protobuf: the model's opsets and producer, then its graph, each node an operator like Conv or MatMul with its inputs and outputs, and the weights as initializers, tensors of a type and shape, inside the file or in files of their own beside it.
Filepeek reads it field by field in your browser: its inputs and outputs with their types and shapes, the operators by kind, the parameters counted, the weights' types and sizes, which are never read, and who made it. Its graph opens on the canvas as a diagram, and nothing in it runs.
Open Neural Network Exchange
.onnx
Format
- MIME type
- application/octet-stream
- Made by
- The ONNX project
- Released
- 2017
Inside the file
- Format
- Protocol Buffers
- Holds
- A graph of operators and its weights
- Versions
- An IR version and opsets
- Runs code
- Never
Opens in every browser
Filepeek shows what an ONNX model holds in Chrome, Edge, Firefox and Safari. On their own, browsers only download it.
- YouChromeOpens through Filepeek
- YouEdgeOpens through Filepeek
- YouFirefoxOpens through Filepeek
- YouSafariOpens through Filepeek
Apps that open ONNX
- WindowsNetron, free, draws its graph
- MacNetron, free, draws its graph
- iPhone and iPadNo app opens it
- AndroidNo app opens it
Questions
How do I see a model's input shape?
Drop it on this page. Inputs lists each one with its type and shape, like float32 and 1 × 3 × 224 × 224, and Outputs does the same for what it gives back.
Which ONNX Runtime can run it?
Model lists its opsets, like ai.onnx 17, and its IR version. A runtime that supports those opsets runs it.
Why does it say its weights are in another file?
A model past 2 GB keeps its weights as external data, files of their own beside the .onnx. Filepeek names them and reads the graph, the inputs and the outputs.
Can I see its graph?
Yes. Under Graph, its .gv file opens the graph as a diagram on the canvas, a box for each operator, up to 1,500 of them.