EDI to XML

Paste raw X12 or EDIFACT and it converts to XML automatically — nothing leaves your browser.

EDI Input 0 lines
1
XML Output 0 lines
1
UTF-8 · 0 B EDI → XML
Waiting for input

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.

ANSI X12 (starts with an ISA segment) and UN/EDIFACT (starts with a UNA or UNB segment). The format is auto-detected — you don't need to tell it which one you're pasting.
An <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.
No. The conversion runs entirely in your browser. EDI files often carry business and trading-partner data, so nothing is ever uploaded, stored, or logged.
Yes, use the EDI to JSON tool, or explore the file first as a tree in the EDI Viewer and download either format from there.
You can paste text or upload a file up to 10 MB.