Skip to content

Menu

Structured Output Designer

Design JSON schemas for structured LLM output

Runs entirely in your browserAIFree, no sign-up
Loading tool

01What is Structured Output Designer?

Getting a model to return JSON you can parse every time is mostly a schema problem. Each vendor wraps that schema differently and enforces slightly different rules. This designer lets you build the schema field by field and hands back the request fragment ready to paste. You set a Schema Name and Description, then add fields. Each field has a name, a type (string, number, integer, boolean, array, object or null), a description and a Req checkbox. String fields take optional comma-separated enum values, and array fields take an item type. Four targets are available, matching the vendors' structured output docs as checked on 8 November 2026. OpenAI Responses puts the schema under text.format. OpenAI Chat Completions uses response_format with a json_schema object. Anthropic uses output_config.format. Plain JSON Schema emits a draft 2020-12 document with $schema and title. The rules are where people trip up, so the tool applies them for you. OpenAI strict mode needs every property listed in required and additionalProperties set to false. Optional fields are expressed by allowing null instead. So an unticked number field becomes type ["number", "null"], and null is appended to any enum. Anthropic always gets additionalProperties: false but keeps optional fields out of required. With Strict mode off, required follows your checkboxes and additionalProperties is left out. A quick example. A sentiment schema with a required label enum (positive, negative, neutral) and an optional score produces required ["label", "score"] for OpenAI strict. The same fields for Anthropic produce required ["label"], with score still a plain number. Warnings flag schema names OpenAI would reject, since names must be 1 to 64 letters, digits, underscores or dashes. They also catch duplicate names, which are skipped, unnamed fields, which are left out, and object fields that still have no nested properties. The Example Output view fills in placeholder values: the first enum value, "example" for strings, 0.95 for numbers, 1 for integers and true for booleans. Those are placeholders, not model output. There are limits. You can't define nested object properties in the UI, so you add them by hand after copying. There's no support for formats, patterns, minimums or $ref either. The tool builds the request shape. It doesn't call any API or test the schema against a model.

Backend developers wiring OpenAI or Claude structured outputs into an app use it to get the schema and the request wrapper right on the first try. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Structured Output Designer

  1. Load the API response, Classification or Extraction example, or edit the Schema Name and Description.
  2. Click Add to create fields, then set each field's name, type, description and Req checkbox.
  3. Add enum values to string fields, or pick an Item type for array fields.
  4. Choose a Target and decide whether Strict mode should be on.
  5. Switch between the schema view and Example Output, read any warnings, then click Copy.

03Worked examples

Input: Name sentiment, Strict mode on, target OpenAI Responses. Fields: label (string, required, enum positive, negative, neutral), score (number, not required)
Result: {"text":{"format":{"type":"json_schema","name":"sentiment","schema":{…"score":{"type":["number","null"]}},"required":["label","score"],"additionalProperties":false},"strict":true}}}
Condensed. OpenAI strict mode needs every field in required, so the optional score is listed there and made nullable instead.
Input: Same fields, target Anthropic
Result: {"output_config":{"format":{"type":"json_schema","schema":{…"score":{"type":"number"}},"required":["label"],"additionalProperties":false}}}
Condensed. Optional fields stay optional and are left out of required.
Input: Same fields, target Plain JSON Schema, Strict mode off
Result: {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"sentiment","type":"object",…,"required":["label"]}
Condensed. With Strict off there is no additionalProperties line.
Input: API response example (success, message required; errors array and retry_after_seconds integer optional), Example Output view
Result: {"success":true,"message":"example","errors":["item1","item2"],"retry_after_seconds":1}
Placeholder values by type, not model output.
Input: OpenAI strict fields: address (object, required), tags (string), tags again, and one field with no name
Result: Warnings: "address" is an object with no properties yet; add its properties by hand. Duplicate name "tags" was skipped; property names must be unique. 1 field(s) without a name were left out.
The schema keeps address and one tags field, with tags typed ["string","null"].
Input: Name "my schema", Strict mode off, target OpenAI Chat Completions
Result: {"response_format":{"type":"json_schema","json_schema":{"name":"my schema",…,"strict":false}}} plus warning: OpenAI schema names must be 1-64 characters of letters, digits, underscores or dashes.
Condensed. The space in the name triggers the warning.

04Common use cases

  • Writing the text.format block for an OpenAI Responses call that must return parseable JSON
  • Porting a structured-output schema from OpenAI to Claude without breaking the required rules
  • Designing a ticket-routing schema with an enum of queue names so the model can't invent new ones
  • Building an entity-extraction schema that returns arrays of person, organization and location names
  • Agreeing on an LLM output contract between prompt engineers and backend developers
  • Producing a placeholder payload for frontend mocks while the model integration is still being built

05Tips

  • In OpenAI strict mode, leave Req unticked on fields the model may not know. They come out required-but-nullable, which is how OpenAI expresses optional values.
  • Plain JSON Schema with Strict mode on adds additionalProperties: false. Turn Strict off if you want an open schema for validation only.
  • Object fields are emitted with an empty properties list, so add their nested properties by hand before you ship.
  • Field descriptions are sent to the model. Write them as short instructions, such as score between 0 and 1.
  • Keep the schema name to letters, digits, underscores and dashes. A space passes for Anthropic but OpenAI rejects it.

06Related concepts

JSON Schema, structured outputs, function calling, enum constraints, LLM response format.

Frequently Asked Questions

What is Structured Output Designer?

Structured Output Designer is a free, browser-based developer tool on AIDToolStack. Design JSON schemas for structured LLM output It requires no installation or sign-up and works entirely in your browser.

Is Structured Output Designer free to use?

Yes. No sign-up, no fees and no usage cap.

Does Structured Output Designer store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe