InstantTools.siteZero Latency Utilities
dev Tool
100% In-Memory (Zero Server Upload)

package.json Dependency Sorter

Sort dependencies alphabetically inside package.json, pick the indent and copy the cleaned JSON back.

Dependency sections found · 5 keys reordered

  • dependencies: 3 entries · moved 3
  • devDependencies: 2 entries · moved 2

About package.json Dependency Sorter

Paste the contents of a package.json file and the tool rewrites dependencies, devDependencies, peerDependencies and optionalDependencies with keys in alphabetical order, optionally sorting the top-level keys as well (name and version stay first). Choose a 2 or 4 space indent and copy the result. Everything is parsed as plain JSON in your browser — no file is uploaded and no package manager runs.

Key Features & Privacy Guarantee

  • Zero server transmission: all computation happens instantly in your local browser runtime.
  • No sign-up, no subscriptions, and no usage quotas.
  • Optimized for maximum speed, accuracy, and lightweight performance.
  • Instant one-click clipboard copying.

Frequently Asked Questions

Common questions and helpful answers about this utility.

No — it only reorders keys and re-indents the JSON you paste. Version ranges are copied through untouched.