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.
Tiny Online Tools







