EDI to XML
Paste raw X12 or EDIFACT and it converts to XML automatically — nothing leaves your browser.
How It Works
- Auto-detects X12 (starts with ISA) vs EDIFACT (starts with UNA/UNB)
- Reads the header to pick up the file's own delimiters
- Preserves envelope, groups, transactions/messages and segments
- Instant conversion as you paste
- Copy or download the result
Features & Supported Capabilities
- Detects and reports EDI that isn't well-formed
- Recognises common transaction sets and EDIFACT messages
- Same conversion the EDI Viewer's Download XML button produces
- Optional line wrapping for long output
- Runs entirely in your browser — nothing uploaded
About this EDI to XML converter
Many integration platforms and XSLT mappings work with XML rather than raw EDI. This free online EDI to XML converter parses X12 or EDIFACT, auto-detecting the standard and its delimiters, and outputs clean, structured XML that you can transform or validate.
The conversion runs in your browser and nothing is uploaded. Prefer JSON? Use EDI to JSON. To inspect the original first use the EDI viewer, and to map the XML onward try the XSLT compiler.
Frequently Asked Questions
Everything you might want to know about the online EDI to XML converter.
<EDIDocument> root wraps an <ISA> (X12) or
<UNB> (EDIFACT) element, with one field element per segment position
(e.g. <BEG01>), nested groups, transactions or messages, and segments —
the same shape the EDI Viewer's Download XML produces.