Network flat-file reader

Many EDI networks deliver documents to a site as fixed-width flat files instead of X12: each line starts with a record ID, often followed by a trading-partner ID, then the data. Paste one to split it into records, see which record types it has, and lay out the fields with positions you supply. It runs in your browser: nothing you paste is sent anywhere.

Field positions inside each record belong to the network and to your own maps, so none are built in. If the file is a standard Ross ERP 8.0 ISO, IPI, OPO or OSI file, the page says so and points to its layout and the record decoder.

Try it:
Field positions (optional)

One per line: RECID,FIELD,START,LENGTH. START counts from 1.

What it shows

Each record type, how many lines it has and their widths (a width that varies usually means trailing spaces were trimmed somewhere along the way), the partner ID on each line, and the fields you defined. A partner ID made of a 3-character partner code, ALL or TST, and your own ID is read as production or test.