package.json & requirements.txt Viewer
Paste a package.json or requirements.txt to list every dependency, explain its version range, and flag risky or unpinned entries.
Runs in your browser. Nothing is uploaded.
Paste a package.json or requirements.txt, open a file or load an example to see every dependency, what its version range allows and which ones are worth checking.
| Package | Version | Type | What it allows | Notes |
|---|
Scripts
| Run with | Command |
|---|
How to use the package.json & requirements.txt Viewer
- Paste the contents of a
package.jsonorrequirements.txt, or open the file. The format is detected automatically. - Read the summary of the package name, version, licence, required Node.js version and how many dependencies are flagged.
- Look through the table. Each dependency shows its version rule in plain English and badges such as No upper limit or From Git.
- Tick Only show entries worth checking to focus on risky ones, or download the list as CSV.
See what your project really depends on
A package.json or requirements.txt says which packages a project needs and which versions are
acceptable. The version rules are compact and easy to misread: ^0.4.2, ~=23.0, >=6 and *
mean very different things, and a single loose rule can let a breaking release into your next build.
This viewer turns the file into a readable table and points out entries worth a second look.
For JavaScript projects
From a package.json, the viewer shows the package name, version, licence and required Node.js
version, then every dependency grouped as runtime, development, peer or optional. Each version range
is explained using npm’s own rules, so ^19.1.0 reads “at least 19.1.0 and below 20.0.0”. Packages
installed from Git, URLs, local folders or workspaces are labelled, and the scripts section lists
every npm run command with what it does.
For Python projects
From a requirements.txt, each line is read with its version specifiers, extras and environment
markers. Packages with no version at all are flagged, because a fresh install can pick up a
completely different release. Open-ended rules like >=3.15 are flagged too; adding an upper limit
or using a lock file keeps installs repeatable.
Reading the badges
Orange badges mark entries that can change without you noticing. Grey badges are information only: Pinned for an exact version, Pre-release for betas and release candidates, Workspace and Alias for monorepo and renamed packages. Hover over a badge for a short explanation.
Use it for reviews
Paste a teammate’s changes before approving a pull request, check a project you are about to adopt, or export the dependency list as CSV for a licence or security review. The filter shows only flagged entries, so problems stand out in long files.
Stays on your device
The file is analysed in your browser, so private package names and internal Git URLs never leave your computer. To test a single range, use the Semver Checker; to tidy the JSON itself, try the JSON Formatter.
Frequently asked questions
What does “worth checking” mean?
Entries that may install something unexpected: any version (* or latest), ranges with no upper limit (>=2), packages from Git or a URL, unpinned Python packages, dist-tags like next, and packages listed in both dependencies and devDependencies.
Does the tool check for newer versions or vulnerabilities?
No. That would mean sending your dependency list to a package registry, and this page never sends your data anywhere. Use npm outdated, npm audit or pip list --outdated locally for that.
Why is a pinned version marked as information, not a warning?
Pinning an exact version (4.1.0 or ==5.1.4) is predictable, which is good for applications. It just means you have to update it yourself. Libraries usually use ranges so they work alongside other packages.
Which requirements.txt features are understood?
Version specifiers (==, >=, <, ~=, !=), extras like [binary], environment markers after ;, direct references with @, editable installs with -e, and line continuations and hashes. Options such as -r and --index-url are skipped.
Is my file uploaded?
No. It is read in your browser; nothing is sent to npm, PyPI or anyone else.
Tutorials
How to check a requirements.txt for unpinned packages
Find Python packages without versions or upper limits in a requirements.txt and make installs repeatable.
How to review npm dependencies in a package.json
Spot risky version ranges, Git dependencies and duplicates in a package.json before they cause surprise upgrades.