Tiny Online Tools logoTiny Online ToolssearchSearch tools…grid_viewAll Tools
Homechevron_rightCAD & PCB Toolschevron_rightDXF CleanerDXF Cleaner

DXF Cleaner

Removes duplicate lines and arcs, unused layer definitions, and tiny geometry from a DXF drawing, and reports exactly what it removed before you download the cleaned file.

upload_file

Click to browse or drag & drop files here

Choose a DXF file

Accepted: .dxf

Cleanup optionsRemove duplicate lines, circles and arcsRemove unused layer definitionsLines, circles, arcs and polylines shorter than this are removed as clutter. Pre-filled from the drawing's own units.

Similar Tools

DXF Layer Viewer

DXF Layer Viewer

Open a DXF drawing in the browser, inspect every layer and entity type, and toggle layers on or off to see exactly what is on the drawing.

Universal CAD Viewer

Universal CAD Viewer

View STEP, IGES, BREP, STL and DXF files in your browser, no install or upload — 3D solids in an orbit viewer, DXF drawings on a 2D canvas.

CAD Mass Properties Calculator

CAD Mass Properties Calculator

Compute volume, surface area, centroid, bounding box and weight from a STEP, IGES, BREP or STL file, with ~20 material density presets, entirely in your browser.

Laser Cutter File Inspector

Laser Cutter File Inspector

Check an SVG for the three things that ruin a laser job: open contours, duplicate/overlapping traces, and risky cut order — before it reaches the machine.

PDF Duplicate Page Remover

PDF Duplicate Page Remover

Automatically detect and remove duplicate pages from a PDF based on a visual fingerprint. Clean up scanned or merged documents in seconds.

3D Asset Extractor

3D Asset Extractor

Extract every texture, mesh, material and animation from a GLB or GLTF file as a ZIP.

Gradient Palette Extractor

Gradient Palette Extractor

Extract gradient-ready color stops from an uploaded image.

apps

More Tools

Browse our full collection of free online tools.

Clean up a DXF before it goes anywhere else

Drawings exported from other CAD tools, or handed down through a few conversions, often carry more than the geometry you actually need: the same line traced twice, layer definitions nothing draws on anymore, or slivers of geometry too small to matter. This tool finds all three and removes them — but never silently. Every removal is counted and shown before you download anything.

What it removes

  • Duplicate entities — lines, circles and arcs whose endpoints, centres and radii match another entity exactly, on the same layer.
  • Unused layer definitions — a layer table entry with nothing drawn on it, after duplicates and tiny geometry are removed.
  • Tiny geometry — lines, circles, arcs and polylines shorter than a length you choose. The field is pre-filled with a sensible default based on the drawing's own units (millimetres, inches, and so on), but you can change it.

The report

Instead of just handing back a smaller file, this tool lists what it removed and how many of each, plus a clear before/after entity count.

An honest writer

dxf-parser, the library this tool reads with, has no matching writer, so cleaning here also means writing a fresh DXF file by hand. That writer supports lines, polylines, circles, arcs, points and text — the geometry most drawings are actually made of. If the original file also contains block inserts, hatches, dimensions, multiline text or other richer entities, they are kept in the "after" count for honesty, but this tool tells you plainly if any of them could not be included in the downloaded file, and how many.

Privacy

The whole process — parsing, cleaning and writing the new file — runs in your browser. Nothing is uploaded.