EDI viewer
Paste an EDIFACT, X12 or HL7 message to see it one segment per line, with the position of every value. Search on text or on a position such as NAD01, and check the control counts.
Click a value to see its position.
About this tool
The viewer finds the separators at the start of the message: in UNA for EDIFACT (or the standard ones when the message starts with UNB or UNH), in ISA for X12 and in MSH for HL7 v2. For other segment based formats, tick Own separators.
Each segment is shown on its own line, indented inside its interchange, group and message. Click a value to see its position. Positions are written as the tag and the element number, such as BGM02, with the component after a dash, such as DTM01-2. HL7 uses its own style, such as PID-5 and PID-5.1. These are the positions you need when you write a mapping or read a partner's specification.
The viewer shows structure only. It does not know the names of segments or the meaning of codes, so BGM+220 stays 220. Release characters such as ?+ in EDIFACT are handled, so a protected + stays part of the value.
For EDIFACT and X12 the control segments are checked: the segment count in UNT and SE, the message and group counts in UNE, UNZ, GE and IEA, and that the reference numbers in the closing segments match the opening ones.
Search takes plain text, a segment tag (NAD), a position (NAD01 or PID-5.1), or a position and a value (NAD01=BY, NAD01!=BY). Hits are marked in the readable view and listed under Search hits. With Only messages with hits, a file with many messages is cut down to the ones you are looking for.
JSON gives each segment as an object with its positions as keys, ready to use as an example in the Data Mapper. Files are read in your browser and never uploaded.
Found a problem?
Tell us what went wrong. You decide whether your own work is included.
Licences
This tool uses no third-party libraries. It is our own code.