EDIFACT Validator
Validate the syntax of your EDIFACT messages locally, in your browser.
Paste an EDIFACT message to validate it.
How it works
The validator applies ISO 9735 syntax rules — every check that can reasonably be automated without semantic knowledge of the message:
- Optional detection of a leading
UNAservice string advice to redefine separators. - Segment tokenisation honouring the release character (default
?). - Presence of both
UNBandUNZ. - Reference consistency between
UNBandUNZ. - For each message, a paired
UNH/UNTwith the same reference. - The count declared in
UNTmust match the actual segment count (UNH and UNT included). - The count declared in
UNZmust match the actual number of messages.
Privacy
Semantic validation (V1.1)
Semantic validation remains opt-in: by default only ISO 9735 syntax rules apply
(V1). Checks on qualifiers (BGM[1]=220, NAD[1]=BY,
DTM[1]=137…) and on the completeness of mandatory components
inside a segment will follow in a later iteration.
Related documentation
- EDIFACT — the standard overview.
- ORDERS D.96A — the full structure of an ORDERS message, with example.