Export method:

  • Entry: Top Menu - File - Export - PCB Fabrication File (Gerber)

  • or: Top Menu - Export - PCB Fabrication File (Gerber)

图 219

After clicking, the system will detect whether there are flying wires in the PCB. If so, the following pop-up window will pop up.

图 220

Click “Yes” to check the flying leads. It will automatically locate the first flying line, and switch to the flying line tree on the left panel to help you check. If you click “No” to continue exporting, the gerber file will be exported directly ignoring the existing flying lines.

If you don’t want to automatically detect flying leads every time you export gerber, you can turn off this configuration in system settings.

Export the Gerber popup:

图 221

File name: Support to modify the file name and then export.

One-click export: According to the default settings, all layers and primitives are exported, excluding the drilling table and independent drilling information files.

Custom configuration: Modify the configuration according to your own needs. Support drilling information and drilling table; support adding different configurations on the left list; support selecting exported layers; layer mirroring; support selecting exported primitives. When exporting, select a configuration for Gerber export. Up to 20 configurations can be created, double-click to modify the configuration name.

图 222

Unit: The unit of the exported Gerber file and drilling file, the default is mm.

Format: The numerical format of the exported drilling file, the number of integer digits and decimal digits, affects the expression of numerical precision. This setting may affect the alignment of the drill file viewed by the Gerber Viewer. If the Gerber viewer previews the Gerber and drilling files and finds that the drilling files are inaccurate, you can reset the numerical format of the drilling files in the Gerber viewing tool to 3:3, or other formats.

Export/Import Configuration: Supports importing and exporting Gerber custom configurations, which is convenient for configuration reuse. Configuration information is stored in personal preferences for cloud synchronization.

图 223

Gerber Instructions

Gerber compressed package: After exporting Gerber, it is a zip compressed package, which can be directly uploaded when the board factory places an order. Those with editing needs (such as CAM engineers) can use third-party CAM tools to edit Gerber after decompression.
Description of file names in Gerber:

Gerber filename:

The generated Gerber file is a compressed package. After decompression, you can see the following files:

File Name Type Remarks/Description
Gerber_BoardOutline.GKO Outline file The PCB board factory cuts the shape of the board according to this file, and the digging area drawn by EasyEDA is reflected in the outline file after Gerber is generated
Gerber_TopLayer.GTL PCB Top Layer Top Copper Foil Layer
Gerber_BottomLayer.GBL PCB bottom layer Bottom copper foil layer
Gerber_InnerLayer1.G1 Inner Copper Foil Layer Signal Layer Type
Gerber_InnerLayer2.GP2 Inner copper foil layer Inner electrical layer type
Gerber_TopSilkLayer.GTO Top silkscreen layer
Gerber_BottomSilkLayer.GBO* Bottom silkscreen layer
Gerber_TopSolderMaskLayer.GTS Top Solder Mask Layer It can also be called the copper expose layer. By default, the board is covered with oil, and the elements drawn on this layer correspond to the area of the top layer, which is not covered with oil
Gerber_BottomSolderMaskLayer.GBS Bottom Solder Mask It can also be called the copper expose layer. The board is covered with oil by default, and the elements drawn on this layer correspond to the area of the bottom layer without oil
Gerber_TopPasteMaskLayer.GTP Top layer flux layer For stencil fabriaction
Gerber_BottomPasteMaskLayer.GBP Bottom layer of soldering flux For stencil fabriaction
Gerber_TopAssemblyLayer.GTA Top assembly layer Only for reading, does not affect PCB manufacturing
Gerber_BottomAssemblyLayer.GBA Bottom assembly layer Only for reading, does not affect PCB manufacturing
Gerber_MechanicalLayer.GME Mechanical Layer The information recorded in the mechanical layer in the PCB design is only used for information recording. The shape of this layer is not used for manufacturing by default during production. This layer is only used for text identification. For example: process parameters, V-cut path, etc.
Gerber_DocumentLayer.GDL Document Layer Used to record PCB remarks, not involved in manufacturing
Gerber_CustomLayer1.GCL User-defined layer User-defined layer generally does not belong to the layer required for generation. If you need to use it in production, you can communicate with the board factory
Gerber_DrillDrawingLayer.GDD Drilling layer This layer does not participate in manufacturing, it is used for comparison and identification of the position of the generated via hole
Gerber_TopStiffenerLayer_xx_xx.GTSL Top Stiffener Layer This file is stiffener object layer, only for JLCPCB use
Gerber_BottomStiffenerLayer_xx_xx.GBSL Bottom Stiffener Layer This file is stiffener object layer, only for JLCPCB use
Drill_PTH_Through.DRL Drilling layer for metallized multilayer pads This file shows the drill hole position that needs metallization on the inner wall, such as multi-layer pads and through-hole vias
Drill_PTH_Through_Via.DRL Drilling layer of metallized through-hole type via This file shows the drill hole position that needs metallization on the inner wall. This file use at JLCPCB
Drill_PTH_Inner1_to_Inner2.DRL Drilling Layer for Metallized Blind and Buried Via This file shows the position of the drill holes that need metallization on the inner wall. Inner1 and Inner2 are automatically changed according to the layer type of the blind and buried via
Drill_NPTH_Through.DRL Non-metallized drilling layer This file shows the drilling position where the inner wall does not need metallization, such as through holes (circular trenching areas)
Fabrication_ColorfulTopSilkscreen.FCTS Top layer color silkscreen file This file only exists when the color silkscreen process is checked when exporting Gerber
Fabrication_ColorfulBottomSilkscreen.FCBS Bottom color silkscreen file This file only exists when the color silkscreen process is checked when exporting Gerber
jlcpcb.json Gerber config file Only for JLCPCB use, it save some info for ordering, such as stiffener location etc.


  • Before generating a manufacturing file, be sure to do a 2D or 3D preview to check the Design Manager’s DRC error entry to avoid generating defective Gerber files.
  • The generated Gerber is generated by the browser, so it must be downloaded through the browser’s own download function, and cannot use any third-party downloader
  • The coordinates of the Gerber file follow the canvas coordinates
  • When exporting Gerber, the default accuracy of the drill file coordinate format is 3:3, and when the size exceeds the range, the 4:2 format is automatically used. If you find the drill hole offset in the viewing tool such as CAM350, please adjust the drill hole coordinate format. . You can also choose to customize the output when exporting, and set the format precision.

Gerber Preview

Before sending the Gerber file to the manufacturer, use the Gerber Viewer to double-check that the Gerber meets the design requirements and has no design flaws.

Gerber viewers include: Gerbv, FlatCAM, CAM350, ViewMate, GerberLogix and some DFM inspection tools.

Recommended free Gerbv:

Official website homepage:
Download address:
Download address 2: Gerbv-2.6.0.exe

How to use Gerbv:

  1. Download Gerbv, and open it; unzip the downloaded Gerber archive.

  2. Click the plus sign + in the lower left corner to open the Gerber folder, and SHIFT+select all or CTRL+A select all the unzipped Gerber file.

  1. Then zoom, measure, change layers, check whether drilling, copper plating, etc. meet the design and production requirements.

Other free Gerber preview tools:

online use: import gerber)
online use:
online use:
desktop client: