Home / CAD / DXF Viewer

DXF Viewer

Open AutoCAD DXF drawings in the browser with layers, pan and zoom, distance measuring and SVG export.

Free, no uploads, no sign-up. Runs 100% in your browser.

How DXF Viewer works

The DXF is parsed with the open-source dxf library (MIT), which expands blocks, arcs, splines and polylines into line work. The drawing is drawn with Canvas 2D, grouped by layer, so you can hide layers, zoom and measure with the real drawing units.

Input: DXF. Output: SVG.

How to use DXF Viewer

  1. Drop a DXF file.
  2. Drag to pan, scroll to zoom, and press 0 to fit.
  3. Toggle layers on the right.
  4. Use the ruler to measure between two points, or save the visible layers as SVG.

Tips

  • DWG files must be exported to DXF first from your CAD program (any DXF version works).
  • Hatches are shown as outlines and text uses a generic font.

DXF Viewer FAQ

Is my file uploaded?
No. Everything runs in this browser tab on your own device. Engines are downloaded once and cached, but your files never leave your computer.
Can it open DWG?
Not yet. DWG is a closed binary format. Save the drawing as DXF in AutoCAD, LibreCAD, FreeCAD or any CAD program.
Are my files uploaded?
No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
Is it free? Are there limits or watermarks?
Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
Does it work offline?
Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.

Related tools

  • CAD to PDF, SVG and PNG: Convert DXF drawings to vector PDF, SVG, PNG or JPG with layer selection, page sizes and print-friendly black lines.
  • 3D Model Viewer: View GLB, GLTF, OBJ, STL, PLY, FBX, 3MF, DAE, 3DS, USDZ, AMF, VRML, OFF and point clouds with orbit controls, lighting, wireframe and screenshots.
  • SVG Converter: Turn SVG or SVGZ into sharp PNG, JPG, WEBP, AVIF, BMP, TIFF, ICO or vector PDF at any size.

OpenFile runs in your browser. Turn on JavaScript to use the tools.