Skip to main content

cad

How to Convert DWG and DXF Files to PDF Online

robinhood-projects11 min read

AutoCAD files are the lingua franca of technical drawing β€” but they have a significant distribution problem. If you send a .dwg file to anyone who does not have AutoCAD installed, they cannot open it. And AutoCAD costs around $2,600 per year.

That makes DWG and DXF files useful inside a CAD workflow and nearly useless outside of one. The fix is straightforward: convert to a format that anyone can open β€” PDF, PNG, or SVG.

This guide covers how to do that online, what happens to your drawing in the process, and which output format to choose for which purpose.


Why DWG and DXF Files Are Hard to Share

DWG is Autodesk's proprietary binary format. It has existed in various versions since the 1970s and is the native save format for AutoCAD, Civil 3D, and most other Autodesk desktop products. The format is not openly documented β€” Autodesk controls the spec. Free and open-source viewers exist, but they often lag behind the current version and may misrender newer features.

DXF (Drawing Exchange Format) was also created by Autodesk, but intentionally as an open interchange format. It is text-based, publicly documented, and widely supported by third-party CAD tools. If you receive a DXF, you can open it in LibreCAD, FreeCAD, Inkscape, and dozens of other applications without paying Autodesk a cent.

Both formats are designed for the precision geometry of technical drawing β€” line weights, layer visibility, dimension annotations, hatching. General-purpose viewers do not understand these concepts. A PDF viewer, by contrast, is installed on essentially every device on the planet.

The gap between "where the drawing is made" and "where it needs to be read" is exactly what conversion solves.


DWG vs DXF: Which Is Which, and When Does It Matter?

Before converting, it helps to know what you are working with.

DWG is the default save format for AutoCAD. When a drafter saves their work, they get a .dwg. It stores the full drawing database: geometry, layers, blocks, xrefs, paper space layouts, viewports, styles, and more. DWG files tend to be compact (binary-encoded) but are version-specific β€” a DWG saved in AutoCAD 2024 may not open correctly in a tool targeting the 2010 format.

DXF is the export format. When a drafter wants to hand off geometry to another tool β€” a structural engineer's software, a CNC machine, a laser cutter's control system β€” they export to DXF. It is ASCII text, which means you can open it in a text editor and read (or manipulate) the drawing data directly. It is also why DXF is universally supported: any tool that handles 2D geometry can implement the open spec.

For conversion purposes:

  • If you received the file from an AutoCAD user, it is almost certainly .dwg.
  • If the file came from a contractor, a manufacturer, or a CNC workflow, it is more likely .dxf.
  • DXF is easier to parse reliably because the format is documented. This means DXF-to-SVG conversions tend to be more faithful than DWG-to-SVG.
  • For DWG-to-PDF, the converter needs to interpret Autodesk's proprietary spec β€” quality depends on the underlying library. FileCrank uses a mature open-source CAD kernel to handle both.

Converting DWG to PDF

PDF is the right output when you need to share a drawing for review, approval, or printing. It preserves line weights, annotation text, and the layout of your paper space β€” which means the drawing looks as the drafter intended, not as a rasteriser happened to interpret it.

Use DWG to PDF β†’ to convert online. Your file is uploaded for processing and deleted automatically after about an hour.

What to expect from the conversion:

Layers. DWG files organise geometry into layers (similar to CAD layers in Illustrator or Photoshop). When converted to PDF, visible layers are rendered into the output. Frozen or turned-off layers in the drawing are excluded. If your output looks incomplete, check whether the relevant geometry is on a hidden layer in the source file.

Line weights. AutoCAD uses plotted line weights β€” thin for annotations, thick for object outlines β€” defined per layer or per object. A well-configured PDF conversion maps these to actual line widths in the PDF. The result is a drawing that looks correct when printed.

Model space vs paper space. This is the most common source of confusion. AutoCAD has two environments: model space (where you draw at real-world scale) and paper space (where you set up title blocks and print layouts). Most DWG-to-PDF converters default to exporting paper space layouts, which is usually what you want β€” it includes the title block, border, and correctly scaled viewports. If your output is blank or shows unexpected geometry, the drawing may have empty paper space layouts and all content may be in model space. In that case, look for a "model space" or "extents" export option.

Text and annotations. Standard AutoCAD fonts (SHX and TrueType) render into the PDF as shapes or embedded text depending on the converter. Dimension annotations and leaders are included. If your output has missing or garbled text, the source drawing may reference a custom SHX font that the converter does not have.


Converting DXF to PDF

The process is identical from a user perspective, but DXF has some advantages that make the output more predictable.

Use DXF to PDF β†’ to convert your DXF drawing to a shareable PDF.

Because DXF is an open, text-based format, converters have access to the full drawing description without needing to reverse-engineer a proprietary binary. This means:

  • Fewer version-compatibility surprises. A DXF from a 15-year-old CAD tool converts with the same reliability as one from last week.
  • Geometry is exactly as described. There is no ambiguity about how to interpret blocks, splines, or hatch patterns.
  • Third-party workflows (structural analysis software, MEP tools, GIS applications) often export to DXF specifically for handoff, so the geometry is clean and intentional.

The same model space vs paper space consideration applies. DXF files from CNC or laser-cutting workflows typically contain only geometry in model space with no paper space layouts β€” a converter set to export paper space will produce a blank page. Use the model space or extents export mode for these files.


Converting DWG to PNG

PNG is the right output when you need an image rather than a document β€” a thumbnail for a project management tool, a drawing to paste into a slide deck, a preview image for a web listing, or an illustration for a report.

Use DWG to PNG β†’ to export your DWG as a raster image.

Unlike PDF, PNG rasterises the drawing into pixels at a fixed resolution. The output is a flat image with no layers, no selectable text, and no vector geometry. What it gains in exchange is universal compatibility: PNG opens in every image viewer, embeds in every document format, and displays in every browser.

Good uses for DWG-to-PNG:

  • Project status thumbnails in Jira, Monday, or Notion
  • Attaching a drawing preview to an email without requiring the recipient to open a CAD tool
  • Embedding a floor plan or site layout into a Word or PowerPoint document
  • Generating preview images for a drawing library or product catalogue

Resolution. For screen use (embedding in documents, presentation slides), a moderate resolution is sufficient. For printing or large-format display, use a higher resolution setting if the tool offers one. At default settings, most converters produce output suitable for screen use.

Background colour. AutoCAD drawings often have a black background in model space and a white background in paper space. PNG output from a paper space layout will typically have a white background, which is correct for documents. If your PNG has an unexpected black background, the converter exported from model space. You may want to look for a "white background" or "paper space" option.


Converting DXF to SVG

SVG is a vector format, which means the output scales to any size without losing sharpness. A DXF-to-SVG conversion preserves the mathematical geometry of the drawing β€” lines, arcs, splines, polygons β€” as SVG path and shape elements.

Use DXF to SVG β†’ to convert your DXF drawing to scalable vector graphics.

Why SVG, and when:

Web display. SVG embeds directly in HTML. A floor plan, site map, or technical diagram rendered as SVG can be displayed at any viewport size without pixelation. You can also style it with CSS or make it interactive with JavaScript β€” clicking on a room name, highlighting a component on hover.

Laser cutting and CNC. Laser cutters and CNC routers typically accept SVG as an input format (alongside DXF itself). Converting DXF to SVG gives you a file you can load directly into tools like LightBurn, LaserGRBL, or Inkscape for path editing before sending to the machine.

Inkscape editing. SVG is Inkscape's native format. If you need to clean up a drawing, add annotations, or prepare it for print design, converting DXF to SVG and opening in Inkscape is a practical workflow.

DXF is preferred over DWG for SVG conversion precisely because the geometry is openly documented. Splines, arcs, and polylines in a DXF map cleanly to SVG path data. DWG entities require more interpretation, making the output less predictable.

What SVG does not preserve: Dimensions and annotation text often do not convert cleanly to SVG. SVG has no native concept of CAD dimensions (associative, auto-updating measurements). Text from dimensions may appear, but as static text β€” not as live dimension elements. For sharing annotated drawings, PDF is a better choice. SVG works best for pure geometry.


Which Output Format to Choose

NeedBest formatWhy
Share for review or approvalPDFPreserves layout, line weights, annotations; opens anywhere
Send to a printer or plotterPDFResolution-independent, correct page size
Embed in a slide or reportPNGUniversal image format, no viewer required
Build a thumbnail or preview imagePNGWorks in every image viewer and web browser
Display on a websiteSVGScales to any size, no pixelation
Send to a laser cutter or CNC routerSVGAccepted by most fabrication software
Edit in InkscapeSVGInkscape's native format
Hand off to another CAD toolDXFKeep the source format; no conversion needed

Common Problems and How to Fix Them

Empty or blank output. The most common cause: the drawing has paper space layouts but all geometry is in model space, or vice versa. Try switching between "paper space" and "model space" (or "extents") in the converter settings. If the tool has no such option, export a DXF from your CAD tool with the geometry placed in paper space first.

Missing geometry. Geometry on frozen, locked, or turned-off layers is not rendered. In AutoCAD, turn all layers on and thaw all frozen layers before exporting. If you do not have AutoCAD, a viewer like DWG TrueView (free from Autodesk) lets you check layer visibility before converting.

Scale looks wrong. AutoCAD drawings are created at real-world scale (1 mm = 1 mm) in model space. Paper space viewports define the print scale. If the PDF looks zoomed-in or zoomed-out, the paper space viewports may have non-standard scales, or the converter is exporting raw model space coordinates without applying the viewport scale. Use a tool that respects paper space layouts for accurate scale output.

Text is garbled or missing. AutoCAD SHX fonts are proprietary shape files. If the converter does not have access to the SHX font referenced by the drawing, it substitutes or omits the text. For reliable text rendering, ask the original drafter to convert SHX text to TrueType (a standard AutoCAD option) before handing off the file, or ask for a DXF export β€” DXF text entities are more portable than SHX-dependent DWG text.

Hatching looks wrong. Complex hatch patterns (ANSI steel, concrete, insulation patterns) require the converter to interpret AutoCAD hatch definitions. Simple solid fills and line hatches convert reliably. ANSI and ISO hatch patterns may render as approximate equivalents. For drawings where hatch accuracy matters (material call-outs in construction documents), verify the PDF output before distributing.


Summary

DWG and DXF are precision tools built for the CAD environment. They are not designed for casual sharing, and the $2,600/year AutoCAD license means most people you share with cannot open them.

Converting to PDF, PNG, or SVG solves that immediately:

  • PDF for anything that needs to be shared, reviewed, approved, or printed
  • PNG for anything that needs to be embedded in a document, slide, or web page as an image
  • SVG for anything that needs to scale (web display, fabrication workflows)

The tools are free and run online (files are uploaded for processing and deleted automatically after about an hour) β€” no software to install, no Autodesk account required.

DWG to PDF β†’ β€” DXF to PDF β†’ β€” DWG to PNG β†’ β€” DXF to SVG β†’