The EDI Dev Toolkit

Translate EDI inside your own application

X12, HIPAA, EDIFACT, HL7 and six more standards become typed .NET objects or structured JSON - in your process, on your hardware. No VAN, no clearinghouse, no per-document fee. Validate, split, merge and acknowledge in the same toolkit.
Free forever on the Community plan, $179 a year when you ship. No credit card required. See the plans.
var edi = File.OpenRead(@"C:\837P_Claim.txt");
using (var reader = new X12Reader(edi, "EdiFabric.Templates.Hipaa"))
{
    var claims = (await reader.ReadToEndAsync()).OfType<TS837P>();
    foreach (var claim in claims)
    {
        if (claim.IsValid(out MessageErrorContext errors))
            Console.WriteLine(claim.ST.TransactionSetControlNumber_02);
        else
            Console.WriteLine(string.Join("\n", errors.Flatten()));
    }
}
import ctypes, json
lib = ctypes.CDLL("./edifabric-x12-tools.so") 
lib.parse.restype = ctypes.c_int
def parse(edi: bytes, mode: int = 1) -> str:
    cap = len(edi) * 12
    out_len = ctypes.c_int(0); out_off = ctypes.c_int(0)
    while True:
        out = ctypes.create_string_buffer(cap)
        rc = lib.parse(edi, len(edi), mode, None, 0, out, cap,
                       ctypes.byref(out_len), ctypes.byref(out_off))
        if rc == 1:
            cap = out_len.value; continue
        if rc != 0:
            raise RuntimeError(f"parse failed: {rc}")
        return out.raw[:out_len.value].decode("utf-8")
See Examples PYTHON C JAVA C#
curl -L -X POST 'https://api.edination.com/v2/x12/read' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'Content-Type: text/plain' \
--data-binary '@/C:/purchase-order.edi'
{
  "ST": {
    "TransactionSetIdentifierCode_01": "837",
    "TransactionSetControlNumber_02": "000000001",
    "ImplementationConventionPreference_03": "005010X222A1"
  },
  "BHT_BeginningOfHierarchicalTransaction": {
    "HierarchicalStructureCode_01": "0019",
    "TransactionSetPurposeCode_02": "00",
  },
  "AllNM1": {
    "Loop1000A": {
      "NM1_SubmitterName": {
        "EntityIdentifierCode_01": "41",
        "EntityTypeQualifier_02": "2",
      },
      "PER_SubmitterEDIContactInformation": [
        {
          "ContactFunctionCode_01": "IC",
          "ResponseContactName_02": "JERRY",
        }
...
Named JSON, not a blob EDI JSON Try in EdiNation

Ten EDI standards, from X12 and HIPAA to EDIFACT, HL7 and NCPDP

ediFabric .NET covers all ten plus custom flat files, ediFabric Native brings X12 and HIPAA to any language on Windows, Linux and macOS, and ediFabric Cloud exposes the lot over REST, hosted or self-hosted. Every plan includes all three.
EDI and JSON
Translate between EDI data and structured JSON, both ways. Built-in splitting and merging of large files, with automatic trailer generation.
Validate EDI Data
Ensure full compliance with specifications, including HIPAA 5010 and 4010 - with detailed error reporting and acknowledgments.
HIPAA SNIP Levels
Out-of-the-box configurable validation with full support for SNIP Levels 1-4. Easily extend with custom rules, code, or attributes.
Adjust EDI Specs
Highly configurable EDI templates that support any partner-specific format. Flexible support for OpenEDI, SEF, and JSON templates.

Three runtimes. One plan.

ediFabric .NET and ediFabric Native run inside your own application, so EDI files and PHI never leave your network. ediFabric Cloud is a REST API: the version we host receives your files, or you can self-host the same API on your own infrastructure when the data has to stay put. Choosing between the three is a technical decision, not a second invoice.
ediFabric .NET EDI library for C#
ediFabric .NET

Fully managed C# library for .NET Core and .NET Framework, installed as a NuGet package. Translates between EDI and typed .NET objects. Covers all ten EDI standards, custom flat files and Entity Framework mapping.

ediFabric Native cross-platform EDI library
ediFabric Native

One native library per platform (Windows, Linux, macOS), callable over a C ABI from C, C++, Rust, Go, Python, Node.js, Java and .NET. Translates EDI to structured JSON. X12 and HIPAA today, more standards to follow.

ediFabric Cloud EDI REST API
ediFabric Cloud

REST API for all 10 EDI standards - call it from any language, with nothing to install. Translates EDI to structured JSON. Hosted by us, or self-hosted on your own infrastructure when data must stay in your network.


EdiNation — The Free EDI Editor

Safely parse, validate, format, and edit EDI files directly in your browser.

Powered by WebAssembly, your sensitive EDI data never leaves your device.

Completely free. Unlimited files. No size limits. Works with EDI and JSON. No account or registration is needed.

Learn about EdiNation
EdiNation in-browser EDI validator and JSON converter

Structured JSON that APIs and AI can work with

Partner files arrive as positional EDI. Everything downstream - REST clients, validators, and language models - works better when that data is named JSON that follows a published schema.
Named, structured JSON
Every segment and element becomes a named field, not a blob of delimiters. Map, query, store, and round-trip the same payload without writing an EDI parser. Keep EDI in the same contract-first workflow as the rest of your APIs.
A published specification
The shape of the JSON is documented in the open OpenEDI specification, so it is a contract rather than whatever our parser happened to emit. Generate clients and validate requests.
Better input for models
Every field carries its EDI name and position, so a model reads TransactionSetControlNumber_02 instead of counting delimiters. Validate whatever it produces against the same templates before it reaches a trading partner.

Start free. Upgrade when you ship.

Three plans, and each one includes ediFabric .NET, ediFabric Native and ediFabric Cloud. You pay for scale and support, never for a second product.

Community

$ 0 /forever
Evaluate, learn and prototype. 250 operations a day, one leased seat, and it never expires.

Developer Popular

$ 179 /year
For individual developers and small teams. Production use in one environment you own, unlimited local operations, three leased seats, and service bureau on those hosts.

Enterprise

$ 799 /year
For company-wide use at scale. Unlimited seats and full offline mode for air-gapped environments.

Working with PHI or under SOC 2? ediFabric .NET and ediFabric Native run entirely inside your own application, so your EDI data never leaves your network. Self-host the Cloud API and you get the same guarantee - note that the Cloud API we host is not HIPAA or SOC compliant, because your files are sent to it.


Trusted by 2,000+ companies in 50+ countries for over 10 years

Over 2 million NuGet downloads, 10,000+ EDI templates, and an approved listing in the U.S. Department of Veterans Affairs Technical Reference Model.
U.S. Department of Veterans Affairs
Premera Blue Cross
McKesson
Accenture
UnitedHealth Group
United Nations
Change Healthcare
FedEx
Adonis Vargas
USMED
LOVE the product, literally the best/simplest EDI tool I've ever used.
Daniel Martin
Change Healthcare
EdiFabric's solution is compelling and the dev team feedback has been positive.
Dan Currie
Per Mar Security Services
Your EDI suite is the most well-documented and potentially most useful one I have come across. One thing I absolutely love is the ability to convert JSON files to an 837P JSON file.

Cross Platform Support

ediFabric .NET and ediFabric Native run on Windows, Linux and macOS, in containers, and on Amazon AWS, Microsoft Azure, Google Cloud and anywhere else you already deploy. The same goes for a self-hosted ediFabric Cloud API.
net framework
mac
linux
azure
aws
docker
net core
nuget
visual studio
visual studio code
javascript

Ready to Get Started?

Install the NuGet package or download a native library, paste your free key, and parse your first 837 in about five minutes. Community never expires and needs no credit card.