package.json Generator - Free Online package.json Maker Tool | IconVault
Build a valid package.json visually: project type presets, name, version, scripts, dependencies, engines. Live preview, copy or download. Free.
package.json Generator
Visual package.json builder with live preview
Private package
Blocks accidental npm publish
CLI bin entry
Adds a bin command for the package
Has side effects
Off writes "sideEffects": false for tree-shaking
5 of 5 free generations left - runs fully in your browser, nothing is uploaded.
Live preview: package.json
{
"name": "my-app",
"version": "1.0.0",
"private": true,
"main": "index.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0"
},
"devDependencies": {
"vite": "^6.0.0",
"typescript": "~5.7.0"
},
"engines": {
"node": ">=20"
},
"license": "MIT"
}
Output is generated with JSON.stringify, so it is always valid JSON. Empty fields are omitted automatically.
About this tool
IconVault's package.json Generator builds a valid package.json visually, no memorized field names required. Pick a project type (app, library or CLI) for sensible presets, then fill in name, version, description, author and license, add or remove scripts, dependencies and devDependencies with versions, set engines, and watch the live JSON preview update as you type. Copy it or download the finished file when you are done.
It is free, needs no signup, and runs 100% client-side. The honest note: the tool produces clean, valid JSON with correct structure, but it cannot know your exact dependency versions, so double check version ranges against the registry before you publish or commit.
Frequently asked questions
Popular searches
More tools
Code Playground
Write HTML, CSS & JS with live preview.
JSON Formatter
Beautify, validate & minify JSON.
Base64 Encoder
Encode & decode text and files.
JWT Decoder
Inspect tokens without sending them anywhere.
Coming soon
CLI
Coming soon
Figma plugin
Coming soon
VS Code extension
Coming soon
Chrome extension
Coming soon
AI icon generator
Coming soon
Team workspaces
Coming soon