Skip to main content

DXF to PDF converter

Put a DXF on a real sheet — A4 to A0, Letter or Tabloid — as vector paths, at 1:1 by default so a printed dimension still measures right.

Runs in this tabNo uploadNo watermarkFree and unlimited

A PDF is how a drawing gets emailed, quoted from and printed, and this converter builds one in the tab from the DXF you drop. The geometry goes in as real PDF path operators, not as a picture of the drawing, so you can zoom to 4000 per cent in a reader and the lines stay sharp and a plotter driver still sees strokes. The default scale is 1:1: the drawing is only ever shrunk when the sheet is too small for it, never enlarged to fill the page, because a drawing blown up to 220 per cent to look impressive is a drawing that measures wrong when someone puts a ruler on the print. Sheet size, orientation, margin, line width and colour are all yours to set, and the scale actually used is reported after the export.

Key facts about DXF to PDF converter

Key facts about DXF to PDF converter
Vector, not rasterpaths are written as PDF path operators through pdf-lib 1.17; there is no embedded bitmap at any zoom level
Default scale1:1 — the drawing is scaled down only when the sheet cannot hold it, and never scaled up
Sheet sizesA4, A3, A2, A1, A0, Letter and Tabloid in either orientation, or a page cut to fit the drawing exactly
Scale reportedthe success banner states the page size in millimetres and the percentage the drawing was placed at
Line widthset in millimetres from 0.05 to 1.5 and held constant on the page regardless of the drawing scale
Textwritten with the standard PDF Helvetica, which can only encode WinAnsi — characters outside it are written as "?" and counted in the result banner rather than silently dropped
Margins0 to 40 mm, applied on all four sides; the drawing is centred in what remains
Page limit5,080 mm (200 inches) per side — the PDF format's own maximum, enforced with a message rather than a broken file
Pages producedone; the whole drawing goes on a single sheet rather than being tiled
PDF version1.7, with the title set from the file name and no embedded metadata beyond that
Output sizesmall — an eight-entity drawing produces a PDF of about 1.1 KB because only path operators are stored

What happens to your file

The DXF is read by the File API and parsed in this tab, and the PDF is assembled here too — pdf-lib is a JavaScript library that ships with the page, not a service it calls. No part of the drawing is transmitted: the only network request involved is the page fetching its own JavaScript chunk from toolchamp.app when you first open the tool, which happens before you have chosen a file. The finished PDF exists as a byte array in tab memory and is handed to the browser as a blob for download. Nothing is written to storage, nothing is cached, and reloading the page discards the drawing and the PDF together.

About this tool

  1. 1

    Drop the DXF

    The file is parsed at once and the stats row reports the entity count, the layer count, the declared unit and the extents in millimetres.

  2. 2

    Hide what should not print

    Layer chips toggle visibility. Construction geometry and reference layers usually come off before a drawing goes on a sheet.

  3. 3

    Pick the sheet

    Choose A4 through A0, Letter or Tabloid and set the orientation — or leave it on "Fit the drawing" for a page cut exactly to the geometry plus the margin.

  4. 4

    Decide the scale

    1:1 keeps measurements honest and only shrinks when the drawing is too big for the sheet. Fill the page is for when the drawing is a picture rather than a measurement.

  5. 5

    Set margin, line width and colour

    0.25 mm is a hairline. Black only is the safest choice for a monochrome plotter; by layer keeps the CAD colours.

  6. 6

    Download and check the banner

    It states the page size and the exact percentage the drawing was placed at, plus a count of any characters the standard PDF font could not encode.

Specs & compatibility
InputASCII DXF up to 20 MB; binary DXF and DWG are refused with an explanation of what to export instead
OutputPDF 1.7, single page, vector paths plus optional Helvetica text
Colourper-layer and per-entity colours carried through as PDF stroking colours, or forced to black
Fonts embeddednone — Helvetica is one of the 14 standard fonts every PDF reader already has
Layers in the PDFflattened; PDF optional-content groups are not written, so hide unwanted layers before exporting
Printingprint at 100 % / "Actual size", not "Fit to page", or the 1:1 scale is lost at the printer
Opens inAcrobat, Preview, Edge, Chrome, Firefox and any other PDF reader
Browser supportcurrent Chrome, Edge, Firefox, Safari and Opera
Offlineworks with no network once the page has loaded
  • Print with the scaling set to Actual size or 100 %. Every PDF reader defaults to shrinking slightly to fit the printer's unprintable margin, and that quietly destroys a 1:1 drawing.
  • If the banner says the drawing was placed below 100 %, the sheet is too small. Step up one paper size rather than accepting a scale nobody can read off the print.
  • A drawing with no $INSUNITS is placed one drawing unit to one millimetre. That is a stated convention, not a measurement — set the unit in CAD if the print has to be to scale.
  • For a title block in a language with accented or non-Latin characters, expect the dropped-character count in the banner: the standard PDF fonts only cover WinAnsi. Explode that text to geometry in CAD if it must appear exactly.
  • Choose Fit the drawing when the PDF is going to a cutter rather than a printer — a page cut to the geometry has no margin to confuse the import.
  • Thin lines print thinner than they look on screen. If a plot comes out faint, take the line width up to 0.35 mm before you blame the plotter.
  • True vector output — path operators, not a rasterised image
  • 1:1 by default, with the scale actually used reported after the export
  • A4 to A0, Letter, Tabloid, or a page cut to the drawing
  • Millimetre line width held constant regardless of drawing scale
  • Per-layer visibility applied before the page is built
  • A count of any characters the standard PDF font could not encode
  • Sending a part drawing to a workshop that wants a PDF, not a CAD file.
  • Printing a 1:1 template to tape onto stock and drill or cut by hand.
  • Attaching a drawing to a quote or a purchase order where the recipient has no CAD.
  • Archiving a revision as a file that will still open in twenty years.
  • Producing an A3 plot from a drawing that was modelled in inches.
  • Turning a supplier's DXF into something you can mark up in a PDF annotator.
Yes, if two things hold. The DXF has to declare its units in $INSUNITS, so the converter knows a coordinate of 120 means 120 mm rather than 120 of something; the page tells you when that value is missing. And you have to print with scaling set to Actual size or 100 % rather than Fit to page, because every reader shrinks the page slightly by default to clear the printer's unprintable margin. Get both right and a 120 mm dimension measures 120 mm on the paper.
Because that is the default and it is deliberate. A drawing enlarged to 220 per cent to fill an A4 looks better and measures wrong, and nothing on the print says it has been scaled. The page only ever scales down, and only when the geometry genuinely does not fit the sheet, and it tells you the percentage afterwards. If you want the drawing to fill the page — for an illustration rather than a measurement — switch the scale control to Fill the page.
Real vector. Each contour is written as a PDF path — move, line and curve operators — and stroked, with colour and line width set as PDF graphics state. Zoom to 4000 per cent in a reader and the lines are still sharp, text is still selectable, and a plotter driver sees strokes rather than pixels. That is also why the files are tiny: an eight-entity drawing produces about 1.1 KB.
TEXT and MTEXT are written as PDF text using Helvetica, one of the 14 standard fonts every reader already has, so nothing needs to be embedded. The catch is encoding: those fonts cover WinAnsi only. A character outside it — Greek, Cyrillic, CJK, some typographic dashes — cannot be written, so it appears as a question mark and the success banner tells you how many characters that happened to. If the text has to be exact, explode it to geometry in your CAD first.
No. The output is flattened: PDF optional-content groups, which is what a reader shows as layers, are not written. The practical substitute is the layer toggles on this page — hide everything you do not want, export, and you have a PDF of exactly the layers you left on. If you need several layer combinations, export the drawing more than once with different layers showing.
No. The DXF is read from your disk by the File API, parsed by JavaScript on the page, and turned into a PDF by pdf-lib, which is a library bundled into the page rather than a service it calls. The only network request is the page's own JavaScript chunk, which loads before you pick a file. Disconnect after the page loads and the conversion still completes.
View all

Updated

We use anonymous analytics to improve ToolChamp. No personal data is stored or sold. Privacy Policy