API breaking change checker

Input
Output

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?

  1. Paste the old payload or schema.
  2. Paste the new one.
  3. 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:

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