Free online DXF viewer
Drop a .dxf file anywhere on this page, together with its fonts and images (or their whole folder), or choose them. Everything runs locally in your browser: your drawing is never uploaded.
Drawn the way AutoCAD plots it
truedxf is an open-source DXF renderer tested case by case against AutoCAD's own plot output: text and MTEXT with SHX and TrueType fonts, hatches and gradients, dimensions and leaders, complex linetypes, lineweights, blocks, tables, images, viewports and paper-space layouts.
- Layouts and layers: model space and every paper-space layout, with layers you can toggle or isolate.
- Search the drawing's text, block attributes included, and jump to each match.
- Inspector: click an entity for its layer, colour, linetype, lineweight and raw DXF tags.
- Measure distances and angles, snapping to end points, midpoints and centres. Dark or light background, lineweights on or off.
- DXF to PNG: save the view as a PNG image, copy it to the clipboard, or print it (or save it as PDF from the print dialog).
- Recent drawings reopen with one click (Chrome, Edge).
- Large files: parsing and rendering run in a background worker, drawn with WebGL.
- ASCII and binary DXF, from R12 to the current AutoCAD format.
Questions
How do I convert a DXF file to PNG or PDF?
Open the DXF here, pick the layout and zoom to the part you want, then use the export button in the toolbar: Save view as PNG downloads the image, Copy view as image puts it on the clipboard, and Print view prints it on a white background, or saves it as a PDF when you choose "Save as PDF" in the print dialog. The image has the size of the view on your screen. Switch to the light background or turn lineweights off before saving if you prefer. Nothing is uploaded: the conversion runs in your browser.
Are my files uploaded?
No. The drawing, its fonts and its images are read by your browser and never sent anywhere. You can disconnect from the internet after the page has loaded. The site only counts visits, without cookies (Cloudflare Web Analytics). It never sees your files.
Why does the text look different from AutoCAD?
AutoCAD's fonts (txt.shx, simplex.shx, …) and Windows fonts are not ours to distribute, so this site falls back to the free Liberation fonts. Choose your own fonts folder, for example a copy of AutoCAD's Fonts folder, in the Files panel or the Open menu. It stays on your computer and, in Chromium-based browsers, is remembered for your next visit.
Can it open DWG files?
No, and it is not planned. Save the drawing as DXF in your CAD program (DXFOUT or Save As), or convert it
offline with the free ODA File Converter
or LibreDWG's dwg2dxf.
Something is drawn wrong.
Please report it, ideally with a DXF you are allowed to share.