Convert DXF CAD drawing files into PDF documents online for easy viewing, printing, and sharing without needing specialized design or engineering software.
Convert DXF CAD drawing files into PDF documents online for easy viewing, printing, and sharing without needing specialized design or engineering software.
DXF → PDF · vector-accurate · layers preservedScroll to zoom · Drag to pan
Three steps. No software. No account.
DXF (Drawing Exchange Format) is a plain-text CAD format developed by Autodesk. Each DXF file is structured into sections — HEADER, TABLES, BLOCKS, and ENTITIES — where the ENTITIES section contains all drawable geometry as sequential group-code/value pairs. This tool implements a full DXF group-code parser from scratch in JavaScript — no third-party DXF library is used.
The parser walks the file line-by-line, reading alternating group code (integer) and value lines. It builds an entity list recognising LINE, CIRCLE, ARC, LWPOLYLINE, POLYLINE/VERTEX, SPLINE (approximated), ELLIPSE, TEXT, MTEXT, POINT, SOLID, DIMENSION, and INSERT (block references from BLOCK definitions). Layer and colour information is extracted for each entity from group codes 8 (layer) and 62 (ACI colour index).
Drawing bounds are computed from all visible entity coordinates, then entities are scaled and translated to fit the chosen PDF page with the specified margin. All geometry is drawn using pdf-lib's vector drawing API — lines, curves, arcs — producing a true vector PDF that prints crisply at any size without rasterisation artifacts.
Free, instant, and completely private. Drop a DXF file, configure settings, download the result — no account ever needed.
No account · No upload · No data stored · Works offline