Skip to main content

How to Export Gerber Files in Protoboard Designer

Estimated reading time: 5 minutes

Gerber files are the standard way to order a PCB: one file per layer (copper, solder mask, silkscreen, paste, the outline) plus the drill files, zipped together. Manufacturers such as JLCPCB, PCBWay and OSH Park take the zip as it is. This guide shows the export and what to send.

Gerber export is on the Engineer plan

Every other step to a finished board is free: the editor, DRC, the 3D view, and the PDF you etch a board from at home. Ordering from a fab needs Gerber files, which come with Engineer (plans).

Before you export
  • Run the design rule check and clear what it reports.
  • Check the board's size and shape (the outline is always exported: every board has a closed edge).
  • Turn the board over in the 3D view: bare pads, covered vias, silkscreen that reads right.

Export​

  1. Open Share & export (the printer button on the left toolbar) and choose Gerber.
  2. Project Name is filled in with the board's name. Every file in the zip starts with it, so make it something you'll recognise at the fab (LED_blinker.gtl, LED_blinker-PTH.drl…).
  3. Layer Selection shows what goes in. Everything a fab needs is ticked to start with: the board outline, both copper layers, both solder masks, both solder paste layers, both silkscreens and the drill file. Open it to change that; only Milling is left out unless you tick it.
  4. Press Export. On a computer the zip downloads; on a phone or tablet the share sheet opens, to save it or send it on. A copy is kept in Exports, so you can download it again later.
The Export Gerber Files dialog: Project Name LED_blinker, 10 of 11 layers selected, a Stencil section reporting no problems, the coordinate format, and the Preview and Export buttons
The Export Gerber Files dialog: Project Name LED_blinker, 10 of 11 layers selected, a Stencil section reporting no problems, the coordinate format, and the Preview and Export buttons

Preview opens the 3D view, drawn from the same copper and mask openings as the files.

Select Layers to Export, with Silkscreen, Solder Mask, Solder Paste and Copper layers ticked, and Select All and Clear All buttons
Select Layers to Export, with Silkscreen, Solder Mask, Solder Paste and Copper layers ticked, and Select All and Clear All buttons

The other settings​

The defaults suit every common fab; you rarely need to touch these.

  • Coordinate Format: 4.6 mm (1 nm precision), or 3.6 inch.
  • File Naming: Protel (.gtl, .gbl… the names most fabs expect), Altium or KiCad (-F_Cu.gbr…). Use the one your fab's help page asks for.
  • Generate Empty Layers: writes a file for a ticked layer even if nothing is on it (a bottom silkscreen with no text, say), so the fab sees a complete set. Copper, the drill file and the solder masks are always written.
  • Mirror Bottom Layers: for printing and toner transfer only. Keep it off when ordering from a fab, or the bottom of your board comes back backwards.

The Export Summary at the bottom confirms the layer count and the format: X2 Gerber with attributes, in a ZIP archive.

What's in the zip​

With Protel naming, a two-layer board gives:

FileWhat it holds
.gtl / .gblTop and bottom copper
.gts / .gbsTop and bottom solder mask (where it opens)
.gto / .gboTop and bottom silkscreen
.gtp / .gbpTop and bottom solder paste, for a stencil
.gkoThe board outline, with any cut-outs
-PTH.drlPlated holes: through-hole pads and vias
-NPTH.drlHoles with no copper: mounting holes, and milled slots

A cut-out you drew with Machining → Milling as a closed shape goes into the outline file; an open milling path, a slot, goes into the non-plated drill file. That's where fabs look for them.

Solder paste files (for a stencil)​

If you build the board with solder paste, a stencil needs to know where the paste goes. The two paste layers have one opening for every SMD pad, or several smaller ones over a big exposed pad. Through-hole pads, vias and pads covered by the solder mask get none.

You don't draw the paste. Each pad's Solder paste setting (Auto unless you change it) decides its opening, and the Stencil section of the export dialog lists anything worth a second look before you order (its checks never stop the export). Paste files are never mirrored, whatever the mirror setting. How to Make a Solder Paste Stencil covers the settings, ordering a stencil and cutting one at home.

Sending the files to a manufacturer​

Upload the zip as it is: don't unpack it. At JLCPCB, start a PCB order and drop the zip where it asks for Gerber files; the fab reads the board size and layer count from it and shows a preview to check before you pay. PCBWay and OSH Park work the same way. How to Order Your First PCB walks through the order form.

The files don't say the solder mask colour, the silkscreen colour or the surface finish: choose them on the order form.

Troubleshooting​

The fab says the files are invalid​

Usually a naming mismatch rather than a missing layer. Check that you uploaded the whole zip, and switch File Naming to what the fab's help page lists (Protel suits JLCPCB and PCBWay).

A side looks empty in the fab's preview​

That copper or silkscreen layer was unticked. Open Layer Selection, tick it and export again, or press Export again on the export in Exports.

The board outline is wrong​

The edge comes from your board's shape, not from copper. Check its size in Board Settings → Board and its shape with Machining → Outline (How to Define Your Board Shape and Size).

Holes are missing in the preview​

Holes are in the drill files (-PTH.drl and -NPTH.drl), not in the copper files. A viewer that opens only the Gerbers shows the pads without their holes; load the drill files as well, or upload the zip and let the fab put them together.