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).
In this article
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.
| File | What it holds | Needed for |
|---|---|---|
| Drill file (Excellon / NC drill, or Gerber drill) | Hole positions and tool sizes, ideally plated and non-plated holes in separate files | Every bare-board order |
| IPC-D-356 netlist (356A or 356B) | Nets and test points for bare-board electrical test | Netlist check and electrical test |
| BOM (spreadsheet) | Reference designators, quantity, manufacturer, MPN, approved alternates, DNP marks | Assembly quote and sourcing |
| Centroid / pick-and-place file | X, Y, rotation and side for each reference designator | SMT programming |
| Fabrication drawing / readme | Material, thickness, copper weight, finish, impedance, tolerances | Bare-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.

| Gerber X2 (+ job file) | ODB++ | IPC-2581C | |
|---|---|---|---|
| Packaging | One file per layer, plus .gbrjob | Directory tree, usually .tgz or .zip | Single XML file |
| Stackup | In the job file | Optional stackup.xml | Yes |
| Netlist | Optional net attributes, or IPC-D-356 file | Yes | Yes |
| Components | Only with X3 component layers | Yes | Yes |
| BOM | No, separate spreadsheet | Optional | Yes, plus AVL |
| Specification | Free download from Ucamco | Free download from Siemens | IPC standard; open consortium |
| Owner | Ucamco | Siemens EDA | IPC |
Which CAD tools export which format?
All mainstream tools export Gerber; ODB++ and IPC-2581 support depends on the tool and version.
| CAD tool | Gerber X2 | ODB++ | IPC-2581 |
|---|---|---|---|
| Altium Designer | Yes (X2 or RS-274X) | Yes, v8.1 or legacy v7.0 | Yes, Rev A or B |
| KiCad 9 | Yes, X2 on by default | Yes (new in 9.0) | Yes, Rev B or C |
| Cadence Allegro / OrCAD | Yes | Yes (Allegro, via Valor partnership) | Allegro: Rev A and B export and import |
| Siemens PADS | Yes | Yes, File > Export | Rev B, a checkbox in the ODB++ export dialog |
| Autodesk Fusion (ex-EAGLE) | Yes | Yes, since August 2021 | Not confirmed |
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 type | Minimum package | Worth 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 drawing | ODB++ 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 mistake | What happens | Fix at export |
|---|---|---|
| Missing board outline | The fabricator cannot set board size or routing | Export 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 suppression | Drill hits are scaled or shifted, or coordinates read wrong | Use 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 pads | Holes miss the pads in CAM | Use the same origin (absolute or drill/place origin) for Gerber and drill, and the same precision. |
| Missing paste layer | No data to cut the SMT stencil | Export top and bottom paste for any assembly order. |
| Plated and non-plated holes mixed | NPTH may be plated by mistake | Export PTH and NPTH as separate drill files. |
| Mixed revisions | Gerber and BOM describe different boards | Regenerate 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
- Ucamco: Gerber Layer Format Specification, revision 2024.05
- Ucamco: Gerber Job Format Specification, revision 2020.08
- Ucamco: Gerber X2 attributes
- Ucamco: Gerber X3
- Siemens: ODB++ Design Format Specification 8.1 update 4
- Siemens: ODB++ factsheet (September 2022)
- Siemens: ODB++ partners
- IPC: IPC-2581C table of contents
- IPC-2581 Consortium
- IPC: IPC-D-356B Bare Substrate Electrical Test Data Format
- Altium: Preparing fabrication data
- KiCad 9.0 command-line reference
- KiCad 9.0.0 release notes
- Cadence: IPC-2581 support
- CircuitHub: exporting IPC-2581 from PADS
- Autodesk: Fusion 360 now exports ODB++
- Autodesk: EAGLE announcement and FAQ
- Eurocircuits: input data requirements
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.
