JSON Schema generator. From a sample to a schema.
Paste one JSON sample. Get a draft 2020-12 schema with types, required keys and string formats, plus the input_schema block for the Anthropic API and the parameters block for an OpenAI function. Arrays merge every item's shape. Nothing leaves your browser.
Cost to you
Free
Runs in your browser. No signup, no API call, no limit per hour.
- browser
- runs in
- none
- API calls
- none
- account
Use it now
Use the JSON Schema generator here
It runs in your browser. Nothing you type is sent anywhere, there is no signup and no limit.
Run it from your agent
Copy one prompt, give it to your agent.
Fill in the placeholder, paste it, and the agent runs the same job with current data on your looot account and shows the cost.
- You give it: a json sample: an object, an array or a value.
- Billed per call, nothing while your agent is idle.
- The agent shows the price before it calls.
set up looot - https://looot.ai/skill.mdWhat comes back
What your agent gets from json schema generator
Field names as the providers return them. The exact set varies by endpoint, and your agent reads it from the catalog.
- JSON Schema draft 2020-12
- Anthropic tool with input_schema
- OpenAI function with parameters
- required keys and string formats
Use it for
What people do with json schema generator
Tool calling
Turn a sample request body into the input schema of a tool your model can call.
Structured output
Pin the shape you want back from a model, then validate every answer against it.
Validate API data
Check webhook payloads or API answers against the schema in tests.
Skip the hand typing
Get nested objects, arrays and nullable fields right without writing the schema by hand.
Set up once
Three steps. Your agent does the rest.
Keep going
More free tools
FAQ
Questions about json schema generator
- tool
- JSON Schema generator
- category
- Generators
- input
- A JSON sample: an object, an array or a value
- output
- JSON Schema draft 2020-12, Anthropic tool with input_schema, OpenAI function with parameters, required keys and string formats
- price
- per call, read live from the catalog on the web page
- web tool
- runs in the visitor's browser, no API call, free and unlimited
- schedule
- on demand
- setup
- https://looot.ai/skill.md
- llms.txt
- https://looot.ai/llms.txt
- updated
- 2026-10-14
Run json schema generator from your own agent.
Start your workspace, top up, and paste the prompt into the agent you already use. It runs the job with live data and shows the cost first.