Dependency Tree Viewer
Paste package-lock.json, package.json or pip freeze output to see the dependency tree, packages installed in several versions, development-only packages and counts.
- Free
- No sign-up
- Works on any device
About Dependency Tree Viewer
A lock file records exactly what was installed, but reading it by eye is painful. Paste package-lock.json (lockfile versions 1, 2 and 3) and this viewer rebuilds the tree by following each package's dependencies with Node's lookup rules, prints it with a depth limit, and counts installed packages, unique names, development-only packages, optional, deprecated and install-script packages. It lists packages installed in several versions together with where each copy sits. A package.json shows its dependency groups and version rules, and pip freeze output shows pinned and unpinned packages.
How to use Dependency Tree Viewer
- Paste the contents of package-lock.json, package.json or the output of pip freeze, or open the file.
- Read the counts and the list of packages that appear in more than one version.
- Set how many levels to show and read the tree for the chain that pulls in a package you care about.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
Also known as
Frequently asked questions
Why does the same package show several versions?
Different parts of the tree asked for ranges that no single version satisfied, so npm kept a nested copy. Duplicates add weight and can cause subtle bugs.
Why is there no tree for pip freeze?
A freeze list is flat and does not say which package needs which. The page shows the packages and their pinning, and suggests pipdeptree for real relationships.
What does shown above mean in the tree?
A package reached by a second route is printed once in full and marked afterwards, so large trees stay readable.
Is Dependency Tree Viewer free?
Yes. Dependency Tree Viewer on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.