Open FlatCad

Online DXF viewer

Drop a DXF to see it at its real size, layer by layer, with the total length of its lines and a list of anything the viewer could not draw. Download it as an SVG in millimetres, or open it in FlatCad to edit. SVG files open too.

View a DXF

Reading the status line

After a file loads, one line under the drop zone sums it up, for example:

bracket.dxf: 120 × 80 mm · 14 shapes on 3 layers · 1.24 m of lines · 6 text(s) not shown · 2 unsupported entities skipped

What the viewer draws

DXF entityHow it is shown
LINEAs drawn
LWPOLYLINE, POLYLINEWith their bulges, so arc segments stay round
CIRCLE, ARC, ELLIPSESmooth curves, drawn to within 0.05 mm
SPLINEEvaluated from its control points and knots
INSERT (blocks)Placed, rotated and scaled, including rectangular arrays up to 1000 columns and rows and blocks nested up to 8 deep
TEXT, MTEXTCounted, not drawn
HATCH, DIMENSION, 3DFACE, IMAGE and othersSkipped and counted

Two details that trip up other viewers are handled. Entities inside a block that sit on layer 0 take the layer of the block they are inserted on, as AutoCAD does. And shapes drawn with their extrusion direction pointing down (a mirrored arc from some CAM exports has its Z axis set to −1) are flipped back, so they don't appear mirrored in the wrong place.

Units

The size depends on the $INSUNITS value in the file's header. The viewer understands inches, feet, millimetres, centimetres and metres. Many files leave it out, especially those from older programs and online generators; then the drawing is read as millimetres and the status line adds "No units in the file: read as millimetres."

If that guess is wrong, change Units to what the drawing was made in and the size and line length update. A quick check: a part drawn in inches and read as millimetres is 25.4 times too small, so a 6 inch shelf bracket shows as 6 × 4 mm instead of about 152 × 102 mm. The units choice also goes into the SVG you download.

Layers and the background

Each layer appears in the list under the drawing with its colour and the number of shapes on it. Untick a layer to hide it, for example dimensions or a title block, and see only what will be cut. Lines that are black in the file and white lines meant for a dark CAD screen would vanish on one background or the other, so Light/Dark swaps them over rather than hiding them.

Downloading an SVG

The SVG is in millimetres with its origin at the drawing's top-left corner, so it imports at the right size into Inkscape, LightBurn, Glowforge, xTool Creative Space and Cricut Design Space. Every visible layer is a separate Inkscape layer. Lines are 0.1 mm thick, and white lines are written black so they still show on a white page. Curves are written as fine polylines, which every program reads; if you need true arcs in the output, open the file in FlatCad and export from there.

When a file won't open

Need a DXF from an SVG, PDF or Illustrator file? See SVG to DXF, PDF to DXF and AI to DXF. For G-code, see DXF and SVG to G-code.

Open FlatCad, free, no signup

Questions

Can it open DWG files?

No. DWG is AutoCAD's closed format, and the viewer tells you so. Save the drawing as DXF from AutoCAD, DraftSight or LibreCAD, or batch-convert DWG files with the free ODA File Converter, then open the DXF.

The status line says some entities were skipped. Do I lose them?

Only in the preview and the SVG. The DXF itself is not changed. Skipped entities are usually hatches, dimensions, 3D faces or images; if you need to cut them, explode them to lines in your CAD program and save again.

Why don't I see the text in my drawing?

TEXT and MTEXT are counted but not drawn in the viewer, because drawing them properly needs the fonts named in the file. Press Open in FlatCad to edit: FlatCad reads the text there.

Is the line length the same as the cutting time?

It is the distance the head travels while cutting, so it is the main part of it. Divide by your cutting speed for a first estimate: 3.6 m at 20 mm/s is 3 minutes, plus moves between shapes. It counts hidden layers too.

Does the SVG keep my layers?

Yes. Each visible DXF layer becomes its own Inkscape layer, named after the DXF layer. Hidden layers are left out of the SVG, so switch off what you don't want before downloading.

Is my file uploaded?

No. The viewer reads the file in your browser and nothing is sent anywhere.