DXF viewer online
Explore DXF CAD drawings with layer toggles, color coding, grid overlay, and PNG export.
Drop a .dxf file here or browse
DXF format (AutoCAD Drawing Exchange Format)
Supported entities
DWG files require conversion to DXF format. Use AutoCAD, LibreCAD, or online converters.
Navigation
Drag to pan the view, scroll to zoom in/out. Double-click to fit all entities in view.
Layer control
Toggle individual layers on/off to isolate parts of the drawing. Each layer gets a unique color.
DWG vs DXF
DWG is a proprietary format. This viewer supports DXF (the open interchange format). Convert DWG to DXF using AutoCAD or online tools.
Export options
Take a screenshot as PNG or copy entity statistics to clipboard for documentation.
DXF is the open interchange format every CAD package can write, which makes it the practical way to look at a drawing when you do not own the software that produced it. This page reads the ENTITIES section of an ASCII DXF with its own group-code parser, collects LINE, CIRCLE, ARC, LWPOLYLINE and POLYLINE geometry, groups everything by its layer name, and draws the result on a 2D canvas. Each layer gets its own colour from a sixteen-colour palette and its own visibility switch, so you can isolate the dimensions from the geometry or turn off a hatch layer that hides everything underneath. DWG is not supported: it is a proprietary binary format, and the viewer says so rather than failing quietly.
Key facts about DXF viewer online
| Format read | ASCII DXF only. The file is read as text and walked as group-code and value pairs |
|---|---|
| DWG | Rejected with a clear message. DWG is a closed binary format — convert it to DXF in AutoCAD, LibreCAD, FreeCAD or any CAD tool with a DXF export first |
| Entities drawn | LINE, CIRCLE, ARC, LWPOLYLINE and POLYLINE with its VERTEX records |
| Entities skipped | TEXT, MTEXT, DIMENSION, HATCH, SPLINE, ELLIPSE, INSERT block references, SOLID and 3DFACE — they are counted as absent, not drawn |
| Dimensionality | Two-dimensional. Group codes 10, 20, 11, 21 are read; Z coordinates are ignored, so a 3D drawing appears as its plan projection |
| Layers | Taken from group code 8 on each entity. Every distinct name gets a palette colour and a visibility toggle; entities with no layer fall into layer 0 |
| Layer palette | Sixteen colours assigned in order of appearance. Layer colours from the DXF LAYER table are not read |
| Entity statistics | A count per entity type and a total, copyable to the clipboard as plain text together with the file name and layer count |
| Layer search | Filter the layer list by name, then show all or hide all — useful on drawings with dozens of layers |
| Line styles | Four stroke widths: thin at 0.5 px, normal at 1, thick at 2, bold at 3 |
| Backgrounds | Six, including a blueprint blue and a white one for printing |
| Export | PNG screenshot of the canvas as displayed. There is no DXF, SVG or PDF export |
What happens to your file
The drawing is read as text with the File API and parsed in this browser tab; the entity list and the canvas both live in page memory. Nothing is uploaded, so a client drawing, a part detail or a site plan is not copied to anyone else server in order to be looked at. The PNG screenshot is produced from the canvas locally and saved by your browser, and the entity statistics are copied to your own clipboard. Closing the tab disposes of everything — there is no cached copy and no account holding a file history.
About this tool
- 1
Convert DWG to DXF if needed
This viewer reads DXF. If you have a .dwg, export or save-as DXF from AutoCAD, BricsCAD, LibreCAD, FreeCAD or any CAD package — DXF is the format they all agree on.
- 2
Drop the .dxf file
Drag the file onto the page or browse for it. The ENTITIES section is parsed and a toast reports how many entities were found across how many layers.
- 3
Fit and navigate
Double-click to fit everything in view, drag to pan, scroll to zoom. Reset view returns to the starting framing at any time.
- 4
Work the layer list
Toggle layers off one at a time to find which one carries the geometry you care about, or hide all and re-enable just the two you need. Search the list by name when the drawing has dozens.
- 5
Adjust line weight and background
Thin lines suit a dense assembly drawing; bold suits a projector or a screenshot. The blueprint background is good for presentation, white for printing.
- 6
Screenshot or copy the stats
Export the canvas as PNG, or copy the entity breakdown by type to the clipboard for a report or a handover note.
| Accepted extension | .dxf |
|---|---|
| DXF flavour | ASCII DXF, any version that writes the standard ENTITIES section |
| Binary DXF | Not supported — the file is read as text |
| Geometry supported | Lines, circles, arcs, lightweight polylines, classic polylines |
| Navigation | Drag to pan, scroll to zoom, double-click to fit all entities, reset view |
| Layer control | Per-layer visibility, colour-by-layer toggle, search, show all, hide all |
| Grid | Toggleable reference grid behind the drawing |
| Export | PNG screenshot, named after the source drawing |
| Browser support | Canvas 2D only — no WebGL, no plugin, no CAD install |
| Cost / account | Free, unlimited drawings, no signup |
- If the drawing looks empty, its geometry is probably made of splines, blocks or hatches rather than the line, arc, circle and polyline entities this parser reads.
- Missing dimension text is expected: TEXT and DIMENSION entities are not drawn, so a drawing will show its geometry without any annotation.
- Colour-by-layer is the fastest way to understand an unfamiliar drawing — each layer becomes visually distinct even when the original used one colour throughout.
- Hide all, then re-enable layers one at a time, to work out what an unlabelled layer actually contains.
- Exploding blocks in your CAD tool before exporting DXF turns INSERT references into real entities this viewer can draw.
- Copy the entity statistics into a handover note to record exactly what was in a drawing at the time you received it.
- A drawing that came from a 3D model shows only its plan projection here, because only X and Y coordinates are read.
- ASCII DXF parsing in the browser
- Per-layer visibility switches
- Sixteen-colour layer palette
- Layer name search
- Entity counts by type
- Pan, zoom and fit-to-view
- Four line weights and six backgrounds
- PNG screenshot export
- Copy statistics to clipboard
- Opening a DXF a supplier sent you without buying or installing CAD software.
- Checking which layers a drawing contains before importing it into a laser or CNC workflow.
- Confirming a drawing is the right revision before passing it on.
- Producing a PNG of a drawing for an email, a quote or a work order.
- Reviewing a client drawing without uploading proprietary geometry to a conversion site.
- Counting the entities in a file to estimate how much work an import will be.
Related tools
View allPart of File viewers that open the file in your browser
Works well with this4
Other DXF tools5
More file viewers10
Updated