Convert DXF to GLB

DXF fileDXFGLB file

Convert a DXF file to GLB in your browser. Free, no upload, no sign-up.

Loading converter…

Convert DXF files to GLB directly in your browser. The converter extrudes every filled shape in the DXF to the thickness you choose and writes the resulting solid as GLB. Nothing is uploaded, there is no file size limit beyond your computer's memory, and the result downloads instantly. GLB is the format web browsers, AR viewers and e-commerce platforms expect; one self-contained file with materials included.

How to convert DXF to GLB

  1. 1
    Drop your DXF file

    Drag a .dxf file onto the box above or click to choose one. Closed outlines (polylines, circles, ellipses and splines) are extruded to the depth you choose; open lines, hatches, dimensions and text are skipped. Files that already contain 3D faces are read as a mesh instead. Drawing units are taken from the file header, so an inch drawing arrives at the right size.

  2. 2
    Set the extrusion depth

    Enter how thick the 3D shape should be in millimeters before dropping the file, or change it and reconvert.

  3. 3
    Check the preview

    The model renders in 3D so you can confirm it loaded correctly. Dimensions, volume and triangle count are shown next to it; open edges are flagged if the mesh is not watertight.

  4. 4
    Download the GLB

    Adjust the export options if needed and click download. Meshes without materials get a neutral gray PBR material so the file renders correctly in viewers.

What is a DXF file?

DXF is the open interchange format Autodesk published for AutoCAD in 1982. Most DXF files are 2D drawings: lines, arcs, polylines and text on layers. Some also carry 3D geometry as 3DFACE entities. It is what 2D CAD, laser cutters and CNC routers exchange.

Commonly used by: AutoCAD, LibreCAD, QCAD, Laser cutters, CNC routers, Fusion 360 sketches

Closed outlines (polylines, circles, ellipses and splines) are extruded to the depth you choose; open lines, hatches, dimensions and text are skipped. Files that already contain 3D faces are read as a mesh instead. Drawing units are taken from the file header, so an inch drawing arrives at the right size.

What is a GLB file?

GLB is the binary container for glTF 2.0, the "JPEG of 3D" maintained by the Khronos Group. A single .glb file bundles geometry, PBR materials, textures and animations, and is the standard format for 3D on the web and in AR viewers.

Commonly used by: web viewers (three.js, model-viewer), AR on iOS and Android, Sketchfab, game engines

GLB is the format web browsers, AR viewers and e-commerce platforms expect; one self-contained file with materials included.

DXF vs GLB

DXFGLB
Full nameDrawing Exchange FormatBinary glTF
EncodingTextBinary
Geometry typeExact (B-rep / curves)Triangle mesh
ColorsNoYes
TexturesNoYes
MaterialsNoYes
Stores unitsYesYes
Multiple objectsYesYes
Typical useAutoCAD, LibreCAD, QCADweb viewers (three.js, model-viewer), AR on iOS and Android, Sketchfab

Frequently asked questions

Related converters