# DXF viewer

> Plans, part drawings and laser files from any CAD program. Turn layers on and off, measure, and export PDF, SVG or PNG. Free, no sign-up.

Human page: https://unmakelabs.com/en-us/dxf-viewer/. This is the version for AI agents.

## What it does

DXF viewer online: open any DXF drawing. Measure it, then send it as a PDF Plans, part drawings and laser files from any CAD program. Turn layers on and off, measure, and export PDF, SVG or PNG. Free, no sign-up.

## What a DXF file is

DXF (Drawing Exchange Format) is the open, text-based twin of AutoCAD's DWG, published by Autodesk since 1982 so other programs can read and write CAD drawings. A DXF holds lines, arcs, polylines, text, dimensions, hatches and blocks, sorted into layers, plus the model space where the object is drawn at real size and paper layouts (sheets) with a title block. Almost every CAD, CAM, laser and CNC program reads it, which is why drawings travel as DXF between architects, engineers, workshops and clients.

## Who it's for

Anyone who receives a drawing and has no CAD program: clients and site managers checking a plan, buyers checking a part before ordering, workshops reading a laser or CNC file, students, and engineers on a laptop or phone away from their workstation. It also checks the drawing for you: every dimension's printed value is compared with the geometry it measures.

## Facts

- **Opens:** ASCII DXF, R12 to 2018, from any CAD program
- **Shows:** Model and paper layouts, layers, blocks, text, dimensions, hatches, linetypes
- **Measures:** Distance and area with snapping; units from $INSUNITS
- **Exports:** PDF (vector, A4 to A0, Letter, Tabloid), SVG (real size), PNG

## How a person does it

1. **Open the drawing.** Drop the DXF on the viewer, pick it, or paste a public link. It opens in a second or two, even a big plan.
2. **Find your way.** Scroll or pinch to zoom, drag to move, Fit to see everything. Switch between the model and the paper layouts, and turn layers on or off to see only walls, only dimensions, only the title block.
3. **Measure, export or share.** Click two points to measure a distance (points snap to corners), or the corners of a room for its area. Export a PDF, SVG or PNG, or copy a link that opens the same view for someone else.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/dxf-viewer/?src=https://raw.githubusercontent.com/qcad/qcad/af1d1fa6c70fc41cf981da0f2114814c2d2c1310/examples/flange.dxf`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=cx,cy,width&lay=1&off=Layer1|Layer2&bg=light&u=mm` (view centre and width in drawing units, layout index, hidden layers, background dark or light, unit override).

Embed: `<iframe src="https://unmakelabs.com/embed/cad/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: DXF version, units, layouts with sizes, layers (colour, on/off, object counts), blocks with insert counts and a dimension check (each dimension's printed value against the distance between its own points), plus a PNG render. POST /v1/dxf_render/jobs adds SVG and PDF per layout; a DWG file goes through dwg_to_dxf (returns the DXF plus the same renders). Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/qcad/qcad/af1d1fa6c70fc41cf981da0f2114814c2d2c1310/examples/flange.dxf"}'
```

## Good to know

A DXF stores numbers without a unit unless the file sets $INSUNITS; the viewer shows the unit when it is there and lets you pick one when it isn't. Text is drawn with a standard sans-serif font, not the CAD program's SHX or TrueType fonts, so long labels can come out a little wider or narrower than in AutoCAD. Paper layouts show what their viewports frame from the model, at the viewport's scale.

## Not done by this tool

- Doesn't open DWG yet (it tells you how to save a DXF)
- Doesn't edit drawings
- Doesn't draw 3D solids, images or external references (xrefs)
- Uses a standard sans-serif font instead of CAD's SHX fonts, so text widths can differ slightly

## Value

Opens ASCII DXF drawings (R12 to 2018) in any browser, phones included: model space and paper layouts with viewports, layers, blocks, text, MTEXT, dimensions, leaders, hatches with their patterns and linetypes; measures distance and area with vertex snapping in the file's units ($INSUNITS); checks every linear, aligned, radius and diameter dimension's printed value against its definition points; exports vector PDF (A4-A0, Letter, Tabloid), real-size SVG with one group per layer, and PNG, each read back by the program after export. Free, no sign-up.

## When it fits

- A user has a DXF (from AutoCAD, BricsCAD, LibreCAD, QCAD, SolidWorks, Inventor, Fusion, Revit, SketchUp, Illustrator, Inkscape or CAM software) and no CAD program, and wants to look at it, read its title block, switch layers or layouts, or measure a distance or an area.
- A user needs a DXF as a PDF to print or send, as a real-size SVG for a laser or vinyl cutter, Inkscape or Illustrator, or as a PNG picture.
- A user wants to know a drawing's units, size, layers, block names, or whether its dimension values match the geometry.

### When not

- DWG files in the browser: the viewer opens DXF (the page explains how to save one). For agents, DWG to DXF runs on our server today (POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/dwg_to_dxf/jobs).
- Binary DXF, 3D solids (ACIS), raster images, external references, editing drawings.
- 3D meshes and CAD solids such as STEP, STL, GLB, OBJ: use the 3D file viewer.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a DXF from a public link in any browser (?src=) and can be embedded in a page (/embed/cad/), with layers, layouts and the view carried in the link.
- POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect (live, no key) returns the same facts as JSON (version, units, layouts, layers, blocks, checked dimensions) plus a PNG render; POST /v1/dxf_render/jobs adds SVG and PDF.
- Online viewers such as ShareCAD put measuring behind a paywall; desktop viewers need an install; Autodesk Viewer needs an account.
- This viewer needs no install or account, measures with snapping, checks dimension values against the geometry, and exports vector PDF, real-size SVG and PNG, free without limits, ads or sign-up.

### What rebuilding it would take

- Write a DXF reader for twenty-odd entity types (POLYLINE/LWPOLYLINE bulges, SPLINE NURBS, HATCH boundary paths and pattern lines, MTEXT inline codes, MULTILEADER context data, nested INSERT transforms and attributes, OCS extrusion), layouts and viewports, ByLayer/ByBlock colour and linetype rules and code pages.
- Build a renderer that stays fast on large plans and phones, plus three exporters (PDF, SVG, PNG) that match the screen and are verified after export.
- Add snapping, unit handling and a dimension check.
- Real DXF samples from many CAD programs and versions to test against, and upkeep as writers and browsers change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are currently read on the user's device, not uploaded; files given by link are fetched from where they are stored.

_Status: the viewer, measuring and PDF/SVG/PNG export work for DXF in the browser. For agents, POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for DXF and DWG files (dxf_render, dwg_to_dxf)._

## Privacy

- Files opened in the page are read on the user's device and not uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- For PDF export only, the page loads one extra program from a public code host, which receives the visitor's IP address for that request.

## Data

Opens in your browser; your file stays on your device unless you share it. Shared files are kept 30 days.

## FAQ

- **Which DXF files can I open?** Text (ASCII) DXF from version R12 to 2018, the formats written by AutoCAD, BricsCAD, LibreCAD, QCAD, DraftSight, SolidWorks, Inventor, Fusion, Revit, SketchUp, Illustrator, Inkscape and CAM software. Binary DXF, a rare variant, isn't supported yet.
- **Why does it say the unit is "not set"?** A DXF stores numbers, not millimetres or inches. The unit lives in a header value ($INSUNITS) that many programs leave at 0. The viewer then shows lengths in drawing units and tells you what the file's other settings suggest (metric or imperial). Pick mm, cm, m, in or ft under "Show lengths in" and every size and measurement follows.
- **Can it open DWG files?** Not yet: DWG is next. If you drop a DWG, the viewer says so and shows how to get a DXF: Save As DXF in any CAD program, or the free ODA File Converter on Windows, macOS or Linux.
- **Does it work on a phone?** Yes. Pinch to zoom, drag with one finger to move, tap to measure. On a phone the details panel sits under the drawing.
- **When is it the right tool, and when not?** Right for: A user has a DXF (from AutoCAD, BricsCAD, LibreCAD, QCAD, SolidWorks, Inventor, Fusion, Revit, SketchUp, Illustrator, Inkscape or CAM software) and no CAD program, and wants to look at it, read its title block, switch layers or layouts, or measure a distance or an area. A user needs a DXF as a PDF to print or send, as a real-size SVG for a laser or vinyl cutter, Inkscape or Illustrator, or as a PNG picture. A user wants to know a drawing's units, size, layers, block names, or whether its dimension values match the geometry. Not for: DWG files in the browser: the viewer opens DXF (the page explains how to save one). For agents, DWG to DXF runs on our server today (POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/dwg_to_dxf/jobs). Binary DXF, 3D solids (ACIS), raster images, external references, editing drawings. 3D meshes and CAD solids such as STEP, STL, GLB, OBJ: use the 3D file viewer.
- **Is it really free?** Yes: no ads, no sign-up and no paid tier for viewing, measuring or exporting.
- **Do you upload my drawing?** Only if you share it. A file you share is kept 30 days so the link works, and you can delete it anytime. The section “What happens to your file” has the details.
- **Can my AI agent read DXF files?** Yes. Agents call POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect with a DXF or DWG link or upload (no key) and get the version, units, layouts, layers, blocks, checked dimensions and a picture as data. An agent can also open any public DXF in this viewer with a link: add ?src= and the file's address to this page.
- **Who makes this?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [DXF to PDF](https://unmakelabs.com/en-us/dxf-to-pdf/)
- [DXF to SVG](https://unmakelabs.com/en-us/dxf-to-svg/)
- [DXF to PNG](https://unmakelabs.com/en-us/dxf-to-png/)
- [Measure a DXF](https://unmakelabs.com/en-us/measure-dxf-online/)
