Gerber v2.6.0 · DXF v1.7.0•See Changelog ↗

Free Online Gerber Viewer & 2D DXF CAD Editor

Two browser-native CAD & CAM workspaces by OnStarry. Inspect multi-layer PCB Gerber archives or draft and edit 2D mechanical DXF drawings at 120 FPS—100% locally in your browser.

PCB CAM & Layer Inspectorv2.6.01nm Math
Open Editor

GerberPatch

RS-274X Gerber & Excellon drill layer stackup, Pre-Flight DFM check, array panelization, and emergency trace patching.

app.onstarry.com/gerber
Interactive Demo
GerberPatch PCB Gerber Viewer and Layer Inspector interface

Drop Gerber, Drill, or ZIP archive

Also imports .DXF outlines directly into Gerber layers

.GTL .GBL .GTS .GBS .GTO .GBO .DRL .GKO .GBR .ZIPLocal Browser Only
2D Mechanical CADv1.7.0120 FPS WebGL2
Open Editor

DXF CAD Editor

Hardware-accelerated 2D DXF drafting & editing (Trim, Fillet, Offset, Hatch), O(1) OSNAP, dimensions, PDF plot, and Live Disk Sync.

app.onstarry.com/dxf
Interactive Demo
DXF CAD Editor WebGL2 2D mechanical drawing and properties interface

Drop AutoCAD .DXF drawing here

Instant GPU matrix pan/zoom, layer control & DXF/PDF export

AutoCAD DXF (R12–2018+) • UTF-8 & CP949/EUC-KR • SVG/PDF/PNG Plot
1nm & O(1) Spatial Math
Integer-scaled Gerber coordinates & 2D spatial hash grid OSNAP
100% Private Local Engine
Zero cloud file uploads—NDA safe inside your browser sandbox
WebGL2 120 FPS Viewport
GPU matrix pan/zoom handles massive PCB layers & DXF assemblies
Live Disk Sync & Auto-Save
IndexedDB Gerber recovery & direct File System DXF live sync
Real Browser Workspaces

See Both Workspaces in Action

Actual production screenshots from GerberPatch and DXF CAD Editor—switch views or click any canvas to inspect full-screen.

GerberPatch Multi-Layer PCB Inspector and Dimensions ViewClick to Expand
GerberPatch · v2.6.0

Inspect, Verify & Patch PCB Layers

Multi-Layer Copper, Mask & Drill Stackup

Toggle .GTL, .GBL, .GTS, .GTO, .DRL, and .GKO layers with EDA theme presets and solo layer isolation.

Live Board Dimensions & Pre-Flight DFM

Verify exact board dimensions, annular ring tolerances, and copper-to-edge clearances before ordering PCBs.

Emergency Patching & Array Panelization

Cut or add copper traces, import DXF board outlines, build step-and-repeat V-cut panels, and export validated ZIPs.

Open GerberPatch
DXF CAD Editor · v1.7.0

Draft, Modify & Plot 2D DXF at 120 FPS

AutoCAD-Style Ribbon & Command Line

Use familiar commands (L, PL, TR, F, O, AR, H) and interactive grip handles directly in your browser.

O(1) Spatial OSNAP & Live Properties Palette

Snap cleanly to endpoints, centers, and intersections while inspecting or editing exact coordinates in the Properties panel.

Local Disk Live Sync & 1:1 Vector Plot

Auto-reload local .dxf saves via File System Access API and export clean .dxf, .svg, .png, or printable PDFs.

DXF CAD Editor WebGL2 2D Drafting, Layer Panel, and Live Properties PaletteClick to Expand
Confidentiality Guaranteed

100% Private, Client-Side CAD & CAM Engine

Why hardware engineering teams, PCB designers, and mechanical drafters choose OnStarry over conventional cloud viewers for sensitive PCB Gerber files and proprietary 2D DXF drawings.

Local WebGL2 & Vector Engine

Traditional online Gerber and DXF viewers rely on server-side rendering, forcing you to upload confidential RS-274X PCB layouts or mechanical DXF blueprints to external clouds. That introduces intellectual property risk and violates corporate non-disclosure agreements (NDAs).

OnStarry executes everything directly inside your browser. Our Gerber parser computes 1nm integer coordinates and aperture flashes locally, while the DXF CAD Editor tessellates entities into GPU vertex buffers via hardware-accelerated WebGL2—so not a single byte of Gerber or DXF geometry ever leaves your machine.

Client-Side Architecture Highlights
  • • Zero cloud file transmission or remote database storage
  • • Works offline once loaded for both Gerber & DXF workspaces
  • • Enterprise NDA compliant for commercial, automotive & defense CAD

Offline Auto-Recovery & Local Disk Live Sync

Work confidently without risking lost progress. In GerberPatch, an offline IndexedDB auto-save engine continuously preserves your active layers, theme presets, and emergency patch histories inside your browser's sandboxed storage for instant one-click recovery.

In the DXF CAD Editor, you can link directly to a local .dxf file via the browser File System Access API for real-time Live Watch auto-reloading and direct Save-to-Disk writes—bridging your desktop CAD workflow with zero cloud intermediaries.

Privacy Controls

All locally stored Gerber sessions can be permanently cleared with one click using "New Project (Clear Session)", and DXF disk handles are explicitly user-granted and discarded on tab close.

Engineered for Precision

Dual-Workspace Capabilities: PCB Gerber & 2D DXF CAD

Everything you need to inspect PCB fabrication archives, verify clearances, draft mechanical 2D DXF parts, and export ready-to-manufacture files directly in your browser.

Gerber / PCB

1nm Precision Math Engine

Floating-point arithmetic in JavaScript can accumulate rounding drift during coordinate transforms. GerberPatch scales all coordinates into 1nm fixed-point integers before computing geometry.

Gerber / PCB

Visual Diff & Pre-Flight DFM

Toggle Visual Differential mode to highlight modified copper and mask clearances in cyan, and run Pre-Flight DFM checks for annular rings, trace clearances, and drill registration.

Gerber / PCB

Array Panelization & V-Cuts

Generate fabrication-ready step-and-repeat PCB panels with configurable column/row matrices, breakaway edge rails, fiducial markers, tooling holes, and V-cut scoring lines.

Gerber / PCB

Magnetic CAD Snapping & HUD

Snap precisely to SMD pad centers, trace vertices, and Excellon drill holes with a live Heads-Up Display showing absolute coordinates, relative delta offsets (ΔX, ΔY), and EDA theme presets.

Gerber / PCB

Semantic Subsequence Verification

Every exported RS-274X file passes through our automated semantic subsequence validator, ensuring 100% of untouched apertures and original vector commands remain uncorrupted.

Gerber / PCB

Emergency Patching & Export

Fix routing mistakes without re-running your full EDA pipeline. Cut shorted traces, inject copper tracks or silkscreen labels, import DXF board outlines, and export ready-to-order ZIPs.

DXF 2D CAD

120 FPS WebGL2 Matrix Viewport

Tessellates LINE, LWPOLYLINE, CIRCLE, ARC, ELLIPSE, SPLINE, INSERT blocks, and HATCH entities into GPU Float32Array buffers once, delivering zero-lag GPU matrix pan and cursor-centered zoom.

DXF 2D CAD

Full 2D Draw & Modify Toolset

Draft from scratch or revise existing drawings using Line, Polyline, Rectangle, Polygon, Circle, Arc, Spline, Hatch, plus Trim, Extend, Fillet, Chamfer, Offset, Mirror, Scale, Rotate, and Array.

DXF 2D CAD

O(1) Spatial OSNAP & Command Line

Query a 2D spatial hash grid in constant time for Endpoint, Midpoint, Center, Intersection, and Perpendicular snaps—paired with AutoCAD-style command aliases, Ortho (F8), and Polar tracking (F10).

DXF 2D CAD

Local Disk Live Sync & Save

Open .dxf files via the browser File System Access API to auto-reload external desktop CAD edits in real time (Live Watch) and write modified drawings directly back to disk.

DXF 2D CAD

Dimensions, Find & 1:1 Vector Plot

Place Linear, Aligned, Angular, Radius, and Diameter dimensions, batch search/replace CAD text, filter entities with Quick Select, and export crisp SVG, high-res PNG, or printable PDF layouts.

DXF 2D CAD

AI Bridge & CP949/EUC-KR Support

Automatic UTF-8 and Korean CP949/EUC-KR decoding preserves legacy CAD layer names and text, while the built-in AI & MCP Control Bridge enables scripted inspection and automated drafting.

Technical Documentation

Gerber & DXF Technical Reference

Comprehensive file extension layer mappings for RS-274X Gerber & Excellon drill packages alongside supported DXF entities and CAD command shortcuts.

ExtensionLayer FunctionDescription & PurposeDefault ColorCritical Inspection Checklist
.GTLTop Copper LayerPrimary component pads (SMD), high-speed trace routing, power rails, microvias. Red / CopperCheck trace necking, minimum clearance (≥5mil), and solder mask expansion.
.GBLBottom Copper LayerBottom ground planes, power return paths, through-hole solder pads, connector fanouts. Blue / CyanVerify ground plane continuity, copper pour clearances from board edge, high-current width.
.GTSTop Solder MaskTop solder resist negative mask. Exposes copper pads to prevent solder bridging during reflow. Purple / GreenEnsure solder mask dam width (≥0.1mm) between adjacent IC pins to prevent shorts.
.GBSBottom Solder MaskBottom solder resist openings for THT leads, wave soldering pads, and bottom SMD components. Green / TealCheck through-hole solder clearance and verify test points are properly uncovered.
.GTOTop Silkscreen / OverlayComponent reference designators (R1, C1, U1), polarity marks (diode bars, pin 1 dots), logos. Yellow / WhiteVerify no silkscreen ink overlaps bare copper SMD pads (causes soldering defects).
.GBOBottom Silkscreen / OverlayBottom component markings, certification labels (CE, FCC), revision numbers, barcodes. WhiteEnsure text height (≥1.0mm) and stroke width (≥0.15mm) meet manufacturer legibility limits.
.DRL / .TXTExcellon NC Drill FilePlated Through Holes (PTH), Non-Plated Holes (NPTH), via holes, mounting slots. Orange / WhiteVerify annular ring breakout tolerance (pad diameter ≥ drill size + 0.3mm).
.GKO / .GMLKeep-Out / Board OutlinePhysical PCB board contour, internal slot cutouts, V-scoring grooves, milling coordinates. Pink / MagentaEnsure copper pour keep-out distance (≥0.3mm from edge) to avoid shorting during routing.
Manufacturing & Drafting Readiness

Pre-Flight PCB DFM & DXF CAD Readiness Checklists

Verify fabrication tolerances before submitting Gerber archives to PCB fabs (JLCPCB, PCBWay, OSH Park, Eurocircuits) and validate 2D DXF geometry prior to CNC, laser cutting, or 1:1 plotting.

PCB Gerber DFM Checklist
01

Trace Clearance & Width Check

Verify that your minimum copper trace width and spacing adhere to your fabricator's process capabilities (standard is typically 5mil/5mil or 0.127mm).

  • Inspect high-current traces for adequate width to prevent overheating.
  • Ensure copper pour keepout is at least 0.3mm away from board outlines.
  • Check for acute trace angles (<90°) that trap acid etchant.
02

Drill Registration & Annular Ring

Overlay your Excellon NC Drill file (.DRL) on top of copper layers (.GTL/.GBL) to confirm precise alignment and hole sizing.

  • Verify annular ring margin (pad radius minus drill radius ≥ 0.15mm).
  • Prevent drill breakout during CNC drilling misalignments.
  • Confirm Plated (PTH) and Non-Plated (NPTH) hole separation.
03

Solder Mask Dam & Bridge Prevention

Examine solder resist openings (.GTS/.GBS) around fine-pitch ICs (QFN, QFP, BGA) to prevent solder bridging during reflow assembly.

  • Ensure green solder mask dam width between SMD pads is ≥ 0.1mm.
  • Verify that all test points and fiducial marks have mask openings.
  • Confirm no silkscreen legend ink is printed directly on exposed solder pads.
2D DXF CAD & CNC/Laser Readiness Checklist
01

Layer & Block Hygiene

Organize cut paths, bend lines, and reference dimensions onto clean layers and purge redundant entities before CAM export.

  • Isolate cut profiles, holes, and annotations into separate named layers.
  • Use Explode (X) on nested INSERT blocks when flat entity output is required.
  • Run Purge Unused & Quick Select to remove stray zero-length segments.
02

Closed Contours & Hatch Geometry

Ensure toolpath boundaries, PCB enclosure outlines, and hatch regions form watertight loops with zero gaps or overlaps.

  • Snap corners precisely using OSNAP (F3) Endpoint & Intersection modes.
  • Use Trim (TR), Extend (EX), Fillet (F), and Join (J) to close open loops.
  • Verify closed boundary loops before applying Hatch fills or Gerber outline import.
03

Units, Encoding & 1:1 Plot Check

Confirm drawing units ($INSUNITS), origin alignment, and 1:1 physical dimensions before cutting parts or printing templates.

  • Verify overall part bounds and critical hole spacing with Measure (DI) & Dimensions.
  • Align part origin (0,0) with UCS when preparing fixtures or PCB mounting plates.
  • Confirm UTF-8 / CP949 text legibility and export 1:1 PDF/SVG sheets via Plot (Ctrl+P).
Frequently Asked Questions

Got Questions? We Have Answers.

Everything you need to know about inspecting PCB Gerber archives and drafting 2D DXF CAD drawings online.

Is it safe to open confidential PCB Gerber and DXF CAD files on OnStarry?
Yes, 100%. Both GerberPatch and the DXF CAD Editor run on a strict "Zero Cloud Upload" architecture. When you drag and drop Gerber, drill, ZIP, or DXF files, they are parsed and rendered entirely inside your local web browser via JavaScript and WebGL2. No board coordinates, mechanical drawings, or file metadata ever leave your device, making it safe for corporate NDA and proprietary hardware projects.
Are GerberPatch and the DXF CAD Editor free, and do they require an account?
Both workspaces are 100% free to use with no software installation, no registration, and no credit card required. Open app.onstarry.com in any modern browser, drop your Gerber or DXF files—or start with a sample board, sample mechanical DXF, or blank CAD canvas—and begin working immediately.
Which Gerber formats, drill files, and PCB EDA tools does GerberPatch support?
GerberPatch supports standard RS-274X (Extended Gerber) files, RS-274D aperture tables, and Excellon NC Drill files (.DRL, .TXT). It works seamlessly with exports from KiCad, Altium Designer, Autodesk Eagle, EasyEDA, Cadence Allegro, OrCAD, and DipTrace, including multi-layer ZIP archives containing copper, solder mask, silkscreen, outline, and drill layers.
Can I measure clearances, patch traces, or panelize PCBs in GerberPatch?
Yes. GerberPatch provides a 1nm integer precision engine with magnetic CAD snapping for measuring pin pitch and trace clearances, a Visual Differential mode, Pre-Flight DFM inspection, non-destructive emergency trace patching/cutting, DXF board outline import, and step-and-repeat array panelization with V-cuts, edge rails, and fiducials.
What does the DXF CAD Editor support for viewing and 2D drafting?
The DXF CAD Editor renders 2D AutoCAD DXF drawings (R12 through 2018+) at up to 120 FPS using hardware-accelerated WebGL2 GPU buffers. It supports LINE, LWPOLYLINE, POLYLINE (with bulge arcs), CIRCLE, ARC, ELLIPSE, SPLINE, SOLID, HATCH, INSERT blocks, TEXT/MTEXT, and DIMENSION entities, plus full Draw and Modify commands such as Trim, Extend, Fillet, Chamfer, Offset, Mirror, Scale, and Array.
Does the DXF CAD Editor support Korean (CP949 / EUC-KR) DXF files?
Yes. Legacy CAD drawings created in Korean environments often save layer names and annotations in CP949 or EUC-KR rather than UTF-8. Our parser automatically detects encoding and falls back from strict UTF-8 to EUC-KR/CP949 so Korean layer names, titles, and text notes display cleanly without garbled characters.
How does Local Disk Live Sync work in the DXF CAD Editor?
In Chromium-based browsers (Chrome, Edge) supporting the File System Access API, you can open a local .dxf file with Live Sync enabled. Live Watch automatically reloads the viewport whenever an external desktop CAD program updates the file on disk, and Save to Disk writes your browser edits directly back to the original .dxf file without re-downloading copies.
Can I export drawings to PDF, SVG, PNG, or import a DXF into GerberPatch?
Yes. In the DXF CAD Editor, you can export edited .dxf files (Ctrl+S) or open the Plot dialog (Ctrl+P) to generate vector SVG, high-resolution PNG, or printable 1:1 PDF layouts. If you need to turn a mechanical DXF enclosure contour into a PCB outline or copper layer, you can drop the .dxf directly into the GerberPatch card or use Import DXF inside /gerber.

Ready to Launch Your Browser CAD & CAM Workspace?

No account creation, no software installation, and 100% private in-browser computation. Choose GerberPatch for PCB CAM or DXF CAD Editor for 2D drafting.