A simple, web-based tool for converting JSON objects into their corresponding JSON Schema definitions. Built to save time and reduce effort when working with JSON data validation. Also, it supports the validation of JSON Schema against JSON objects.


- Instant Conversion: Input JSON data and instantly get the corresponding JSON Schema.
- Copy-Paste Simplicity: Quickly copy the generated schema for your projects.
- Minimalistic Design: Clean and distraction-free interface to focus on what matters.
- No Install Required: Completely browser-based and lightweight.
- Local Storage: Your data is stored directly in your browser using local storage and is not shared externally.
- Framework: React, Nextjs
- Styling: TailwindCSS, Shadcn
- Deployment: Vercel
- Node.js (v14 or newer)
- npm or Yarn
-
Clone the repository:
git clone https://github.com/isamrish/json-to-json-schema.git cd json-to-json-schema
-
Install dependencies:
npm install
Or, if using Yarn:
yarn install
-
Start the development server:
npm start
Or, with Yarn:
yarn start
-
Open the app in your browser at http://localhost:3000.
Generate a production build using:
npm run build
Or, with Yarn:
yarn build
The optimized build will be created in the build/
directory.
Check out the live version of the tool here: https://json-to-json-schema.vercel.app/
Contributions are welcome! Follow these steps to contribute:
- Fork this repository.
- Create a new feature branch:
git checkout -b feature-name
- Make changes and commit:
git commit -m "Description of changes"
- Push the branch:
git push origin feature-name
- Submit a pull request for review.
Have an idea or found a bug? Please open an issue to let us know.
This project is licensed under the MIT License.