Convert PNG to DXF

Turn a PNG into closed DXF outlines for laser cutters, CNC machines, plotters and CAD.

⌘V paste · ⌘O open · batch
No image? Try one of these:

Image to vector: see the difference

Left: a compressed JPEG. Right: the clean SVG from Shapesoda. Drag to compare.

Logo: compressed JPEG
Logo: vector SVG by Shapesoda
JPEG, 170 pxVector
Logo
Mascot: compressed JPEG
Mascot: vector SVG by Shapesoda
JPEG, 400 pxVector
Mascot
Lettering: compressed JPEG
Lettering: vector SVG by Shapesoda
JPEG, 480 pxVector
Lettering

Laser cutters, CNC routers, plasma tables and vinyl plotters follow outlines, not pixels, so a PNG has to become a DXF before it can be cut. Shapesoda traces the PNG into closed shapes and writes them into a DXF file, with every color on its own layer, so each color can go to its own tool, power setting or pass.

How to convert PNG to DXF

  1. Drop, paste or choose your PNG file above. Tracing starts right away — no sign-up needed to see the result.
  2. Check the result in the split view. Adjust colors and detail in the panel on the right, or fix spots with the pencil, fill and remove-shape tools.
  3. Choose DXF in the export menu and download. Choose how finely curves are approximated: many short lines for smooth arcs, or fewer lines for a smaller file.

Preparing an image for cutting

  • Use as few colors as the job needs — for a single-material cut, two colors (shape and background) is ideal.
  • Raise the minimum shape size so tiny specks don't turn into cuts your machine can't make.
  • Remove the background shape or anything you don't want cut with the remove-shape tool.
  • Cut-out shapes don't overlap, so every outline is cut exactly once.

Works with your software

  • LightBurn and xTool Creative Space: import the DXF and give each color layer its own cut, score or engrave setting.
  • AutoCAD, Fusion, LibreCAD and QCAD: closed polylines you can scale, offset and dimension like any drawing.
  • CNC and CAM software that imports DXF: closed vectors ready for profile and pocket toolpaths.
  • Vinyl plotters and sign-making software that import DXF.

Common problems with PNG to DXF, and how to avoid them

  • Open contours. An outline that doesn't close can't be pocketed or filled. Every shape Shapesoda writes is closed.
  • Jagged edges and thousands of nodes. Tracing pixel by pixel gives staircase edges that make a machine stutter. Shapesoda fits smooth curves first and only then turns them into line segments, as few as the precision you choose allows.
  • Specks and noise. Anti-aliasing and compression leave tiny shapes along edges. Raise “Min shape size” or lower the number of colors to drop them.
  • Wrong size. A PNG has no physical size, so the DXF comes in image pixels. Scale it to the real width in your software; the vector loses no quality.

About curves and units

In the editor, DXF curves are written as polylines: many short lines for smooth arcs, or fewer lines for a smaller file. Coordinates are in image pixels. The Shapesoda API can also write true arcs or splines and set the output size in millimeters, centimeters or inches.

Everything a clean vector needs

Clean curves

Smooth Bézier curves with only the nodes the shape needs. Easy to edit and cut.

Gradients stay gradients

Color fades become real SVG gradients you can edit.

Every format

SVG, PDF, EPS, AI, DXF and PNG from one result.

Vectorize from your AI chat

Connect Shapesoda to Claude, ChatGPT, Cursor or any MCP client.

Edit right in the browser

Recolor, draw, pick colors or remove shapes. No Illustrator needed.

One API call

Send a JPG or PNG, get an SVG back. Add vectorization to your app.

Frequently asked questions

Which software opens the DXF?

AutoCAD, Fusion, LibreCAD, LightBurn, Inkscape and most laser, CNC and plotter software that imports DXF.

Are the outlines closed?

Yes. Every shape is a closed outline, which is what cutting and filling in CAM software expect.

Is the PNG to DXF converter free?

Tracing and editing are free, and you see the result before signing up. New accounts get their first download free; after that you pay per download or take the Personal plan for unlimited downloads.

DXF or SVG for my laser?

LightBurn reads both; xTool Creative Space reads SVG and DXF; Glowforge prefers SVG or PDF. CAD and CNC software usually expects DXF. You can download the same result in every format, and re-downloading it is free for 30 days.

What is a credit?

Without a plan, one credit is one downloaded image, in any format. The Personal plan needs no credits on the website; the API plan adds credits every month. Re-downloading the same image — even in another format — is free for 30 days.

Do credits expire?

Not while your API plan is active: unused credits roll over, up to 5 months’ worth. When the plan ends, its credits expire. The free credit for new accounts does not expire.

Do you store my images?

Only when you need it. The editor keeps your image in memory only while you work, and an API request for a single format keeps nothing. When you ask the API for several formats, request storage, or use the MCP server, the image and the results are kept for 24 hours, encrypted with a key that only you receive (anyone with the result link can download it), then deleted automatically. We never use your images to train models. The list of recent images on the start screen lives only in your browser.

Who owns the vector files?

You do. You keep all rights to the images you upload and to the vectors made from them — we claim none. Please upload only images you have the right to use.

Your first download is free

Create an account in seconds. The first vector file is on us.

⌘V paste · ⌘O open · batch
No image? Try one of these: