Skip to content
pcblane
Guide

How to export Gerber and drill files from Altium Designer and EasyEDA

To manufacture a PCB, the factory needs a ZIP with the layers in Gerber format (the Gerber file for each layer) and the drill data in Excellon (NC Drill) format. This guide explains which options to select in Altium Designer and EasyEDA, which layers to include and how to check the result before requesting a quote.

Updated: 16 November 2026 · 8 min read

What the ZIP must contain

Whatever the design tool, the package the factory receives is always the same: one Gerber file per layer (copper, solder mask, silkscreen, paste and outline) and one or two drill files in Excellon format, all compressed into a single `.zip`.

If you work in KiCad, the equivalent guide is how to export Gerbers from KiCad. Here we focus on Altium Designer and EasyEDA, two tools widely used by electronic design consultancies and product teams.

The exact names of menus and tabs change between versions and languages of each tool. We describe the usual path; if it is named slightly differently in your version, look for the equivalent option or check the official Altium Designer documentation and the EasyEDA documentation.

Before exporting, in any tool

  1. Review the design rules against the factory's capabilities: minimum track, clearance, minimum drill and annular ring.
  2. Run the DRC and fix the errors. Go through the warnings one by one.
  3. Repour the copper planes (polygons or zones). An out-of-date plane goes into the Gerber exactly as it is.
  4. Check that the board outline is a closed line and sits on the layer you are going to export.

Altium Designer: Gerber files

In the PCB editor, open File → Fabrication Outputs → Gerber Files. This opens the Gerber Setup dialog, which has several tabs. These are the options worth checking:

Common Gerber options in Altium Designer
TabOptionWhat to choose
GeneralUnitsMillimeters, the same units you will use for the drill files
GeneralFormatThe format with the most decimal places your version offers (in millimetres usually 4:4)
LayersPlot LayersThe layers in use: copper, mask, silkscreen, paste and the mechanical layer with the outline
LayersMirror LayersNone. A mirrored layer is a classic mistake
AperturesEmbedded apertures (RS274X)Enabled: the apertures are embedded in each file
AdvancedPosition / originThe same origin you will use for the drill files and the CPL

The outline: the mechanical layer

Altium has no fixed outline layer like KiCad's Edge.Cuts. The outline is usually drawn on a mechanical layer (often Mechanical 1) or on a layer with a board outline function, depending on your company's template. What matters is to tick that layer in Plot Layers and to make sure it contains only the outline and internal cut-outs, not dimensions or title blocks.

If your template mixes outline and documentation on the same mechanical layer, separate them or state in the order which layer is the outline. The factory cannot guess.

Gerber X2 and Output Job

Recent versions of Altium can also generate Gerber X2, which adds attributes to identify each layer. If your factory accepts it, it is a good option. To avoid repeating the set-up for every revision, save it in an Output Job (.OutJob): the same set of outputs in a single click.

Altium Designer: drill files (NC Drill)

File → Fabrication Outputs → NC Drill Files generates the drill data in Excellon format. Check:

  • Units in millimetres and the same format as the Gerber. If they do not match, the holes end up offset or at a different scale.
  • Separate files for plated and non-plated holes. This is the clearest option for the factory.
  • Slots: check that they come out as slots and not as round holes. If you have plated slots, mention it in the order.
  • Same origin as in the Gerber.

Checking in CAMtastic

When it generates the outputs, Altium usually opens them in CAMtastic, its built-in CAM viewer. Make the most of it: overlay the drill data on the copper, check that the outline is closed and that no inner layer is missing. If it does not open automatically, you can import the files into a new CAM document.

EasyEDA: Gerber with the drill files included

EasyEDA makes it easier: in the PCB editor, Fabrication → PCB Fabrication File (Gerber) generates a ZIP with all layers and drill files already included.

  • First run the DRC and rebuild all copper areas. EasyEDA warns you if any are out of date.
  • The outline goes on the BoardOutline layer. It must be a closed line.
  • The ZIP includes plated and non-plated drill files separately.
  • EasyEDA may offer to send the design straight to a particular manufacturer. There is no need: download the ZIP and upload it in the quote form.

There are two editions, Std and Pro. The menus are not identical, but in both the Gerber export is in the fabrication or export menu. In Pro, also check that the project does not contain several boards and that you are exporting the right one.

If you are ordering assembly, EasyEDA also generates the BOM and the placement file from the same menu. Check their columns with the guide to BOM and CPL files.

Common mistakes

MistakeSymptomFix
Outline on a layer that was not exportedThe factory does not know where to cutTick the mechanical outline layer or BoardOutline
Gerber in mm and drill in inchesHoles offset or at the wrong scaleSame units, format and origin throughout
Planes not repouredMissing planes or shorts with new tracksRepour polygons or copper areas and export again
Mirrored layerSilkscreen or copper reversedUntick Mirror in the set-up
Files from another revisionLayers that do not matchClean output folder for every export
Paste layer missingThe stencil cannot be madeInclude the paste layer if you are ordering assembly

What happens when you upload the ZIP

When we receive the ZIP, an engineer repeats these checks before quoting: we explain it in what a DFM review is.

What drives the cost is explained in what a PCB's cost depends on and indicative lead times are in pricing and lead times. Service details are in PCB manufacturing and the full catalogue in what you can order. If your board has 4 layers or more, see also multilayer PCBs. For product runs, see how we work with industry and OEMs.

Is your ZIP ready? Request a quote with no sign-up needed. If you want to understand what each layer contains, read what is a Gerber file.

Come across a technical term you don’t know? See the Glossary.

Frequently asked questions

Which coordinate format should I choose in Altium?

Millimetres and the format with the most decimal places your version offers. What matters is using the same units and format in the Gerber and the NC Drill files.

Which mechanical layer is the outline in Altium?

It depends on your template; it is often Mechanical 1. Export the layer that contains only the outline and cut-outs, and say so in the order if in doubt.

Does the EasyEDA ZIP already include the drill files?

Yes. EasyEDA's fabrication export includes the Gerber layers and the plated and non-plated drill files in the same ZIP.

Can I send the Altium project (.PcbDoc) instead of the Gerbers?

We ask for the ZIP with Gerber and drill files because that is the format factories work from. That way, exactly what you have checked in the viewer is what gets manufactured.

Send us your project and get your quote within 24 business hours

No sign-up needed: upload your files and specify the configuration you need.