API breaking change checker
Paste or drop your data here, or open a file.
New to Bracely?
Everything stays in your browser.
Output appears here
Paste or open your data in the input box. It never leaves your browser.
API Breaking Change Checker
Put the old version of an API payload or JSON Schema on the left and the new one on the right. Every change is marked breaking, risky or safe for existing clients.
Example: a response that changed between releases
The old response on the left, the new one on the right. email was removed and id turned from a number into a string, which break existing clients; the new phone field is safe. With Show set to Markdown, the report is ready to paste into a pull request:
Old response
{
"id": 1,
"name": "Ananya",
"email": "[email protected]",
"status": "active"
}New response
{
"id": "1",
"name": "Ananya",
"status": "active",
"phone": null
}Output
## API changes (responses)
2 breaking, 0 risky, 1 safe.
- **Breaking** `$.email`: Field removed (string → none). Clients that read this field will get nothing.
- **Breaking** `$.id`: Type changed (number → string). Code that expects the old type will break.
- **Safe** `$.phone`: Field added (none → null). Clients can ignore new fields.
How do I use the API breaking change checker?
- Paste the old payload or schema.
- Paste the new one.
- Read the report, or copy it as Markdown for a pull request.
What does the API breaking change checker do?
- Removed fields and type changes flagged
- Checks responses or requests
- Markdown output for pull requests
When to use the API breaking change checker
Changing an API response is safe for existing clients only if nothing they read disappears or changes type. Comparing two versions by eye misses things, especially in large payloads. Paste the old and new versions, as sample payloads or JSON Schemas, and every difference is classed as breaking, risky or safe, with a reason.
What counts as breaking depends on the direction. For responses that clients read, a removed field or a changed type is breaking and a new field is safe. For requests that clients send, a new required field is breaking, because existing clients don't send it. Narrowing allowed values is safe in a response and breaking in a request. Show: Markdown gives a report to paste into a pull request or a changelog.
Frequently asked questions
- Can I compare two OpenAPI or JSON Schema versions?
- Yes, for one schema at a time: paste the old and new schema of a request or response body. Required fields, types, nullability and enum values are compared.
- Why is a field that can now be null breaking?
- Clients that use the value without checking for null can crash when it arrives, so a field that was never null and now can be is reported as breaking, even though its type didn't change.
- Does it work with JSON Schemas?
- Yes. Inputs can be sample payloads or JSON Schemas.
- Is my data uploaded?
- No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.
More JSON tools
Bracely has 108 JSON tools in one page. Related ones:
- Text diff
- API snapshot testing
- JSON Diff
- JSON Patch
- Compare JSON arrays
- Unix timestamp converter
- Filter JSON fields
- JSON Minifier
- Sort JSON
- JSON Formatter
- JSON Validator
- JSON Viewer
- JSON Repair
- JSON to YAML
- JSON to CSV
- jq Playground
Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut · About · Privacy policy
Last updated · Version 6.7 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram