Generate Drill and Gerber Files

File extension gerber is commonly used in PCB industry for various PCB designs. A printed circuit board, or PCB, is used to mechanically support and electrically connect electronic components using conductive pathways, or traces, etched from copper sheets laminated onto a non-conductive substrate. Gerber files are open ASCII vector format files that contain information on each physical board layer of your PCB design. Circuit board objects, like copper traces, vias, pads, solder mask and silkscreen images, are all represented by a flash or draw code, and defined by a series of vector coordinates.

Select File -> Plot from the menu to open the gerber generation tool.

In general, there are 8x layers you need to have a PCB fabricated:

  • Top Copper (F.Cu)+ Soldermask (F.Mask) + Silkscreen (F.SilkS)
  • Bottom Copper (B.Cu) + Soldermask (B.Mask) + Silkscreen (B.SilkS)
  • Board outline (Edge.Cuts)
  • Drill file

In the Plot window with the Plot format set for Gerber, be sure these Layers are checked:

If you don't know which layers, please check all layers, JLCPCB will help you to use the right layers. Click ‘Plot’ to generate the gerber files for the layers.

Don't forget to Generate the Drill Files. Click on ‘Generate Drill File’ button. You can use the defaults here as well. Check the 'Merge PTH and NPTH holes into one file' box. For now just click ‘Drill File’ or press ‘enter’ to generate the drill file. Use the same output folder as for the gerbers, which should be the default.

Gerber file types

Create Gerber Files

Check the Gerber files in GerbView

Gerber Pcb Design

Next, click ‘Close’to exit the Drill and Plot windows. All of the files should have appeared in your gerbers folder. KiCAD comes with a gerber viewer called GerbView, you can open the “GerbView” and check what your board looks like before sending it to manufacturer.

How To Open Pcb Gerber Files

For more details, please see this video tutorial of generating Gerber files for manufacturing in KiCad.
For Kicad 5.1.5, please check this tutorial.
If everything looks OK, select all of the files, zip them up, and upload the zip file to JLCPCB order page.