Comparison · CAD Viewer vs CAD Parser

A viewer shows you the drawing. A parser gives your software the data.

These two tools solve different problems. A CAD viewer is built for humans — it renders a drawing so an engineer can pan, zoom, and inspect it. A CAD parser is built for software — it reads the file and returns structured data your code can process. Understanding the distinction helps you pick the right approach for your product.

Join the beta · Free 50/mo →Read the docs
01DEFINITIONS

Two tools, two jobs.

A CAD viewer is a rendering engine. It reads a DWG or DXF file, interprets the geometry, and draws it on screen. The output is pixels — a visual representation for a person to look at. Examples range from desktop applications like AutoCAD and DraftSight to browser-based viewers like Autodesk Viewer.

A CAD parser is a data extraction engine. It reads the same file and produces structured output — JSON objects describing each entity, its coordinates, its layer membership, and its properties. The output is machine-readable data for software to process. CADLens is a hosted REST API that does exactly this, and optionally adds a rendered PNG so you also have a visual.

02OUTPUTS COMPARED

What each one returns.

CapabilityCAD ViewerCAD Parser (CADLens)
Primary outputRendered pixels on screenStructured JSON + optional PNG
Machine-readableNoYes — vectorJson, layersJson, metadata
MeasurementsManual, via UI interactionNative drawing units in every entity
Layer dataVisible in UI onlylayersJson: name, colorHex, entityCount
AutomationNot applicableFull — call the API from any language
Preview imageYes (interactive)Yes — imageUrl (signed PNG URL)
Built forHuman inspectionProgrammatic processing
03THE SCREENSHOT PROBLEM

Why a viewer screenshot is not enough.

A common pattern in early-stage products is: open the DWG in a viewer, take a screenshot, display the PNG. This works for basic display, but it breaks the moment you need more:

  • No units. A PNG pixel has no real-world dimension. You cannot recover the length of a wall or the diameter of a circle from a raster image without manual re-digitisation.
  • No layer information. Layer names, colors, and per-layer entity counts are gone as soon as the drawing is flattened into an image.
  • No entity data. You cannot count the number of doors, filter structural members, or identify text annotations from pixels.
  • No automation path. Every analysis step would require human eyes and manual input, which does not scale.

If your product needs to measure, classify, filter, or transform CAD content, you need a parser — not a screenshot.

04WHEN TO USE WHICH

Picking the right tool.

Use a CAD viewer when:

  • Engineers or end-users need to interact with drawings — pan, zoom, annotate, mark-up.
  • You are building a design review or collaboration tool.
  • Your users need to query drawings manually using a UI.

Use a CAD parser like CADLens when:

  • Your software needs to read and process drawing data without human intervention.
  • You need to extract measurements, entity counts, or layer content programmatically.
  • You are building quotation, estimation, BOM extraction, or floor-plan processing features.
  • You want to display a non-interactive thumbnail of the drawing alongside structured data.

Use both when your product offers engineers an interactive view (via a viewer) and also runs automated processing in the background (via CADLens).

05CADLENS GIVES YOU BOTH

One API call. Data and a preview.

CADLens is a parser, but it also renders a PNG preview from the same parse run. A single call to POST /v1/parse returns a job_id. When the job completes, the result includes:

  • vectorJson — every entity with coordinates, layer, color, and bounding box.
  • layersJson — layer names, colorHex, and entityCount per layer.
  • metadata — drawing units and bounding box ({ width, height }).
  • imageUrl — a signed URL to a rendered PNG preview, available immediately alongside the JSON.

You display the PNG in your UI and process the JSON in your backend — from one API call, with no additional rendering infrastructure required.

06 — FAQ

Common questions.

No. A screenshot is a raster image — pixels with no intrinsic units. There is no way to recover the original drawing coordinates, entity dimensions, or layer structure from a PNG or JPEG without re-digitising the drawing manually.

No. CADLens is a programmatic API for your software to call, not a tool for humans to browse drawings. If engineers need to view and annotate drawings interactively, you still want a viewer. CADLens handles the data extraction side.

For every parse: vectorJson (every entity — polylines, arcs, circles, splines, text, hatches, block inserts — with coordinates, layer, color, and bounding box), layersJson (layer names, color hex, entity count per layer), metadata (units, drawing extents), and imageUrl (a rendered PNG via signed URL). Schema version 2024-01.

That depends on your users. If your product only needs to process or display drawings programmatically (quote from a DWG, count entities, filter layers), the CADLens PNG preview may be sufficient for display. If your users need to pan, zoom, and annotate, pair CADLens data with a viewer component.

DWG, DXF, and DWF are stable and production-ready. PDF (vector), DWFx, and DGN V7 are available in beta.

There is a free tier with 50 parses per month. Paid plans start at $19/month (Starter, 1,000 parses) and go up to $249/month (Scale, 100,000 parses). Enterprise is custom. Only successful parses are billed.

JOIN THE BETA

Get an API key. Parse your first drawing today.

Free tier includes 50 parse requests per month. No credit card required.

Join the beta · Free 50/mo Read the docs
— RELATED

Keep reading.