OpenAPI Validator
Validate Swagger 2.0 and OpenAPI 3.0 or 3.1 YAML and JSON locally against bundled OpenAPI Initiative schemas.
openapi-validatorLOCAL WORKSPACE
Enabling local controls…
Maximum input is 256 KiB. Processing runs in your browser.
Validation result
Run validation to see diagnostics and their JSON Pointers.
OpenAPI Initiative schemas · Schema license · OpenAPI to TypeScript
How to use this tool
Paste a document or load the sample. Validate, fix the fields identified by JSON Pointer and run the check again.
When not to use it
The validator checks document structure, the OpenAPI 3.1 base dialect, root-local references and operation IDs. External references and custom dialects require separate validation. Examples and live API behavior require separate tests.
Read the guide →