Kafka Message Encoder
Encode JSON to Avro binary for Kafka and get a ready-to-paste kcat producer command.
✓ Free ✓ No sign-up ✓ Runs in your browser
Kafka Message Encoder: loading the in-browser tool…
No warranty. Unless required by applicable law, this tool is provided on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. You are solely responsible for determining the appropriateness of using it and assume any risks associated with doing so.
How it works
Encode to raw Avro or the Confluent envelope, then copy the bytes or a ready-to-paste kcat command, all in your browser.
Write your JSON message
Enter the record (and an optional key) you want to produce, along with its AVSC schema.
Choose the wire format
Encode as raw Avro, or wrap it in the Confluent Schema-Registry envelope with a schema id. Pick base64 or hex output.
Copy the bytes or kcat command
Grab the encoded bytes, download the binary, or copy a ready-to-paste kcat producer command for your broker and topic.
Your data stays put. Your messages, keys and schema are encoded entirely in your browser. Nothing is uploaded, logged, or sent to any server.