Exploded stack of PCB copper and dielectric layers on a dark navy background, linked to a document, a folder and an XML file icon

Gerber X2 vs ODB++ vs IPC-2581: Which File Should You Send?

Last updated: 1 December 2026 · By Elena, Writer at ESPCBA

Short answer: Send a Gerber X2 package (layers, profile, drill, job file) for every quote, because every board shop reads Gerber. Add ODB++ or IPC-2581 when your CAD tool exports it and the factory accepts it, since both carry netlist, stackup and components in one package. For assembly, always add a BOM spreadsheet and a centroid file.

Key facts (checked 1 December 2026)

  • RS-274X dates from 1998; Gerber X2 added attributes in 2014; X3 added component data in 2020.
  • The current Gerber spec is revision 2024.05, with 6 decimal digits required in the format statement.
  • The Gerber job file (.gbrjob) is JSON and holds the material stackup.
  • ODB++ (Siemens) spec: release 8.1 update 4, August 2024; one directory tree per product.
  • IPC-2581C was published in November 2020 as one XML file with stackup, BOM and AVL.
  • IPC-D-356B, the bare-board test netlist format, dates from October 2002.
  • KiCad 9 exports Gerber, ODB++ and IPC-2581 (Rev B or C).

Picture a quote request that comes back on hold with two notes: no board outline, and drill holes offset from the pads. Both problems come from the export step, not the design. The format you pick decides how much of your design intent reaches the CAM engineer and how much they must guess. This guide compares the three formats a fabricator will see, plus the side files that go with them.

What does each format actually contain?

Gerber describes layer images one file at a time, while ODB++ and IPC-2581 describe the whole product, including nets, components and stackup.

Gerber: RS-274X, X2 and X3

RS-274X (Extended Gerber, now called X1) is a 7-bit ASCII vector format from 1998. Each file is one image: a copper layer, solder mask, legend or paste. It says nothing about what the layer is, so the fabricator matches files to layers by name or a readme.

Gerber X2 (2014) adds attributes. .FileFunction states the layer and side, .FilePolarity marks positive or negative, and aperture functions tag each flash as an SMD pad, via pad or fiducial. Optional net attributes (.N, .P, .C) link pads to nets and component pins. X2 is backward compatible with X1. A separate Gerber job file (.gbrjob, JSON) carries the material stackup, board thickness, finish and a list of the files.

Gerber X3 (2020) adds component layers, for example %TF.FileFunction,Component,L1,Top*%. Each component carries attributes such as reference designator (.C), rotation (.CRot), manufacturer (.CMfr), part number (.CMPN), footprint (.CFtp) and height (.CHgt). Ucamco aims X3 at placement checks, stencil and pick-and-place programming, and component procurement.

ODB++ (Siemens)

ODB++ was created by Valor in 1995 and is now maintained by Siemens EDA. A product model is a directory tree: a matrix that lists layers, then steps with layers, components, CAD and reference netlists, and EDA data. Stackup can sit in an optional matrix/stackup.xml, and a step can hold BOM data. The tree is usually packed into one .tgz or .zip archive for transfer. The specification is a free download, and Siemens says more than 80 CAD, DFM and CAM vendors support it.

IPC-2581 (IPC-2581C)

IPC-2581 is an XML schema published by IPC. Revision C appeared in November 2020. One file can hold copper images, the layer stackup (rigid and flex sections, materials), components with packages and land patterns, a BOM, an approved vendor list (AVL), and fabrication and assembly notes. The IPC-2581 Consortium promotes it as an open, neutrally maintained standard, so no single CAD vendor controls it.

Which extra files travel with Gerber?

A Gerber package is only complete with drill data, and an assembly quote also needs a BOM and a centroid file.

FileWhat it holdsNeeded for
Drill file (Excellon / NC drill, or Gerber drill)Hole positions and tool sizes, ideally plated and non-plated holes in separate filesEvery bare-board order
IPC-D-356 netlist (356A or 356B)Nets and test points for bare-board electrical testNetlist check and electrical test
BOM (spreadsheet)Reference designators, quantity, manufacturer, MPN, approved alternates, DNP marksAssembly quote and sourcing
Centroid / pick-and-place fileX, Y, rotation and side for each reference designatorSMT programming
Fabrication drawing / readmeMaterial, thickness, copper weight, finish, impedance, tolerancesBare-board quote when no stackup data is in the files

Ucamco’s own spec goes further on drill data: it recommends Gerber rather than NC formats for drill and rout layers, because mixed formats cause registration problems. In practice most CAD tools still default to Excellon, and fabricators read both. Our article on the difference between a BOM and a pick-and-place file covers those two files in detail.

How do the formats compare side by side?

ODB++ and IPC-2581 hold the most intent in one package; Gerber X2 gets close when you add a job file and net attributes.

Matrix comparing RS-274X, Gerber X2, Gerber X3, ODB++ and IPC-2581 on layer images, board outline, drill, netlist, stackup, component placement and BOM, showing which data sits inside each format and which needs a separate file.
Illustration: what each format carries inside the package and what needs a separate file.
Gerber X2 (+ job file)ODB++IPC-2581C
PackagingOne file per layer, plus .gbrjobDirectory tree, usually .tgz or .zipSingle XML file
StackupIn the job fileOptional stackup.xmlYes
NetlistOptional net attributes, or IPC-D-356 fileYesYes
ComponentsOnly with X3 component layersYesYes
BOMNo, separate spreadsheetOptionalYes, plus AVL
SpecificationFree download from UcamcoFree download from SiemensIPC standard; open consortium
OwnerUcamcoSiemens EDAIPC

Which CAD tools export which format?

All mainstream tools export Gerber; ODB++ and IPC-2581 support depends on the tool and version.

CAD toolGerber X2ODB++IPC-2581
Altium DesignerYes (X2 or RS-274X)Yes, v8.1 or legacy v7.0Yes, Rev A or B
KiCad 9Yes, X2 on by defaultYes (new in 9.0)Yes, Rev B or C
Cadence Allegro / OrCADYesYes (Allegro, via Valor partnership)Allegro: Rev A and B export and import
Siemens PADSYesYes, File > ExportRev B, a checkbox in the ODB++ export dialog
Autodesk Fusion (ex-EAGLE)YesYes, since August 2021Not confirmed
From vendor documentation checked 1 December 2026. Autodesk ended EAGLE sales and support on 7 June 2026; EAGLE designs open in Fusion electronics.

What should you send for a bare-board or an assembly quote?

For bare boards, send Gerber X2 plus drill and stackup; for assembly, add BOM, centroid and paste layers, whichever main format you use.

Quote typeMinimum packageWorth adding
Bare-board (fabrication only)Gerber X2 layers, profile (outline) file, drill files, fabrication notes: layer count, thickness in mm/mil, copper in oz/µm, finish, quantity.gbrjob stackup, IPC-D-356 netlist or X2 net attributes, ODB++ or IPC-2581 export
Assembly (PCBA)Everything above, plus paste layers, BOM spreadsheet with MPNs, centroid file, assembly drawingODB++ or IPC-2581 with components, X3 component layers, DNP list per variant

Keep a separate BOM spreadsheet even when you send ODB++ or IPC-2581. Eurocircuits notes that the BOM held in a CAD system is usually not enough for DFM and sourcing, because it often lacks alternates and purchasing data. If you send two formats, export both from the same revision and say in the RFQ which one is the master.

Our guide on preparing Gerber files for PCBA manufacturing walks through layer naming, and the assembly drawing guide covers what to put on the drawing.

What should you check before you export?

Check the outline, units, drill alignment and paste layers, because these four cause most data holds at CAM.

Common mistakeWhat happensFix at export
Missing board outlineThe fabricator cannot set board size or routingExport the outline as its own file (KiCad Edge.Cuts; X2 .FileFunction,Profile). The Gerber spec says a fabrication data set must contain one.
Wrong units or zero suppressionDrill hits are scaled or shifted, or coordinates read wrongUse one unit system for Gerber and drill. Prefer metric with decimal or leading-zero suppression; trailing-zero omission is deprecated in Gerber.
Drill file does not match padsHoles miss the pads in CAMUse the same origin (absolute or drill/place origin) for Gerber and drill, and the same precision.
Missing paste layerNo data to cut the SMT stencilExport top and bottom paste for any assembly order.
Plated and non-plated holes mixedNPTH may be plated by mistakeExport PTH and NPTH as separate drill files.
Mixed revisionsGerber and BOM describe different boardsRegenerate all files from one saved revision; put the revision in file names.

Before you send, open the package in a viewer other than your CAD tool, for example Ucamco’s free Reference Gerber Viewer or KiCad’s GerbView. Overlay the drill file on copper and look for offset holes. Then run the files through our free PCB file check, or the PCBA file check for assembly packages.

Frequently asked questions

Is Gerber X2 enough to build a PCB?

Yes, for a bare board, if you add drill files, a board outline and the build notes. A Gerber job file or a fabrication drawing supplies stackup, thickness and finish.

Is ODB++ better than IPC-2581?

Both carry layers, netlist, components and stackup. ODB++ is maintained by Siemens and widely supported in CAM; IPC-2581 is an IPC standard in a single XML file with BOM and AVL sections. Pick the one your CAD tool and your factory both handle.

Do I still need an IPC-D-356 netlist?

Only with plain Gerber. ODB++ and IPC-2581 contain the netlist, and Gerber X2 can carry it as net attributes. Without a netlist, the fabricator can only derive nets from the copper, which removes a check against image errors.

Can I send ODB++ or IPC-2581 without Gerber?

Only if the factory confirms it reads that format. Sending Gerber X2 as well costs nothing and gives every shop a common baseline.

Sources

Get a quote

Send your Gerber files and BOM to inquiry@espcba.com or use the contact form. Zip the Gerber layers, outline and drill files from one revision, and list layer count, thickness, copper weight, finish and quantity. For assembly, add the centroid file, paste layers and the assembly drawing. If you also exported ODB++ or IPC-2581, attach it and name the master file. Prototypes and samples ship in 2–3 days, volume production in 7–14 days, and the minimum order is one panel.

About ESPCBA

Shenzhen ESPCBA Technology Limited has made PCBs and PCBAs since 2013. We fabricate boards up to 20 layers in-house and assemble on 8 SMT lines with Yamaha placement machines. ESPCBA is ISO-certified. If a board has a quality problem, we replace it or refund it. Find us at 602, Block B, Meiyingsen Building, Guangming Street, Guangming District, Shenzhen, Guangdong, China, or call +86-755-2510 2499.

About The Author

Get a free quote now!

    Connect with us

    Get an Instant Online Quote Today

    Looking for reliable SMD assembly services? At ESPCBA, we’re your trusted partner for PCB fabrication, component sourcing, and electronic manufacturing. With over 12 years of experience, we’ve provided high-quality PCBs at competitive prices to over 1,000 customers worldwide. Our company is ISO9001:2015 certified, and every product we deliver is 100% E-tested and inspected using AOI and X-ray to meet the highest standards. Get an instant quote from our sales team today, and let us handle the rest for you.