Tip: For tests/debugging, run window.feutexSelfTest() in the console.
How to use
Pick a conversion mode, paste input, and click Convert.
- Select JSON → JSON Schema, JSON Schema → Example JSON, or JSON Schema → OpenAPI.
- Paste your JSON or schema into the input box.
- Adjust options (draft, required fields, additionalProperties) if needed.
- Click Convert, then Copy to reuse the output.
FAQ
Does this tool run offline?
Yes. All conversion happens in your browser and no data is sent anywhere.
What JSON Schema draft does it generate?
You can include the $schema URI for 2020-12 or draft-07; the generated structure stays broadly compatible for common keywords.
How are required fields decided when converting JSON to schema?
If enabled, every key present in the sample object is marked as required (it can’t infer missing/optional fields from a single example).
How does it handle arrays with mixed item types?
It generates anyOf in items when it sees different types across elements.
Can it generate example JSON from schemas with $ref?
It supports local refs like #/$defs/Name or #/definitions/Name; remote refs aren’t supported.
What does the OpenAPI conversion output?
It outputs a minimal OpenAPI 3.0 document with your schema under components.schemas (Root + any $defs/definitions).
Will it validate my schema?
No full validator is included; it focuses on conversion and will only report JSON parsing errors or unsupported refs.