Gerber Viewer
View PCB fabrication files right in your browser. Drop a Gerber set (RS-274X) and an Excellon drill file — or a whole .zip — and Gerber Viewer parses and renders the board: copper traces and pads, soldermask, silkscreen and drill hits, composited with pan, zoom, per-layer toggles and a top/bottom flip. It auto-detects each layer, reports the board size, layer count and hole count, and lets you measure distances. Everything runs locally — nothing is uploaded.
How to Use
- Drop your Gerber files (
.gbr .gtl .gbl .gts .gto .gko …) and the Excellon drill file (.drl) onto the drop zone, or drop one .zip of the whole fab package. You can also click the zone to browse. - Each layer is identified from its Gerber X2 file-function attribute or, failing that, its filename (KiCad, Altium/Protel and Eagle naming), then drawn in the board view.
- Zoom with the mouse wheel and drag to pan. Toggle layers on the right, press Fit to recentre and View: Top/Bottom to flip the board.
- Turn on Measure and click two points to read the distance in millimetres. The Board stats panel shows the size, layer count, drill hits and unique drill sizes.
- No files to hand? Press Load sample board to see a small demo PCB.
Worked Example
Press Load sample board. Four files load: top copper, top silkscreen, the board outline and a drill file. Board stats reports a board size (outline) of 12 × 8 mm, 3 Gerber layers, 1 copper layer, 4 drill hits and 1 unique drill size. The four corner pads are 1.6 mm circles with 0.8 mm holes, so each has an annular ring of (1.6 − 0.8) / 2 = 0.4 mm of copper around the hole.
Variation, measure: zoom in, turn on Measure and click the centres of two pads along the long side. The pads sit at x = 2 and x = 12 mm, so the reading is about 10 mm; corner to opposite corner is √(10² + 6²) = 11.66 mm. How close you get depends on where you click, so zoom in first.
The common mistake: ordering with a file missing. If the Layers list has no Drill or no Board outline entry, the package is incomplete or a file was not recognised, and the board house will query it or make the wrong board. Check that every layer you expect appears, and toggle each one on its own before ordering.
Show Work: How a Gerber File Is Read
This is how the viewer turns the sample board's top-copper file into shapes, one command at a time.
1. Coordinate format: %FSLAX34Y34*% says leading zeros are left out, coordinates are absolute, and each number has 3 integer and 4 decimal digits. So X120000 means 12.0000.
2. Units: %MOMM*% means millimetres. A file with %MOIN*% is in inches, and the viewer multiplies every value by 25.4.
3. Apertures: %ADD10C,1.60000*% defines aperture D10 as a 1.6 mm circle, and %ADD11C,0.25000*% defines D11 as a 0.25 mm circle.
4. Flash pads: D10* selects the 1.6 mm aperture and X20000Y20000D03* flashes (stamps) one pad at (2.0, 2.0) mm.
5. Draw traces: D11* selects the 0.25 mm aperture, X20000Y20000D02* moves to (2.0, 2.0) without drawing, and X120000Y20000D01* draws a 0.25 mm wide trace to (12.0, 2.0), 10 mm long.
6. Drill file: in the Excellon file, T01C0.80 defines tool 1 as a 0.8 mm drill and X2.0Y2.0 puts a hole at (2.0, 2.0) mm, right in the middle of the first pad.
What it renders
Gerber Commands and Formulas
A PCB is manufactured from a set of Gerber files — one per physical layer — plus an Excellon drill file. Each Gerber file (RS-274X, plain ASCII) declares a coordinate format and units, defines a table of apertures (the shapes of pads and the widths of traces), then issues draw (D01), move (D02) and flash (D03) operations that paint copper, soldermask or silkscreen. Gerber Viewer parses all of that into geometric shapes and stacks the layers, so you see what the board house will make, within the limits listed in the FAQ.
The PCB toolset
Gerber Viewer sits alongside the rest of the Utilities Bunker electronics tooling — check your fab files here, then jump to the calculators for the numbers behind them.
History of the Gerber Format
The format is named after Joseph Gerber, whose company Gerber Systems built vector photoplotters that drew circuit artwork onto film. In 1980 Gerber Systems published its plotter format as a subset of the EIA RS-274-D numerical-control standard. That “Standard Gerber” had no aperture definitions inside the file, so every job needed a separate aperture list.
In 1998 Gerber Systems was taken over by Barco's PCB division, now Ucamco, which published the extended RS-274X format that September. RS-274X puts the apertures, units and polarity in the file itself. Ucamco added X2 attributes, such as %TF.FileFunction% naming the layer, in 2014, and declared Standard Gerber obsolete the same year. Drill data usually travels separately in the Excellon format, named after the maker of the drilling machines it was written for.
About This Viewer
Gerber Viewer reads RS-274X Gerber and Excellon drill files, or a .zip of them, entirely in your browser; nothing is uploaded. It draws traces, pads, arcs, copper regions and holes, stacks the layers in board order, and gives the board size, layer count and drill counts.
It is a preview, not a fabrication check. Aperture macros (%AM) are drawn as a circle sized from the largest macro value and listed in the notes panel, step-and-repeat panels show only the first copy, and there is no design-rule check yet. Before you order, check the files in your board house's own viewer as well.
Frequently Asked Questions
What files does it accept?
RS-274X Gerber files, the extended format every current PCB program exports, and Excellon drill files, one at a time or as a .zip. It recognises KiCad names (-F_Cu, -B_Mask, -Edge_Cuts) and Altium/Protel/Eagle extensions (.GTL .GBL .GTS .GTO .GKO), and uses the Gerber X2 %TF.FileFunction% attribute first when a file has one.
How accurate is the render?
It draws the real geometry: traces with the aperture width, flashed pads (circle, rectangle, obround and polygon), filled copper regions, arcs and drill hits, all scaled from the file's format and units. The main limits: aperture macros (%AM) are drawn as a circle sized from the largest macro value, so pads that a CAD program defines with a macro, such as rounded rectangles, can look round or the wrong size (each approximated macro is listed in the notes panel); step-and-repeat panels show only the first copy; and the old RS-274D format with separate aperture files is not supported.
Does it check my board against fab rules?
Not yet. There is no design-rule check for trace width, clearance or annular ring. Use Measure on the features you are worried about, and the PCB trace-width and impedance calculators for the numbers behind them.
Why can't I see a layer?
Check that it is switched on in the Layers panel and that the file was recognised. Files it could not classify are listed as Unknown but still drawn. Soldermask is drawn semi-transparent on purpose so the copper shows through, and clear-polarity areas are cut out of the layer below.
Where does the board size come from?
When an outline layer (Edge.Cuts, .GKO or a Profile file) is loaded, Board size is measured along the centre of the outline lines, which is where the board is cut, and is labelled (outline). Without an outline it falls back to the box around everything drawn in all layers, labelled (all layers), which can be larger than the real board.
How do I use the Gerber Viewer?
Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.
Does it cost anything or need an account?
No. The tool is completely free, there is no account to create, and it keeps working offline after the page first loads.
Is anything I type uploaded?
No. The tool works entirely on your device, so the values you enter never leave your browser.
Common Use Cases
Check Files Before Ordering
Look over the Gerbers your CAD program exported before you send them to a board house.
Open a Fab .zip
See what is inside a Gerber package someone sent you, without installing anything.
Check Layer Alignment
Toggle copper, mask, silkscreen and drill to confirm that pads, holes and legend line up.
Measure Features
Click two points to measure pad spacing, hole pitch or board edges in millimetres.
Last updated: