netron
Viewer for neural network, deep learning and machine learning models.
What it is and what it does
Netron is a standalone viewer for inspecting and visualizing neural network and machine learning model architectures. It supports a wide range of model formats spanning multiple frameworks—ONNX, TensorFlow, PyTorch, Keras, Core ML, OpenVINO, and others—making it useful for developers and researchers who need to understand model structure, layer composition, and data flow without running inference.
The package can be used as a command-line tool (run `netron [FILE]` after installation), accessed through a browser at netron.app, or called programmatically via Python. It has no runtime dependencies, making installation and use lightweight. The project is actively maintained and widely used, as evidenced by its popularity and recent releases.
Use it for:
- Inspect ONNX model architecture and layer details during model development or debugging
- Visualize PyTorch or TensorFlow model graphs to understand data flow and layer connections
- Examine pre-trained models from model zoos to understand their structure before fine-tuning
- Compare model architectures across different frameworks or versions
- Explore Keras or TensorFlow Lite models for mobile or edge deployment planning
- Validate Core ML or OpenVINO models before deployment on target platforms
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Netron is a viewer for neural network and machine learning models that supports ONNX, TensorFlow Lite, PyTorch, TensorFlow, Core ML, OpenVINO, Keras, Caffe, Darknet, Safetensors, NumPy, and several other formats.
Yes. Netron is a lightweight, actively maintained, dependency-free viewer for a broad range of ML model formats. It solves a genuine need for developers and researchers who need to inspect model structure without writing code. The MIT license is permissive, there are no known vulnerabilities, and the tool is widely adopted. Install it if you work with neural networks or machine learning models in any of the supported formats.
Install
netron on PyPI
pip
pip install netronuv
uv add netronpoetry
poetry add netronInstalling netron
Before you install
Installation is straightforward with no runtime dependencies. The package is actively maintained with recent releases and a large repository following (33351 stars), indicating stable, well-supported tooling.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making this suitable for both personal and commercial projects.
Quickstart
pip install netron
netron path/to/model.onnx
Or programmatically:
import netron
netron.start('path/to/model.onnx')
Verify before relying
- Whether the Python API (netron.start) is fully documented and stable across versions
- Performance characteristics when opening very large model files
- Whether experimental format support (MLIR, JAX, GGUF, RKNN, ncnn, MNN, PaddlePaddle, scikit-learn) is production-ready
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 98,557/month — #13,074 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: netron-9.2.2-py3-none-any.whl
Keywords: onnx, keras, tensorflow, tflite, coreml, mxnet, caffe, caffe2, torchscript, pytorch, ncnn, mnn, openvino, darknet, paddlepaddle, chainer, artificial intelligence, machine learning, deep learning, neural network, visualizer, viewer
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
onnx2tfConverts ONNX model files to LiteRT,…
permissive · top 5,000 on PyPI
ai-edge-model-explorerVisualizes and debugs machine learning model…
permissive · top 15,000 on PyPI
keras-nightlyA multi-backend deep learning framework that…
permissive · top 15,000 on PyPI
tosa-adapter-model-explorerEnables visualization of TOSA neural network…
permissive · top 15,000 on PyPI
kerasKeras 3 is a multi-backend deep learning…
permissive · top 5,000 on PyPI
onnxmltoolsConverts machine learning models from multiple…
permissive · top 5,000 on PyPI
mnnMNN is a lightweight deep learning inference…
permissive · top 15,000 on PyPI
openvino-devProvides command-line tools and Python APIs to…
permissive · top 15,000 on PyPI
model-archiverModel Archiver creates `.mar` archive files…
permissive · top 15,000 on PyPI
fiddleFiddle is a Python-first configuration library…
permissive · top 5,000 on PyPI