You have 200 DWG files. Your fabricator wants DXF. Your documentation portal wants PDF. Your web team wants SVG. And nobody has an AutoCAD seat on the machine doing the conversion.

This is the actual situation most engineering teams end up in. This guide covers every viable path to batch DWG conversion for all three output formats — what each tool actually supports, where each one breaks down, and how to script it so the conversion runs unattended.

Three Ways to Batch Convert DWG Files

  1. DWG TrueView Batch Plot — free, built into TrueView, GUI-only, Windows only. Converts DWG → PDF using the default page setup. Use this when PDF output is all you need and you don’t require scripting or custom plot styles.
  2. ODA File Converter — free, open source, command-line scriptable, cross-platform. Converts DWG → DXF (any version: R12 through 2018), DWG version downgrades, and batch folder recursion. Use this for DXF output, automation, or any workflow where AutoCAD is not available.
  3. ODA File Converter + PowerShell or Task Scheduler — same tool wrapped in a batch script. Schedules conversion to run on a timer or on new file arrival (watch-folder pattern). Use this for nightly batch runs or multi-step pipelines that also need PDF (ODA for DXF in one pass, TrueView for PDF in a second pass from the same input folder).

For SVG, there is no direct Autodesk tool — the reliable path is ODA File Converter → DXF, then Inkscape CLI to convert DXF → SVG.

What DWG TrueView Can and Can’t Do

DWG TrueView is the first tool most engineers try, and for PDF it works. For anything else, it stops short.

Supported in TrueView batch convert:

  • DWG → PDF (via the built-in Batch Convert dialog: File → Batch Convert)
  • DWG version downgrade (e.g., 2023 format → 2018 format)

Not supported:

  • DWG → DXF batch export
  • DWG → SVG
  • Any scriptable or command-line access

The batch PDF export in TrueView processes one paper space layout per file, applies the default page setup, and writes PDFs to a target folder. It is adequate for documentation delivery but offers no control over plot style, layer visibility, or output naming.

If PDF is all you need and the default settings work for your drawings, TrueView is the right answer — it’s free and requires no scripting. For a deeper walkthrough of batch DWG to PDF conversion with advanced options, see the batch DWG to PDF bulk conversion guide. For anything more flexible, you need a different tool.

ODA File Converter — The Free Multi-Format Option

The Open Design Alliance File Converter (formerly “Teigha File Converter”) is the practical answer for teams that need scriptable batch conversion without an AutoCAD license. It’s free, runs on Windows, and supports command-line execution.

Download ODA File Converter

Download the Windows installer directly from the Open Design Alliance:

URL: opendesign.com/guestfiles/oda_file_converter

The installer is named ODAFileConverter_QA_win_x64_<version>.exe (e.g., ODAFileConverter_QA_win_x64_25.6.0.exe for the 2025 build). Run it with default settings — the install path will be C:\Program Files\ODA\ODAFileConverter\ODAFileConverter.exe. No license or account required.

One-Command PowerShell Batch Conversion

Once installed, run this single line in PowerShell to convert all DWG files in a folder to DXF and verify the output:

& "C:\Program Files\ODA\ODAFileConverter\ODAFileConverter.exe" "C:\input\drawings" "C:\output\dxf" ACAD2018 DXF 0 1; Write-Host "Converted: $((Get-ChildItem 'C:\output\dxf' -Filter '*.dxf').Count) files"

Replace C:\input\drawings with your source folder and C:\output\dxf with your destination. The command prints a file count on completion so you know the run succeeded without opening the output folder.

For a DWG → PDF conversion, swap the format parameter:

& "C:\Program Files\ODA\ODAFileConverter\ODAFileConverter.exe" "C:\input\drawings" "C:\output\pdf" ACAD2018 PDF 0 1

Command-Line Syntax

ODAFileConverter <InputFolder> <OutputFolder> <OutputVersion> <OutputFormat> <Recurse> <Audit>
ParameterValuesNotes
OutputVersionACAD9, ACAD10, ACAD12, ACAD13, ACAD14, ACAD2000, ACAD2004, ACAD2007, ACAD2010, ACAD2013, ACAD2018Target DWG/DXF format version
OutputFormatDWG, DXF, DGNOutput file type
Recurse0 or 1Whether to process subdirectories
Audit0 or 1Whether to audit/repair files before conversion

Batch DWG → DXF

ODAFileConverter "C:\input\drawings" "C:\output\dxf" ACAD2018 DXF 0 1

This converts every DWG in the input folder to DXF 2018 format. Use ACAD2000 or ACAD2004 if your downstream software has compatibility issues with newer DXF versions — some older CAM systems struggle with DXF 2013+.

For fabrication equipment that requires DXF R12 specifically, use ACAD12. But be aware that DXF R12 silently drops certain entity types — multi-viewport layouts, true splines (converted to polylines), and some block attributes won’t survive the format downgrade. Always validate a sample against your machine before running a full batch.

Batch DWG → PDF

ODA File Converter does not support direct PDF output. For PDF, your options are DWG TrueView (free, limited settings) or AutoCAD/Core Console (licensed).

If you need both DXF and PDF from the same source DWGs, run ODA File Converter for DXF in one pass and TrueView batch for PDF in a second pass from the same input folder.

Scheduling with Task Scheduler

To run conversion automatically on new files:

@echo off
set INPUT=C:\CAD\incoming
set OUTPUT_DXF=C:\CAD\converted\dxf
set OUTPUT_DWG=C:\CAD\converted\dwg-2018

"C:\Program Files\ODA\ODAFileConverter\ODAFileConverter.exe" "%INPUT%" "%OUTPUT_DXF%" ACAD2018 DXF 0 1
"C:\Program Files\ODA\ODAFileConverter\ODAFileConverter.exe" "%INPUT%" "%OUTPUT_DWG%" ACAD2018 DWG 0 1

Save as convert_batch.bat and schedule it in Windows Task Scheduler to run on a timer or trigger. This gives you a watch-folder pattern without needing AutoCAD running.

AutoCAD Core Console — Licensed But Scriptable

If you have an AutoCAD license, the Core Console (accoreconsole.exe) runs AutoCAD headlessly — no UI, no graphics, just command execution. It supports the full AutoCAD command set including DXFOUT, PLOT, and custom LISP/scripts.

DWG → DXF via Script

Create a script file export_dxf.scr:

DXFOUT
output.dxf
16
QUIT
Y

Run it:

accoreconsole.exe /i "C:\drawings\part.dwg" /s "export_dxf.scr"

For batch processing, wrap this in a PowerShell loop:

$drawings = Get-ChildItem "C:\input" -Filter "*.dwg"
foreach ($dwg in $drawings) {
    $out = "C:\output\$($dwg.BaseName).dxf"
    & "C:\Program Files\Autodesk\AutoCAD 2024\accoreconsole.exe" /i $dwg.FullName /s "export_dxf.scr"
}

DWG → PDF via Core Console

PDF export from Core Console uses the PLOT command with a configured page setup. This is more reliable than TrueView for controlling plot styles and paper size, but requires setup work upfront to create the right page setup configurations.

AutoCAD Core Console is the right choice when you need PDF output with specific plot styles (CTB/STB files), paper sizes, or layer visibility configurations that TrueView doesn’t expose.

Batch DWG to SVG

SVG output from DWG files has no first-class Autodesk tool. Your options:

ODA File Converter (newer versions)

ODA File Converter 23.x and later support SVG as an output format on some platforms. The command is the same as DXF but with SVG as the format parameter. Support and quality vary — test with representative DWG files before committing to this for production use.

Via DXF as Intermediary

The most reliable path to SVG from DWG:

  1. Convert DWG → DXF (ODA File Converter)
  2. Convert DXF → SVG (Inkscape CLI or LibreCAD)

Inkscape batch conversion from DXF:

for %f in (C:\dxf\*.dxf) do (
    inkscape --export-type=svg --export-plain-svg "%f" -o "C:\svg\%~nf.svg"
)

Inkscape handles most 2D DXF entities well. Known limitations:

  • Block references with nested blocks may not explode correctly
  • Hatch patterns render as flat fills
  • Text with SHX fonts requires font substitution

QCAD (free or Pro) has a command-line export option and handles DXF-to-SVG conversion more accurately than Inkscape for CAD entities, but it’s slower for bulk processing.

Direct SVG: What You Lose

DWG geometry that doesn’t survive the path to SVG:

  • 3D geometry — any 3D model data in the DWG is lost; only 2D paper space content converts
  • Xrefs — externally referenced files must be bound into the DWG first (use XBIND or XREF → Bind in AutoCAD)
  • Plot styles — CTB/STB color mapping doesn’t exist in SVG; all colors come through as-is
  • Line weights — may not transfer correctly depending on the conversion path

For web display of technical drawings, consider whether DXF → SVG via Inkscape is acceptable, or whether a dedicated DWG viewer SDK (like Autodesk’s Viewer or DWG TrueView embed) better serves the use case.

Choosing the Right Tool by Output Format

ScenarioBest ToolNotes
DWG → PDF, occasional useDWG TrueViewFree, fast, limited settings
DWG → PDF, controlled plot stylesAutoCAD Core ConsoleRequires license
DWG → DXF, any volumeODA File ConverterFree, scriptable, supports multiple DXF versions
DWG → DXF (specific version R12)ODA File Converter with ACAD12Validate output — R12 drops entities
DWG → SVGDXF intermediary via InkscapeTest with representative files first
Multi-format from same sourceODA (DXF) + TrueView (PDF) in sequenceTwo passes, scriptable
Automation + naming conventionsCustom batch script wrapping ODAAdd timestamp, project code to output names

When Your DWGs Have Xrefs

Batch conversion breaks silently when DWG files reference external drawings (Xrefs). The output DXF or PDF renders correctly only if the Xref files are accessible at the same relative path the DWG expects.

Before running batch conversion on DWG files you received from a client or another team:

  1. Check for Xrefs: open one file in DWG TrueView and look at the External References palette, or run grep -l "XREF" *.dxf after a DXF conversion to spot references
  2. Bind Xrefs before conversion: in AutoCAD, use XREF → Bind → Insert to embed all references into the base DWG
  3. Or, ensure all Xref files are in the same folder as the parent DWGs before running ODA File Converter

ODA File Converter does not automatically resolve Xrefs from different directories — it converts what it can load.

Layer Filtering and DXF Output Quality

ODA File Converter converts everything in the DWG without layer filtering. If your downstream process only needs specific layers (e.g., only the cut profile, not the annotation layers), you have two options:

Option 1: Pre-filter in AutoCAD/Core Console by freezing layers and saving before passing to ODA File Converter.

Option 2: Post-process the DXF programmatically. DXF files are text-based — you can filter layer sections with a script:

import re

def filter_dxf_layers(input_path, output_path, keep_layers):
    """Remove entities on unwanted layers from a DXF file."""
    with open(input_path, 'r') as f:
        content = f.read()
    
    # This is a simplified approach — use ezdxf library for robust DXF manipulation
    import ezdxf
    doc = ezdxf.readfile(input_path)
    msp = doc.modelspace()
    
    entities_to_delete = [
        e for e in msp 
        if hasattr(e, 'dxf') and e.dxf.layer not in keep_layers
    ]
    for e in entities_to_delete:
        msp.delete_entity(e)
    
    doc.saveas(output_path)

The ezdxf library is the right tool for programmatic DXF manipulation — it handles all DXF versions correctly and is well-maintained.

The Missing Format: Multi-Sheet DWG to Individual PDFs

One gap that TrueView and ODA don’t address well: DWG files with multiple paper space layouts where you want one PDF per layout (not a single merged PDF).

AutoCAD Core Console handles this via scripted PUBLISH commands, but it’s complex to set up. For teams regularly splitting multi-sheet DWGs into per-sheet PDFs, the practical approach is:

  1. Use ODA File Converter to convert to DXF (one file per paper space tab is not natively supported — each DWG becomes one DXF)
  2. Or use a commercial tool like PlotSoft PDFin/out or Able2Extract that specifically handles multi-layout DWG batch splitting

CadShift addresses this for SolidWorks workflows — when batch exporting DXF from SolidWorks assemblies, it handles per-body and per-configuration export as separate files. For teams receiving DWG from non-SolidWorks sources that need the same multi-output pattern, the ODA + scripting path is the right direction.

Test Your Batch Conversion — Verification Checklist

After running ODA File Converter, verify before passing files downstream:

File count check:

$input = (Get-ChildItem "C:\input\drawings" -Filter "*.dwg").Count
$output = (Get-ChildItem "C:\output\dxf" -Filter "*.dxf").Count
Write-Host "Input: $input DWGs | Output: $output DXFs | Missing: $($input - $output)"

If the counts don’t match, ODA silently skipped files — usually because of Xrefs pointing to missing files or files it couldn’t load.

Spot-check geometry: Open one converted DXF in DWG TrueView or QCAD. Confirm:

  • All visible layers are present (Layers panel shows same names as source DWG)
  • Geometry fits expected extents — zoom to extents and compare visual against source
  • Text and annotations are readable (SHX fonts may substitute; verify with your downstream CAM tool)
  • No “file could not be opened” entries in the ODA log file (ODAFileConverter.log in the output folder)

DXF version validation: If your downstream tool requires a specific DXF version (e.g., R12 for older laser equipment), verify the output with ezdxf:

import ezdxf
doc = ezdxf.readfile("C:/output/dxf/sample.dxf")
print(doc.dxfversion)  # Should be 'AC1009' for R12, 'AC1032' for R2018

Xref check before running at scale: If any source DWG has Xrefs, the converted DXF will be missing referenced geometry unless the Xrefs were bound first. Detect Xrefs in a DXF output:

import ezdxf
doc = ezdxf.readfile("C:/output/dxf/sample.dxf")
for block in doc.blocks:
    for entity in block:
        if entity.dxftype() == 'INSERT':
            print(f"Block reference: {entity.dxf.name}")

If this prints block names you don’t recognize, those are unresolved Xrefs that need to be bound in the source DWG before batch conversion.

Summary

  • DWG TrueView: Free PDF-only batch converter. Good for simple delivery workflows where you control the drawings and default settings work.
  • ODA File Converter: Free, command-line, multi-format (DWG/DXF). The right tool for most teams without AutoCAD licenses. Handles DXF version targeting, recursive folder processing, and integrates with Task Scheduler.
  • AutoCAD Core Console: Full AutoCAD power headlessly. Use when you need plot style control, complex LISP automation, or PDF with non-default page setups. Requires an AutoCAD license.
  • DXF → SVG via Inkscape: Viable for 2D profiles where you control the DXF. Not suitable for complex DWG with Xrefs, 3D data, or hatch fills.

For DXF conversion specifically, understand which DXF version your downstream tool needs before committing to a batch format — R12 and R2000 are not equivalent, and picking the wrong one causes silent data loss. For teams also working with AutoCAD DXF output for laser or waterjet fabrication, the AutoCAD DXF export workflow for laser cutting covers the settings that actually matter downstream.

For batch DWG-to-PDF specifically, our detailed DWG to PDF bulk conversion guide covers plot style setup, layer control, and quality validation in more depth.