Gerber Viewer
Drop a fab package to see every layer, measure in mm or mil, and inspect pads and nets. Then check trace width, drills, annular ring and edge clearance against a fab preset, or compare two revisions.
1 · Load a fab package
or click to choose. BOM, pick-and-place, PDF and README files are ignored.
2 · Layers
Detection order: Gerber X2 file function, then file-name conventions (KiCad, Altium, Eagle, EasyEDA/JLC, OrCAD, gEDA), then content. Use ✎ to correct a layer.
Board view
Board report / DFM quick-check
Measured from the files with our own parser. Engineering estimate: it checks what can be measured without polygon booleans, and says so where it can't.
Fab capability check
| Check | Measured | Limit | Status | Note |
|---|
Drills
| Tool | Ø mm | Ø mil | Plating | Hits | Slots | File |
|---|
Copper trace widths
| Layer | Min trace | Widths used (count) | Basis |
|---|
Apertures (0)
| Layer | D-code | Shape | W × H mm | Flashes | Draws | Function (X2) |
|---|
Compare revisions
Load two revisions of the same board. Pick a layer to see what was removed (only in A), added (only in B) and kept, plus a list of changed areas.
Set A (older)
Set B (newer)
What the viewer reads, and what the report measures
A fab package is a set of RS-274X Gerber files, one per layer, plus one or more Excellon drill files. The viewer reads them with the File API in this tab. A Rust/WebAssembly engine parses each layer once and draws it with WebGL2, so pan and zoom only redraw. Dark and clear polarity are honoured, so pour clearances stay visible.
Layer identification
Each file is classified by side (top, bottom, inner, all) and type (copper, mask, silk, paste, outline, drill, mechanical). The strongest evidence wins:
- Content. An
M48header or a tool table means Excellon. A%FS/%MOheader means Gerber. Anything else (BOM, CPL, PDF, README,.gbrjob) is ignored. - Gerber X2 attributes.
%TF.FileFunction,Copper,L2,Inr*%says exactly what the file is. KiCad writes the same attribute into drill files as a comment. - File names. KiCad layer names (
-F_Cu,-In1_Cu,-Edge_Cuts), Protel/Altium extensions (.GTL .GBL .G1…G30 .GTO .GTS .GKO .GM1), Eagle (.cmp .sol .plc .stc .crc .dim), EasyEDA/JLC (Gerber_TopLayer.GTL,Drill_PTH_Through.DRL), OrCAD and gEDA.
Solder mask Gerbers describe the openings. In the realistic style the viewer draws the negative of the mask clipped to the board outline, so you see green coating with gold pads showing through, as on the finished board.
Board report formulas
A design at 6/6 mil on a 6/6 mil process passes, but has no margin, so it shows as "At the limit". That is deliberate: at the limit, yield depends on the fab's process window.
Compare revisions
For Gerber layers the engine computes boolean composites: A minus B (removed, red), B minus A (added, cyan) and A ∩ B (kept, grey). A raster pass at about 2,400 pixels across groups the red and cyan pixels into change areas you can click to zoom to. Drill files are compared hole by hole: same position within 10 µm, same diameter within 1 µm.
Limits
- Spacing is not checked. Copper-to-copper clearance needs polygon offsetting of every pour and pad. Run DRC in your CAD tool before release.
- Annular ring uses the pad's bounding box, which is exact for round, rectangular and rounded-rectangle pads and approximate for rotated or odd macro shapes. Inner-layer rings are not checked.
- Excellon files without an explicit format or decimal points use the 2.4 inch / 3.3 mm default for positions. Hole sizes and counts are unaffected; edge and ring checks are skipped for such files.
- Step-and-repeat and aperture blocks render correctly but are counted once in the report. Deprecated %IPNEG% negative layers and Excellon routing with radius compensation are not modelled. Arcs are tessellated.
- ODB++ and IPC-2581 are not read. Fab capability numbers are generic; your board house's capability sheet governs.
- The revision diff is a raster check at the stated µm per pixel. A change smaller than one pixel can be missed.
Privacy
Files are read locally and never sent anywhere. The page's Content-Security-Policy only allows network requests to this site and to Google Analytics page-view counting. You can confirm this in your browser's network tab, or disconnect after the page loads and keep working.
References
- Ucamco, The Gerber Layer Format Specification, revision 2024.05: FS, MO, AD, AM, LP, LS, SR, G36/G37, G74/G75, and the X2 attributes .FileFunction, .AperFunction, .N/.C/.P.
- IPC-NC-349 and the Excellon format: M48 header, METRIC/INCH, LZ/TZ, tool table, G85 slots, M15/M16 routing.
- IPC-2221B, Generic Standard on Printed Board Design: annular ring and conductor-to-edge definitions.
- dsafdsaf132, wasm-gerber-viewer / npm
wasm-gerber-renderer0.8.2 (MIT): the Rust/WASM/WebGL2 parser and renderer, vendored unmodified. - tracespace, whats-that-gerber (MIT): reference for CAD file-naming conventions. Our identification tables are our own.
- PKWARE, APPNOTE.TXT: .ZIP File Format Specification: central directory, ZIP64 and deflate entries, read here with the browser's DecompressionStream.
Sending a board to fab and want a second set of eyes?
Kyros reviews layouts and fab packages for manufacturability, and designs boards that pass DFM the first time: stack-up, impedance, drill and clearance rules matched to your board house.
