DevToolCase
Sign in Sign in

Convert EDIFACT to JSON

Turn an EDIFACT or EANCOM interchange into JSON, each element named from its UN/EDIFACT directory, or values only.

Share this result

Encrypted in your browser. The key stays in the link, after “#”: only the people you give it to can read it, not even DevToolCase.

The link works for

Sign in for longer links or links without expiry, and to find them in your account.

The structure is not checked here: the EDIFACT viewer explains and checks each segment. Names come from the UN/EDIFACT directories, © United Nations, UN/CEFACT.

Runs entirely in your browser: nothing you type is sent or stored.

Why convert EDIFACT to JSON?

EDIFACT is compact but hard to handle outside dedicated software. As JSON, an interchange can be read by any language, stored, compared or used in tests: segments become objects, elements become fields.

With names or values only

  • With names: every segment and element is named from the UN/EDIFACT directory, so the JSON explains itself.
  • Values only: the segments and their values, in order, without names: shorter, and the same whatever the directory.

To understand or check the message first, open it in the EDIFACT viewer. Need XML? EDIFACT to XML.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.