All guides
Home / Guides / What is EDI?

What is EDI? A Complete Plain-English Introduction

EdiPeek · Updated June 2026 · 8 min read

EDI stands for Electronic Data Interchange. It is the standardized electronic format that businesses use to exchange routine documents - purchase orders, invoices, shipping notices, payments, and more - directly between their computer systems, without paper, email attachments, or anyone re-typing the data by hand.

That last point is the whole reason EDI exists. When a retailer wants to order 10,000 units from a supplier, it does not send a PDF that a human on the other side opens, reads, and re-keys into an order-entry screen. Instead it transmits a structured EDI document that the supplier's system ingests automatically. Machines talk to machines, in a format both sides agreed on in advance.

A short history, and why it still matters

EDI is not new. Its roots go back to the 1960s and 1970s, when industries like transportation and retail began standardizing electronic documents to replace telexes and paper forms. The standards that dominate today - ANSI X12 in North America and UN/EDIFACT internationally - were formalized in the 1980s and have been refined ever since.

Despite being decades old, EDI is very much alive in 2026. Newer technologies like REST APIs and webhooks handle a growing share of real-time integrations, but EDI remains the backbone of business-to-business document exchange in retail, manufacturing, automotive, logistics, and healthcare. The reason is simple: enormous amounts of existing infrastructure, trading-partner agreements, and compliance requirements are built on it. A large retailer cannot simply tell its thousands of suppliers to abandon EDI overnight.

Why businesses use EDI

The benefits cluster around four themes:

Because of these advantages, large buyers - major retailers, automakers, government agencies, and healthcare payers - frequently require their partners to support EDI as a condition of doing business. For many small and mid-sized suppliers, "being EDI capable" is not optional; it is the price of entry.

Ad slot - insert AdSense unit here

What an EDI document actually looks like

A raw EDI file is dense and unfriendly to human eyes. Here is a small fragment of an ANSI X12 purchase order:

ST*850*0001~
BEG*00*SA*PO-99831**20240115~
PO1*1*100*EA*12.50**UP*012345678905~

It looks like noise, but the structure is consistent and learnable. Three concepts unlock almost everything:

Once you internalize "segments contain positional elements separated by delimiters," reading EDI becomes a matter of knowing what each segment tag means - which is exactly what a viewer like EdiPeek does for you.

Envelopes: how documents are wrapped

EDI documents do not float around loose. They are wrapped in envelopes that handle routing and control. In X12, the structure nests like this:

The ST segment is the one that tells you which document type you are looking at. ST*850 means a purchase order; ST*810 means an invoice. We cover this envelope structure in depth in our guide on the ISA, GS, and ST envelope.

The two big standards

There is no single worldwide EDI format. Two dominate, and which you encounter depends largely on geography:

They express the same business documents in different syntax. An X12 850 and an EDIFACT ORDERS are both purchase orders. We compare them side by side in X12 vs EDIFACT.

How EDI documents travel

The document content is separate from how it is transmitted. Over the years, EDI has moved across several transport methods:

As someone reading or troubleshooting EDI, you usually care about the document content rather than the transport. The file you receive is the same regardless of how it arrived.

Common transaction types you will meet

A handful of document types account for most day-to-day EDI traffic:

X12EDIFACTPurpose
850ORDERSPurchase order
855ORDRSPOrder acknowledgment
856DESADVAdvance ship notice
810INVOICInvoice
820REMADVPayment / remittance
997CONTRLAcknowledgment of receipt
Try it yourself

Paste a real EDI file into our free viewer and see every segment explained in plain English, with a business summary of what the document means. Nothing is uploaded - it all runs in your browser.

Open the X12 viewer   Open the EDIFACT viewer

Frequently asked questions

Is EDI still used in 2026?
Yes, heavily. Despite the growth of API-based integration, EDI remains the backbone of retail, manufacturing, logistics, and healthcare data exchange. Too much infrastructure and too many trading-partner agreements depend on it for it to disappear.
Do I need special software to read EDI?
To simply read and understand a file, no. A browser-based viewer like EdiPeek parses it instantly. To send and receive EDI in production, businesses use dedicated EDI software or a managed service provider.
What is the difference between a segment and an element?
A segment is one line of the document, identified by a tag such as PO1. An element is a single value inside that segment, separated from its neighbors by a delimiter. Elements get their meaning from their position within the segment.
Is EDI the same as an API?
No, though they solve overlapping problems. EDI is a document standard with decades of established formats and trading-partner conventions, often batch-oriented. APIs are typically real-time, request-response interfaces. Many modern integrations use both, sometimes translating between them.
What does "EDI capable" mean for a supplier?
It means the supplier can receive and send the EDI documents its trading partner requires, in the correct format, over an agreed transport, meeting that partner's specific implementation guidelines.