Back to Tools

Gerber viewer

See your PCB before you order it: the finished board from the top and bottom in your solder mask color, every layer on its own, and a 3D board with the holes drilled. Measures the board, counts the holes and finds the smallest drill. Nothing is uploaded.

No file at hand?

How to view Gerber files online

Drop the ZIP your PCB program exported, or select the loose files all at once. The viewer unpacks it in your browser, works out which file is which layer and draws the board the way the fab will make it: solder mask in the color you pick, exposed pads in HASL silver or ENIG gold, white silkscreen and the holes drilled through.

Top and Bottom show the finished board (the bottom as you see it with the board flipped over). Layers shows each file in its own color, and you can switch them on and off. 3D extrudes the board outline to its thickness, 1.6 mm unless the files say otherwise, with both faces printed on and every hole cut through, which is the quickest way to see whether mounting holes and cutouts sit where you think.

Next to the board you get the numbers a fab quote asks for: size, copper layer count, how many holes, the smallest drill and the thinnest track. Measure takes two clicks for any other distance, like the spacing of the mounting holes.

What Gerber files are

A Gerber file is a 2D image of one layer of a circuit board: the copper of one side, the solder mask openings, the silkscreen printing, the paste stencil or the board outline. Every PCB maker reads them, which is why "send us your Gerbers" is the first step of every order. The format used today is Extended Gerber, also called RS-274X, and its specification is kept by Ucamco. The old RS-274-D variant, which needed a separate aperture file, is obsolete.

Gerber X2 adds attributes to the same format: a line at the top saying which layer the file is (%TF.FileFunction,Copper,L1,Top*%) and tags that tell pads, vias and tracks apart. KiCad writes X2 by default, and this viewer trusts that line over the file name. X3 adds component positions on top. Holes aren't Gerber at all: they come in Excellon drill files (.drl, .xln, .txt), a list of tool sizes and hole positions. KiCad also writes a .gbrjob file, a small JSON file with the layer stack and board thickness.

Which Gerber file is which layer

Without X2 attributes, the file name is the only clue. These are the names each program uses (KiCad files start with your project name, and use .gbr for everything when "Use Protel filename extensions" is off). If the viewer guesses wrong, pick the right layer next to the file name and the board redraws.

LayerKiCadAltium / ProtelEasyEDA (JLCPCB)Eagle
Top copper-F_Cu.gtl.GTLGerber_TopLayer.GTL.cmp / copper_top.gbr
Bottom copper-B_Cu.gbl.GBLGerber_BottomLayer.GBL.sol / copper_bottom.gbr
Inner copper-In1_Cu.g1, -In2_Cu.g2.G1, .G2, planes .GP1Gerber_InnerLayer1.G1copper_l2.gbr
Solder mask-F_Mask.gts, -B_Mask.gbs.GTS, .GBSGerber_TopSolderMaskLayer.GTS.stc, .sts
Silkscreen-F_Silkscreen.gto, -B_Silkscreen.gbo.GTO, .GBOGerber_TopSilkLayer.GTO.plc, .pls
Paste (stencil)-F_Paste.gtp, -B_Paste.gbp.GTP, .GBPGerber_TopPasteMaskLayer.GTP.crc, .crs
Board outline-Edge_Cuts.gm1.GKO or .GM1Gerber_BoardOutline.GKOprofile.gbr
Drill-PTH.drl, -NPTH.drl.TXT, .DRLDrill_PTH_Through.DRL, Drill_NPTH_Through.DRL.drd / .xln

How to export Gerbers

  • KiCad: in the PCB editor, File, Fabrication Outputs, Gerbers. Tick the copper, mask, silkscreen, paste and Edge.Cuts layers, press Plot, then Generate Drill Files in the same window. Zip the folder.
  • EasyEDA: Fabrication, PCB Fabrication File (Gerber) in the Standard edition, Export, PCB Fabrication File (Gerber) in Pro. It downloads a ZIP that JLCPCB takes as it is.
  • Altium Designer: File, Fabrication Outputs, Gerber Files, then File, Fabrication Outputs, NC Drill Files, with the same units and format in both.
  • Eagle and Fusion Electronics: run the CAM processor with the fab's CAM job and zip what it writes.

What to check before you order

  • The outline is one closed shape and the size matches your design. If the viewer says it found no closed outline, the fab's system will struggle too: look for a gap in the Edge.Cuts or .GKO drawing.
  • Every copper layer is there. A 4-layer design zipped without its inner layers gets made as a 2-layer board.
  • The smallest drill and thinnest track against your fab's limits. JLCPCB, for example, lists 0.15 mm holes with 0.25 mm via pads and 0.10 mm (4 mil) tracks as the minimum for 1 and 2 layer boards, and 0.09 mm (3.5 mil) for multilayer boards, on its PCB capabilities page.
  • Drill holes line up with their pads. Holes that miss their pads usually mean the drill file was exported in other units or from another origin than the Gerbers.
  • Silkscreen text is readable and off the pads. Fabs clip silk where the mask is open, so a label printed over pads loses letters.
  • Mounting holes are where your case or standoffs expect them: measure between hole centers in the 2D view.

Frequently asked questions

Is this Gerber viewer free?
Yes, with no sign-up and no limit on the number of boards. It runs in your browser tab, so a big 8-layer board needs a bit of patience on an old phone but no account.
Are my files uploaded anywhere?
No. The ZIP is unpacked and drawn on your own computer, and nothing is sent to a server, so it's fine for boards under NDA.
Does it work with JLCPCB, PCBWay and KiCad Gerbers?
Yes. It reads standard RS-274X Gerbers and Excellon drill files from any program, so whatever you'd upload to JLCPCB, PCBWay, OSH Park or Aisler opens here first. KiCad, EasyEDA, Altium and Eagle file names are recognized automatically.
Why is the 3D board missing its parts?
Gerbers only describe the bare board: copper, mask, silkscreen and holes. The parts live in the PCB design file. Open the .kicad_pcb in the KiCad viewer to click each footprint for its reference and value; its 3D view is a bare board too.
Why are the colors different from my fab's preview?
Solder mask shades vary between fabs and even batches. The colors here are close to what JLCPCB ships, and the copper under the mask shows slightly lighter, as it does on a real board.
Can I edit the board here?
No, it's a viewer. Change the design in your PCB program and export again. If what you need is a 3D printed case or a mount for the board, the GrandpaCAD chat designs one from the size and holes measured above.

Related tools and guides

Describe a circuit. Get a board you can order.

GrandpaCAD's chat picks real parts, draws the schematic, routes the PCB and checks it against JLCPCB's rules. You get Gerbers, BOM, pick-and-place, a KiCad project and a 3D board, plus a printed case if you want one.

"A 3D printed case for my PCB with a USB-C cutout"

3 free generations, no card required