# rpk registry schema check-compatibility

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

---
title: rpk registry schema check-compatibility
latest-redpanda-tag: v24.3.9
latest-console-tag: v3.7.3
latest-operator-version: v26.1.4
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "true"
page-eol-date: December 3, 2025
latest-connect-version: 4.93.0
docname: rpk/rpk-registry/rpk-registry-schema-check-compatibility
page-component-name: streaming
page-version: "24.3"
page-component-version: "24.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-registry/rpk-registry-schema-check-compatibility.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/24.3/modules/reference/pages/rpk/rpk-registry/rpk-registry-schema-check-compatibility.adoc
page-git-created-date: "2023-12-22"
page-git-modified-date: "2024-08-01"
support-status: past end-of-life
---

<!-- Source: https://docs.redpanda.com/streaming/24.3/reference/rpk/rpk-registry/rpk-registry-schema-check-compatibility.md -->

Check schema compatibility with existing schemas in the subject.

## [](#usage)Usage

```bash
rpk registry schema check-compatibility [SUBJECT] [flags]
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| -h, --help | - | Help for check-compatibility. |
| --references | string | Comma-separated list of references (name:subject:version), or path to reference file. |
| --schema | string | Schema file path to check. Must be .avro, .json or .proto. |
| --schema-version | string | Schema version to check compatibility with (latest, 0, 1…​). |
| --type | string | Schema type (avro, json, protobuf). Overrides schema file extension. |
| --config | string | Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml. |
| -X, --config-opt | stringArray | Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail. |
| --format | string | Output format: json,yaml,text,wide,help. Default: text. |
| --profile | string | Profile to use. See rpk profile for more details. |
| -v, --verbose | - | Enable verbose logging. |