explaingit

lutzroeder/netron

Analysis updated 2026-06-20

32,793JavaScriptAudience · researcherComplexity · 2/5Setup · easy

TLDR

A visual viewer for AI model files that draws an interactive diagram of every layer and connection in a neural network, works with ONNX, PyTorch, TensorFlow, Keras, and many more formats.

Mindmap

mindmap
  root((netron))
    What it does
      ML model viewer
      Interactive layer graph
      Node attribute inspector
    Supported formats
      ONNX
      TensorFlow
      PyTorch
      Core ML
    Use cases
      Model architecture review
      Cross-framework debugging
      Export verification
    Audience
      ML engineers
      Researchers
      Data scientists
    Platforms
      Desktop app
      Browser
      Web component
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Visually inspect a neural network's layer structure and tensor shapes without reading binary model files by hand.

USE CASE 2

Verify that a model exported to ONNX still has the same architecture as the original PyTorch or TensorFlow version.

USE CASE 3

Share an interactive model diagram with non-technical teammates or include it in a report to explain how a model is structured.

What is it built with?

JavaScriptElectronnpmONNXTensorFlowPyTorch

How does it compare?

lutzroeder/netrongulpjs/gulpsongquanpeng/one-api
Stars32,79332,97532,987
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasyeasyhard
Complexity2/52/53/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Download the desktop installer or drag-and-drop a model file at the web version, no configuration needed.

License information is not mentioned in the explanation.

In plain English

Netron is a viewer for machine learning and deep learning model files. It reads model files in a wide range of formats and renders an interactive graph that shows the model layers, connections between them, and the properties of each operation such as input and output tensor shapes, data types, and operator parameters. The formats supported include ONNX, TensorFlow SavedModel and frozen graph, TensorFlow Lite, PyTorch exports, Core ML, Keras, Caffe, DarkNet, scikit-learn serialized models, and many others. This breadth makes it a useful inspection tool regardless of the framework a model was built in. Netron works in multiple environments. It is available as an Electron-based desktop application for macOS, Windows, and Linux. It also runs in the browser where users can drag and drop a model file directly, and it can be embedded as a web component in other applications. Using it is straightforward: open a model file, and Netron renders the computation graph. Clicking on any node shows its attribute details in a side panel. For large models this provides a practical way to understand the architecture without reading serialized binary formats by hand. When to use it: Netron is most useful for machine learning engineers and researchers who want to inspect a model structure quickly, verifying that an export preserved the expected layers, debugging mismatches between frameworks, or simply understanding an unfamiliar model file received from someone else. It is particularly handy when working with ONNX models during cross-framework conversions. The project is written in JavaScript and distributed as an npm package as well as standalone desktop installers for all major platforms.

Copy-paste prompts

Prompt 1
I have an ONNX model file and want to inspect it with lutzroeder/netron in the browser. Walk me through opening it and what I should look for to verify the layer shapes are correct.
Prompt 2
I converted a PyTorch model to ONNX and the output is wrong. Help me use Netron to compare the original and exported graphs to find where the mismatch is.
Prompt 3
How do I embed Netron as a web component in my own ML dashboard so users can drag and drop their model files to inspect them?
Prompt 4
I received a Core ML model file from a colleague and don't know its architecture. Show me how to open it in Netron desktop and read the layer details from the side panel.

Frequently asked questions

What is netron?

A visual viewer for AI model files that draws an interactive diagram of every layer and connection in a neural network, works with ONNX, PyTorch, TensorFlow, Keras, and many more formats.

What language is netron written in?

Mainly JavaScript. The stack also includes JavaScript, Electron, npm.

What license does netron use?

License information is not mentioned in the explanation.

How hard is netron to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is netron for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub lutzroeder on gitmyhub

Verify against the repo before relying on details.