EDI to JSON

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

EDI Input 0 lines
1
JSON Output 0 lines
1
UTF-8 · 0 B EDI → JSON
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 JSON button produces
  • Optional line wrapping for long output
  • Runs entirely in your browser — nothing uploaded

About this EDI to JSON converter

Modern applications and APIs work with JSON, not raw EDI. This free online EDI to JSON converter parses X12 or EDIFACT, auto-detects the standard and its delimiters, and outputs clean, structured JSON that is easy to read, query and use in code.

Everything runs in your browser and nothing is uploaded. Want XML instead? Use EDI to XML. To browse the original as a tree use the EDI viewer, and to explore or query the JSON use the JSON viewer or JSONPath tester.

Frequently Asked Questions

Everything you might want to know about the online EDI to JSON 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 interchange object (keyed ISA or UNB) with one field per segment position (e.g. "BEG01"), nested groups, transactions or messages, and segment arrays — the same shape the EDI Viewer's Download JSON 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 XML 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.