RAYPCB · ENGINEERING REFERENCE
Gerber vs Gerber X2: geometry plus meaning
Compare image data and attributes, define a controlled compatibility trial and preserve one authoritative manufacturing release.
Original engineering guidance · References checked September 28, 2026
Gerber versus Gerber X2: what actually changes?
The practical difference in Gerber versus Gerber X2 is the addition of structured meaning through attributes, alongside the manufacturing image. Traditional extended Gerber workflows communicate geometry while relying heavily on filenames and accompanying documents for interpretation. X2 attributes can help identify functions such as a file's role and relationships within the design. The useful question is whether that meaning survives the complete CAD-to-CAM handoff.
X2 is not a substitute for an approved stackup, manufacturing notes or independent review. It does not make traces electrically correct, select the right laminate, or certify a manufacturer. An attribute-rich file from the wrong revision can be less useful than a carefully controlled image-only package from the correct one. Compare the release process, not just the format label.
This page focuses on compatibility and information transfer. The Gerber file guide explains the underlying image task, while the PCB file-format guide owns the complete handoff and alternative data-package discussion.
Separate image geometry from semantic information
| Question | Image data | Attributes and release documentation |
|---|---|---|
| What shape is present? | Defines the rendered geometry | Can describe its intended function |
| Which physical layer is this? | Appearance may suggest a role | File function and verified stackup identify it |
| Which revision is authoritative? | Geometry alone is insufficient | Release control and source identity are required |
| Are holes aligned? | Overlay supplies geometric evidence | Units, origin and hole definitions provide context |
| Is the board manufacturable? | Geometry is one input | Construction, constraints and DFM review are also needed |
When a recipient says that it “supports X2,” clarify the scope. Reading an image, preserving attributes, using them in layer identification and using them in downstream checks are different capabilities. A tool can display the copper image while ignoring some metadata. That might be acceptable for a defined workflow, but it should be a deliberate and documented choice.
Backward compatibility still needs a real receiving test
The Gerber format ecosystem is documented by Ucamco's official format resources. Format-level compatibility is not a guarantee that every historical parser or configured automation handles every export correctly. Test the receiving workflow that will actually process the board, including any import presets and downstream interpretation.
A meaningful trial uses two controlled outputs from the same approved source revision, not unrelated demonstration files. Record the exporter version, chosen settings and intended features. Compare geometry, physical layer identification and all project-critical metadata. If a fallback image-only set is requested, keep its relationship to the authoritative release explicit and remove conflicting obsolete alternatives from the final archive.
Do not strip unfamiliar attribute commands manually as a routine repair. A text edit can break file structure or create an undocumented manufacturing variant. Return to the source exporter when a controlled fallback is needed, retain the original release evidence and review the regenerated output. The goal is reproducible communication, not merely getting an import dialog to stop reporting an error.
Build a compatibility evidence brief
Record the exporter mode, whether the receiving CAM comparison used the same board revision, and the state of geometry, attribute and drill checks. The worksheet shows open items instead of generating a supplier score or a “safe to manufacture” result. A field marked not applicable still needs an explanation in the release reference.
Gerber X2 Compatibility Brief
This tool does not parse or convert Gerber files. It organizes the evidence you report, and the downloaded brief is a record of your entries rather than an independent inspection report. Unknown export mode or an untested receiving system remains visible. Selecting every item as checked cannot prove that a comparison occurred; keep the actual viewer records and engineering sign-off with the release.
Use the result to make a focused request: which receiving feature is uncertain, what evidence already exists, and which comparison is still needed? This is more useful than asking whether one format is universally “better.” If the receiving system lacks a needed capability, define a fallback and the accompanying documentation before sending production files.
A controlled comparison in six decisions
Freeze the source. Identify the board file, revision and intended variant. Save the construction requirements that give the images meaning. Record unresolved design changes before export so that the trial does not accidentally compare different designs.
Name the transfer need. Decide which attributes matter for the task. Layer identification and object-level information are different requirements. Do not declare a failure simply because a viewer does not display metadata that the receiving process does not use; equally, do not assume important metadata arrived because the copper looks correct.
Generate controlled outputs. Keep export settings with the release. If two formats are produced for comparison, label the trial directories clearly and avoid mixing them in the final manufacturing archive. The engineer should be able to reconstruct which configuration produced each image set.
Compare geometry. Review a known dimension, outline, copper, mask and hole alignment across the board. Inspect representative fine geometry and regions rather than only a reduced overview. A screen thumbnail cannot demonstrate that all relevant objects imported as intended.
Compare meaning. Confirm the physical layer order and the specific attributes required by the workflow. Record which information was preserved, ignored or not available. The result should identify the receiving software and configuration, because another import route may behave differently.
Choose one release. Agree which package is authoritative, describe any fallback and retain the comparison evidence. If the approved source changes, rerun the affected comparison. A successful trial on revision A does not automatically qualify revision B with newly introduced feature types.
When an image looks right but the handoff is incomplete
An illustrative multilayer job opens correctly in a receiving viewer. Copper shapes match the designer's screenshot, but the import workflow has assigned inner-layer order from alphabetical filenames. The X2 file-function information exists in the source output but was not used in that import configuration. The issue is a mapping failure, not necessarily an imaging failure.
The release owner reconciles the physical stackup, explicitly confirms every copper position and records the receiving configuration. If the receiving process cannot use the attributes, the manifest becomes an essential companion. This does not mean attributes are useless; it means the team has identified where their automated benefit ended and where controlled human interpretation is still required.
Conversely, imagine a receiving system that recognizes every layer attribute but uses artwork exported before a connector move. Perfect semantic identification does not fix stale geometry. Revision control remains necessary in both image-only and attribute-aware workflows. Treat metadata and release identity as complementary evidence, not interchangeable safeguards.

Coordinate the format decision with the CAD workflow
For Altium Gerber and drill export, identify the actual generator and saved configuration used for the release. A format selection in one output path should not be assumed to change another output configuration. Keep the NC drill settings aligned with the chosen artwork and validate the exported set independently.
For KiCad fabrication export, distinguish X2 selection from filename conventions and optional metadata outputs. Those choices solve different problems. A familiar suffix does not prove that attributes are present; a job metadata file does not replace missing copper or drill data.
Where a broader intelligent exchange format is requested, agree its role through the file-format owner. Sending several alternative full packages can increase ambiguity unless one is explicitly authoritative. Do not presume that more file formats always create a better release. The recipient needs a coherent set with a known interpretation, rather than several competing representations and no precedence rule.
Use compatibility evidence to improve the enquiry
Tell RAYPCB the source application, release revision, intended construction and any receiving limitation already found. If a file opens differently between tools, describe a reproducible feature and include the original data through the normal enquiry route. Explain whether the concern is geometry, metadata or mapping; each requires a different investigation.

Avoid framing a syntax issue as a manufacturing capability failure before it has been investigated. CAM interpretation, design correctness and fabrication constraints belong to separate checks. For construction questions that remain after the files are understood, continue with PCB DFM review and provide the dimensional and material requirements needed for a useful response.
Gerber X2 questions
Is X2 mandatory for every PCB order?
The accepted transfer format depends on the receiving workflow and agreed requirements. A well-controlled image-only package may be usable when accompanied by the necessary mapping and documentation. Ask the receiving team what it supports and which information it needs, then verify the actual output rather than relying on a general preference.
Does an X2 extension identify an X2 file?
Do not determine format from a filename alone. Inspect exporter settings and actual content using appropriate tools. Common GBR naming can be used with attributes, and historical suffixes may still appear. File meaning, syntax and naming convention should be documented separately.
Does X2 replace electrical testing or DFM?
No. Metadata can support interpretation and some checks, but it is not physical test evidence or a manufacturing approval. The actual PCB still needs the agreed design review, process controls and verification. Keep the format choice proportionate to the handoff problem it is intended to solve.
Bring the files and the release requirements together
Send the board revision, construction, quantity and the file or engineering question you need reviewed. Identify unresolved requirements so the response can address them.
Send requirements for reviewOptional: attach the downloaded worksheet manually. This guidance does not certify a design, approve a shipment or replace the applicable authorized standards.