One useful email every Monday
New free tools, AI and network threats that matter, and one quick challenge. No spam, unsubscribe in one click.
How to use it
- 1
Paste example JSON.
- 2
Keep strict mode on for structured outputs.
- 3
Copy the schema or code.
Questions people ask
What does strict mode change?
Every field becomes required and extra keys are blocked; optional fields become nullable. That is what strict structured outputs accept.
Related tools
- Token counter & cost calculatorExact OpenAI token counts, Claude and Gemini estimates, and cost on every model.
- Tokens to words converterHow many words, characters and pages is 1,000 tokens? Both ways, by language.
- LLM price & context tableEvery major model’s price, cache price, context window and retirement date.
- Context window fit checkerWill your prompt, documents and history fit, with room for the answer?
- Prompt A/B playgroundTwo system prompts, one input, side by side on OpenAI, Claude or Gemini. Your key stays in your browser.
Link to this tool
Found it useful? Paste this into your blog, wiki or runbook.
<a href="https://toolbini.com/ai/json-schema-generator/">JSON Schema generator</a>Reviewed by the editorial team · Last reviewed 2026-11 · Report an error