AI Tools Free

CloudEvents v1.0 Validator & Binary Header Converter

Validate CNCF CloudEvents `v1.0` and `v0.3` messages in either Structured JSON mode (`application/cloudevents+json`) or HTTP Binary mode (`ce-*` headers), audit RFC 3339 timestamps, URI-references, and extension attribute naming rules, and convert seamlessly between both transport bindings.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Validate CloudEvent.

Choose whether to validate a self-contained CloudEvents JSON object or HTTP binary-mode headers.

Per CloudEvents v1.0 spec, all context and extension attribute names must consist solely of lowercase letters ('a'-'z') or digits ('0'-'9').

Paste a CloudEvents JSON object or HTTP binary headers ('ce-id: ...', 'ce-source: ...', etc.).

Your result
Enter your details

Result will appear here

How the CloudEvents v1.0 Validator Works

Paste either a Structured JSON payload or a block of HTTP `ce-*` headers to run a full CNCF specification compliance check.

Required v1.0 Context Attributes: id (non-empty string), source (URI-reference), specversion ('1.0'), type (non-empty string); Attribute Name Rule: ^[a-z0-9]+$ (no hyphens or uppercase in JSON keys).

Validates all CNCF CloudEvents v1.0 required, optional (`datacontenttype`, `dataschema`, `subject`, `time`), and extension attributes, and automatically translates between Structured Mode (`application/cloudevents+json`) and HTTP Binary Mode (`ce-*` headers).

CloudEvents v1.0 Validator & Binary Header Converter workflow overview
Workflow overview for CloudEvents v1.0 Validator & Binary Header Converter.

CNCF CloudEvents v1.0 Context Attributes & HTTP Binding Reference Table

Complete specification of required and optional CloudEvents v1.0 attributes across Structured JSON and HTTP Binary modes.

Attribute NameHTTP Binary HeaderRequirementType / Format ConstraintExample Value
`specversion``ce-specversion`**REQUIRED**String (`"1.0"`)`"1.0"`
`id``ce-id`**REQUIRED**Non-empty String (unique per `source`)`"evt-2026-10-25-9f81c2"`
`source``ce-source`**REQUIRED**URI-reference (RFC 3986)`"https://api.example.com/orders"`
`type``ce-type`**REQUIRED**Non-empty String (reverse-DNS recommended)`"com.example.order.fulfilled"`
`datacontenttype``Content-Type`OptionalRFC 2046 Media Type`"application/json"`
`dataschema``ce-dataschema`OptionalAbsolute URI (RFC 3986)`"https://schema.example.com/order.json"`
`subject``ce-subject`OptionalNon-empty String`"ORD-1001"`
`time``ce-time`OptionalRFC 3339 Timestamp`"2026-10-25T14:30:00Z"`

How to use CloudEvents v1.0 Validator & Binary Header Converter step by step

Enter the values for your scenario, verify the units, and run the calculation.

Enter the inputs

Start by entering the required fields in the CloudEvents v1.0 Validator & Binary Header Converter form above.

CloudEvents v1.0 Validator & Binary Header Converter step 1: Enter the inputs
Step 1 workflow overview for CloudEvents v1.0 Validator & Binary Header Converter.

Verify units and assumptions

Match each value to the unit or format shown next to the input box before running the calculation.

CloudEvents v1.0 Validator & Binary Header Converter step 2: Verify units and assumptions
Step 2 workflow overview for CloudEvents v1.0 Validator & Binary Header Converter.

Run and export your result

Select Validate CloudEvent, inspect the primary metric and breakdown cards, then use Copy result or Download result.txt.

CloudEvents v1.0 Validator & Binary Header Converter step 3: Run and export your result
Step 3 workflow overview for CloudEvents v1.0 Validator & Binary Header Converter.

Worked examples for CloudEvents v1.0 Validator & Binary Header Converter

Compare baseline and alternative runs for CloudEvents v1.0 Validator & Binary Header Converter before exporting the result.

Baseline example

Validate CNCF CloudEvents v1.0 and v0.3 structured JSON payloads or HTTP binary headers (ce-*). Check required attributes, RFC 3339 timestamps, URI-references, and extension naming.

CloudEvents v1.0 Validator & Binary Header Converter example 1: Baseline example
Worked example 1 for CloudEvents v1.0 Validator & Binary Header Converter.

Comparison scenario

Required v1.0 Context Attributes: id (non-empty string), source (URI-reference), specversion ('1.0'), type (non-empty string); Attribute Name Rule: ^[a-z0-9]+$ (no hyphens or uppercase in JSON keys).

CloudEvents v1.0 Validator & Binary Header Converter example 2: Comparison scenario
Worked example 2 for CloudEvents v1.0 Validator & Binary Header Converter.

Boundary check before exporting

Validates all CNCF CloudEvents v1.0 required, optional (`datacontenttype`, `dataschema`, `subject`, `time`), and extension attributes, and automatically translates between Structured Mode (`application/cloudevents+json`) and HTTP Binary Mode (`ce-*` headers).

CloudEvents v1.0 Validator & Binary Header Converter example 3: Boundary check before exporting
Worked example 3 for CloudEvents v1.0 Validator & Binary Header Converter.

How to interpret the CloudEvents v1.0 Validator & Binary Header Converter output

Review the calculated output alongside your entered parameters and unit conventions.

Validates all CNCF CloudEvents v1.0 required, optional (`datacontenttype`, `dataschema`, `subject`, `time`), and extension attributes, and automatically translates between Structured Mode (`application/cloudevents+json`) and HTTP Binary Mode (`ce-*` headers).

How to interpret CloudEvents v1.0 Validator & Binary Header Converter results
Result interpretation guide for CloudEvents v1.0 Validator & Binary Header Converter.

Pre-Publish CloudEvents Checklist

Confirm these three rules across your event producers.

Required v1.0 Context Attributes: id (non-empty string), source (URI-reference), specversion ('1.0'), type (non-empty string); Attribute Name Rule: ^[a-z0-9]+$ (no hyphens or uppercase in JSON keys). Validates all CNCF CloudEvents v1.0 required, optional (`datacontenttype`, `dataschema`, `subject`, `time`), and extension attributes, and automatically translates between Structured Mode (`application/cloudevents+json`) and HTTP Binary Mode (`ce-*` headers).

Scope limits and assumptions for CloudEvents v1.0 Validator & Binary Header Converter
Assumptions and input boundaries for CloudEvents v1.0 Validator & Binary Header Converter.

CloudEvents v1.0 Validator & Binary Header Converter: common questions

Answers about using CloudEvents v1.0 Validator & Binary Header Converter and understanding its results.

What are the 4 required attributes in a CloudEvents v1.0 message?

Every valid CloudEvents v1.0 event must include four non-empty String context attributes: "specversion" (must be "1.0"), "id" (unique within the scope of the producer/source), "source" (a valid URI-reference identifying the event producer, such as "https://example.com/orders" or "/sensors/temp-1"), and "type" (reverse-DNS event type string such as "com.example.order.created").

What is the difference between CloudEvents Structured Mode and Binary Mode in HTTP?

In Structured Mode, the HTTP Content-Type is "application/cloudevents+json" and both metadata attributes and payload live inside a single JSON envelope (under "data" or "data_base64"). In Binary Mode, the HTTP body contains only the raw event "data" (with normal Content-Type like "application/json"), while all CloudEvents context attributes are passed as HTTP headers prefixed with "ce-" (such as "ce-specversion: 1.0", "ce-id: ...", "ce-source: ...", "ce-type: ...").

Why are camelCase or hyphenated extension attributes invalid in CloudEvents v1.0?

So that attributes map cleanly across HTTP headers, AMQP, Kafka, MQTT, and JSON without case-sensitivity collisions, the CloudEvents v1.0 specification mandates that all attribute names use only lowercase ASCII letters ('a'–'z') and digits ('0'–'9')—no uppercase characters, underscores ('_'), or hyphens ('-').

When should I use `data_base64` instead of `data`?

In Structured JSON mode (`application/cloudevents+json`), if the event payload is binary (such as Protobuf, Avro, or Gzip) rather than JSON or text, store the Base64-encoded bytes in `data_base64` instead of `data`. A single CloudEvent must never contain both `data` and `data_base64` simultaneously.

Try your own values

Choose another tool for your next calculation, conversion, or text task.

Validate CloudEvent