X12 Parser
Decompose an ANSI ASC X12 envelope — ISA, GS, ST — and inspect the segment hierarchy of a transaction, directly in the browser.
Paste an X12 envelope (ISA/GS/ST) to analyse it.
How it works
The parser applies the envelope rules published in the public ASC X12.5 standard — the checks that can be automated without access to the proprietary Implementation Guides:
-
Auto-detection of delimiters from the
ISAsegment itself: element separator (position 4), composite separator (position 105), and segment terminator (position 106). - Tokenisation on the segment terminator. X12 has no release / escape character — delimiter bytes inside a payload are forbidden by the standard.
-
Verification that the
ISAsegment is exactly 106 characters long including its terminator. -
ISA/IEApairing with control-number match (ISA13 ↔ IEA02). -
For each functional group:
GS/GEpairing, GS06 / GE02 match, and the transaction count declared in GE01. -
For each transaction:
ST/SEpairing, ST02 / SE02 match, and the SE01 segment count (which includesSTandSEthemselves). - The number of groups declared in IEA01 must match the actual number of groups parsed.
Privacy
Limits
Related documentation
- X12 — the standard overview, its versions (4010, 5010), and its ecosystem.
- EDIFACT Validator — the equivalent tool for EDIFACT envelopes (UNB/UNH/UNT).