JSON Schema to OpenAPI

Wrap a JSON Schema in an OpenAPI 3.1 (or 3.0) document, with definitions moved to components.schemas and $refs rewritten.

Frequently asked questions

What changes for OpenAPI 3.0?

3.0 predates full JSON Schema support, so type: ["x","null"] becomes nullable: true, const becomes a one-value enum and examples becomes example.

Is JSON Schema to OpenAPI free?

Yes. JSON Schema to OpenAPI is free to use. You get 3 free conversions a day without an account, and unlimited use when you sign in with Google.

Are my files uploaded?

No. The conversion runs inside your browser, so your files stay on your device and are never sent to our servers.

Does it work on mobile?

Yes. PixKaro works in Chrome, Safari, Edge and Firefox on Android, iPhone, Windows and Mac.