Instant • private • developer-friendly

package.json Generator

Fill a simple form to generate a valid package.json with scripts, dependencies, author and license fields.

Scripts

Dependencies

Dev dependencies

package.json

🔒 Your project info stays on your device and is never uploaded.

Skip typing package.json by hand

Every Node.js project needs a valid package.json, but the exact structure for scripts, dependency version ranges and metadata fields is easy to get wrong. Fill the form once and copy or download a correctly formatted file.

Scripts and dependencies

Add as many npm scripts, dependencies and devDependencies as your project needs.

Live JSON preview

Watch the generated file update instantly as you fill in each field.

Private by design

The file is generated entirely in your browser. Nothing is uploaded.

package.json generator FAQ

What fields does this generator support?

Name, version, description, main entry file, scripts, dependencies, devDependencies, author, license, and repository URL.

Can I add version numbers for dependencies?

Yes. Enter the package name and version, such as express and ^4.19.2, and it will be added to the dependencies object.

Does this install the packages for me?

No. It only generates the package.json file. Run npm install after adding it to your project to install the listed packages.

Is my project information uploaded anywhere?

No. The file is generated entirely in your browser.