.plt

How to Open PLT File: Free HPGL Viewer for Windows, Mac & Phone

To open a PLT file, drop it into the free viewer below: it draws HPGL and HP-GL/2 plotter files right in your browser, shows the real size in mm and inches, and saves the drawing as SVG or PNG. Most people who need to open PLT files have a plotter or vinyl-cutter job from AutoCAD or CorelDRAW; the tool also tells you if yours is a gnuplot script, Tecplot data or a GPS track, and which program to use instead.

Category: Vector plot / CAD output Language: HP-GL, HP-GL/2 (Hewlett-Packard) MIME type: application/vnd.hp-HPGL Units: 1,016 per inch (0.025 mm)

Open PLT File Online: Free HPGL Viewer with SVG & PNG Export

Choose or drop a .plt (or .hpgl, .hgl) file. The viewer reads the HP-GL commands (IN, SP, PU, PD, PA, PR, CI, AA/AR, AT, rectangles, polygons, labels, SC scaling and HP-GL/2 encoded polylines), skips any PCL printer wrapper, and draws every pen in its own color. It also recognizes the other kinds of .plt so you know which program you really need.

🔒 Nothing is uploaded — your file never leaves this device

What is a PLT file?

A PLT file is a plot file: a list of instructions that tells a pen plotter, large-format printer or cutting plotter where to move and draw. Almost all of them are written in HP-GL (Hewlett-Packard Graphics Language), a plain-text language of two-letter commands that Hewlett-Packard introduced with its HP 9872 plotter in 1977 and that became a de facto standard for plotters. Its successor, HP-GL/2, added line widths and a more compact binary-style encoding.

PLT files are usually output, not working drawings. You get one when someone uses Plot to file in AutoCAD, exports "PLT - HPGL Plotter File" from CorelDRAW, saves a design for a vinyl cutter or sign plotter, or exports pattern pieces for a garment plotter. That's why a PLT has no layers, fills or real colors: it only knows lines, pen numbers and positions measured in plotter units of 0.025 mm.

Not every .plt is a drawing. The same extension is used by gnuplot scripts, Tecplot simulation data and OziExplorer GPS tracks. The table below (and the viewer above) tells them apart.

How to open a PLT file (quick answer)

Short answer: you don't need AutoCAD. To open PLT files for viewing, printing or converting:

  1. Drop the file into the viewer above. It runs in any modern browser on Windows, Mac, Linux, iPhone, iPad or Android.
  2. Read the verdict. It says whether the file is HP-GL, HP-GL/2, a PCL-wrapped printer plot, PostScript, a gnuplot script, Tecplot data or a GPS track.
  3. Check the drawing and its size. Each pen gets its own color, and the Details tab gives the size in mm and inches plus the total cut/line length.
  4. Save it. Download SVG to scale, edit or convert it further, or PNG to share it. To edit it in CAD, see AutoCAD or CorelDRAW.
Your situationBest way to open it
Just want to see what's in itOpen PLT file online with the viewer on this page (free, no install)
Need to edit it in AutoCADPLT2DWG for classic HP-GL; otherwise via SVG or PDF (how)
Have CorelDRAWFile > Import > PLT - HPGL Plotter File (steps)
Need a PDF for a client or print shopSVG from this page, then Print > Save as PDF (convert)
Need to plot or cut itSend it to the plotter unchanged (how)
It's a gnuplot, Tecplot or GPS filegnuplot, Tecplot 360 or GPXSee (table)

Which kind of PLT file do you have?

Four quite different things share the .plt extension. Open the file in a text editor (or the Raw data tab of the viewer) and the first line usually gives it away:

What it isHow it startsMade byOpen it with
HP-GL plotter file (most common)IN;SP1;PU…PD…Older CAD, sign and cutter software, CorelDRAW, InkscapeThis viewer, CorelDRAW, AutoCAD PLT2DWG, ViewCompanion
HP-GL/2 printer plotEscape codes, often @PJL lines, then BP or INAutoCAD "Plot to file" with an HP/DesignJet driverThis viewer, ViewCompanion; send it to the matching plotter
PostScript or raster plot%!PS, or escape codes with no HP-GLPlot to file with a PostScript or raster driverA PostScript viewer, or the target printer
gnuplot scriptset … / plot …Scientists and engineers using gnuplotgnuplot, or any text editor
Tecplot data#!TDV (binary)CFD and simulation solversTecplot 360
OziExplorer trackOziExplorer Track Point FileOziExplorer GPS mappingGPXSee (free), OziExplorer — the viewer above draws the route shape

The gnuplot installer for Windows associates the .gp, .gpl and .plt extensions with wgnuplot, which is why double-clicking a plotter file sometimes opens gnuplot with a pile of errors. Tecplot calls its traditional binary format "PLT" and describes it as significantly more efficient than its plain-text ASCII format.

Inside an HPGL file: commands and units

An HP-GL file is readable text. Each command is two letters followed by numbers, ending in a semicolon. Coordinates are in plotter units: 40 per millimeter, 1,016 per inch (one unit = 0.025 mm), so PD4000,0 draws a line 100 mm long.

How five HP-GL commands draw a 100 mm square On the left, the commands IN, SP1, PU0,0, PD4000,0,4000,4000,0,4000,0,0 and SP0. On the right, the square they draw, with the pen starting at the origin and moving counterclockwise; each side is 4,000 plotter units, which is 100 millimeters. IN;reset SP1;pen 1 PU0,0;pen up, go PD4000,0, 4000,4000, 0,4000,0,0;draw SP0;park pen 0,0 4000 units = 100 mm 4000,4000 pen 1
Illustration: five HP-GL commands and the 100 mm square they draw. Y grows upward, as on a plotter.
CommandMeaning
INInitialize: reset the plotter to defaults
SP nSelect pen n (a color, tool or cutting knife); SP0 puts the pen away
PU / PDPen up (move without drawing) / pen down (draw)
PA / PRCoordinates are absolute / relative to the current position
CI rCircle of radius r around the current position
AA / ARArc around an absolute / relative center point
LBLabel: write text
LTLine type (dashed, dotted)
PWPen width (HP-GL/2)
PEPolyline Encoded: compact coordinates (HP-GL/2)
SC / IPScaling to user units / scaling reference points

Two consequences matter when you open PLT files. First, there are no colors, only pen numbers: CorelDRAW's documentation notes that the format "does not contain color information", so every viewer picks its own colors (this one uses the HP-GL/2 default palette unless the file defines pen colors). Second, there is no page size in classic HP-GL, which is why some programs place the drawing off the page or at the wrong scale.

Files plotted to disk from Windows printer drivers often wrap HP-GL/2 inside PCL printer commands: an escape sequence such as ESC%-12345X with @PJL job lines, then ESC%…B to switch into HP-GL/2. Many simple importers stop at the first escape character. The viewer above skips the PCL parts and draws only the vectors.

Open PLT files on Windows 11 and 10

Windows has no built-in PLT viewer, so double-clicking does nothing useful (or launches gnuplot if it's installed). The quickest way to open PLT files on Windows without installing anything is the browser; for editing you need a graphics or CAD program. Your options:

  • Open PLT file online (free): Edge or Chrome plus the viewer above. Good for checking a drawing, its size and its pens, and for exporting SVG/PNG.
  • CorelDRAW (or Corel PHOTO-PAINT): File > Import, set the file type to PLT - HPGL Plotter File (*.plt; *.hgl), then pick colors and widths for each pen in the HPGL options dialog. Corel supports HP-GL versions 1 and 2, "although some features of version 2 are not supported".
  • ViewCompanion (Software Companions, paid, 30-day evaluation): views and prints PLT files in HPGL, HPGL/2, KIPGL, HP-RTL and CalComp languages and converts them to PDF, TIFF, DWF, DXF, PNG and more. It's the usual pick for print shops and engineering offices that handle many plot files.
  • AutoCAD with Express Tools: the PLT2DWG command, with limits explained below.
Illustration: choosing the HPGL Plotter File type in a CorelDRAW-style Import dialog. After Import, a dialog lets you map each pen number to a color and width.

How to open a PLT file in AutoCAD (PLT2DWG and its limits)

AutoCAD can't open a PLT with File > Open, and a PLT can't be "un-plotted" back into the original DWG with its layers, blocks and dimensions. What you can do:

  1. Classic HP-GL files: type PLT2DWG (part of the AutoCAD Express Tools) and choose the file. It imports the plot as lines, which you can then edit or save as DWG or DXF.
  2. HP-GL/2 files (what modern AutoCAD and DesignJet drivers produce) are rejected with "The selected PLT file is not in the proper HPGL format." In a 2025 Autodesk forum case about AutoCAD 2024 plot files, the fix was to replot with a driver that writes true HPGL or to use a third-party converter.
  3. Any PLT: open it in the viewer above, download the SVG, convert it to PDF (how) and bring it in with AutoCAD's PDFIMPORT command, which turns vector PDF content into editable geometry.
Illustration: the message PLT2DWG shows for an HP-GL/2 plot file. The viewer on this page tells you in advance whether a file is classic HP-GL or HP-GL/2.

If you're the one who made the PLT, re-plot from the original DWG instead. Autodesk's help notes that you must use the plotter configuration for the actual output device "to produce a valid PLT file"; for sharing with people, plot to PDF with the DWG To PDF driver (see our DWG guide).

Open PLT files on Mac, iPhone, iPad, Android and Linux

Desktop PLT viewers are mostly Windows programs, so to open PLT files on other devices the browser is the simplest route:

  • Mac: open the file in Safari or Chrome with the viewer above, then save the SVG. Inkscape (free) can open that SVG and also has its own HPGL import for .hpgl files, but that importer is aimed at files Inkscape wrote and doesn't handle commands such as CI circles, so use the SVG route for files from other programs.
  • iPhone and iPad: in Safari, tap the drop area, choose the file from the Files app and view it. Downloaded PNGs can be saved to Photos.
  • Android: same in Chrome: tap the drop area and pick the file from Downloads or Drive.
  • Linux: the browser viewer, or the old GNU command-line converter hp2xx, which turns HP-GL into formats such as EPS and works as a previewer (its project page was last updated in 2000, and it predates most HP-GL/2 features).

If the .plt is an OziExplorer GPS track instead, GPXSee is free and open source for Windows, macOS, Linux and Android and lists OziExplorer PLT among its supported formats.

Convert PLT to PDF, SVG, DXF or PNG

The free route for any HP-GL plot file is PLT → SVG with the viewer on this page, then SVG to whatever you need. Lines stay vector, so nothing gets blurry:

TargetFree wayPaid / CAD way
SVGDownload SVG in the viewerCorelDRAW import, then export
PDFOpen the SVG in a browser > Print > Save as PDF / Microsoft Print to PDFViewCompanion (batch)
DXF / DWGOpen the SVG in Inkscape > Save As > AutoCAD DXF R12 or R14AutoCAD PLT2DWG (classic HP-GL), ViewCompanion
PNG / JPGDownload PNG in the viewer; to get a JPG, convert it with our PNG to JPG converterAny CAD viewer's export

The SVG keeps the drawing's real size (its width and height are written in millimeters), so programs that read SVG dimensions, such as Inkscape, open it at its real-world scale. When printing to PDF from a browser, choose the paper size and scaling in the print dialog.

PLT files for plotters and vinyl cutters

For a cutting plotter, each PD stroke is a cut, each pen number can be a different tool or pass, and the drawing size is the material you need. The viewer's Details tab gives exactly that: size in mm/inches, pen-down length (total length of lines or cuts) and pen-up travel. Tick "Show pen-up moves" to see the path the head takes between cuts.

Sending a PLT straight to a plotter

A PLT made for a particular plotter already contains its commands, so it goes to the device unchanged. Autodesk's help describes doing this with a batch file built on the Windows copy command. In Command Prompt:

Illustration: copying a plot file to a shared plotter. Use the printer's share path, or a port such as LPT1 for a directly connected device.

Microsoft's documentation explains that /b copies the data in binary mode, so control characters reach the device intact. Many vinyl cutters are driven through their own cutting software instead; check that it lists PLT or HPGL among its import formats.

Making a PLT for a cutter from Inkscape

Inkscape users on its forum describe the working method: convert text and objects to paths, set the stroke and remove the fill, then File > Save As > HP Graphics Language File (*.hpgl), and rename the result from .hpgl to .plt if your cutter software expects that extension. Open PLT files in the viewer above before you cut, to check the size and the path.

Is a PLT file safe? Can I delete it?

Yes, a PLT file is safe to open. HP-GL is a description of pen movements, not a program; viewing it only draws lines. The real risk is practical: a plot with the wrong scale or a stray pen-up move wastes a large sheet or a roll of vinyl, which is why it's worth previewing first.

You can delete PLT files once the job is plotted. They're copies of output, and the original drawing (DWG, CDR, SVG) is what you'd edit and plot again. Keep them only if they are the only version you have, for example plots received from a client or an archive of old drawings.

Can't open a PLT file? Common problems and fixes

When a program refuses to open PLT files, the cause is almost always one of these.

"Not in the proper HPGL format" in AutoCAD

The file is HP-GL/2, often inside a PCL wrapper, and PLT2DWG only accepts classic HP-GL. Use the SVG or PDF route in the AutoCAD section.

The drawing is blank, tiny or off the page

HP-GL has no page size, so importers guess. The file may also use SC scaling or draw only with pen 0. The viewer above fits whatever is drawn to the screen and reports its true size; if it says nothing is drawn, the file has no pen-down moves.

Double-clicking opens gnuplot or shows errors

gnuplot's Windows installer claims the .plt extension. Right-click the file > Open with > choose another app, or just use the browser viewer.

The file opens as garbage text

It may be a Tecplot binary file, a raster plot (PCL/HP RTL) or PostScript. The viewer identifies all of these and tells you the right program.

Colors or line widths look wrong

That's normal: PLT files store pen numbers, and the color or width is chosen by whoever plots it. In CorelDRAW you set them in the import dialog; in the downloaded SVG you can recolor each pen in any vector editor.

Text looks different from the original

LB labels are drawn by the plotter's own font, so every viewer approximates them. Many CAD programs avoid this by plotting text as lines, in which case it looks exactly right.

Sources and technical references

Frequently asked questions

What is a PLT file?

Usually it is a plotter file: a list of HP-GL or HP-GL/2 pen commands that tells a plotter or cutter where to move and draw. AutoCAD, CorelDRAW and cutting software create them. Less often, .plt is a gnuplot script, Tecplot simulation data or an OziExplorer GPS track.

How do I open a PLT file for free?

Drop it into the free viewer on this page. It draws HP-GL and HP-GL/2 files in your browser on Windows, Mac, Linux, iPhone or Android, shows the real size, and saves the drawing as SVG or PNG. Nothing is uploaded and nothing needs to be installed.

Can AutoCAD open a PLT file?

Not with the Open command. The PLT2DWG Express Tool imports classic HP-GL plot files as lines, but rejects HP-GL/2 files with the message that the file is not in the proper HPGL format. For those, convert to PDF or SVG first, then use PDFIMPORT or another converter.

How do I convert a PLT file to PDF?

Open the file in the viewer on this page, download the SVG, open that SVG in your browser and print it with Save as PDF or Microsoft Print to PDF. The lines stay vector. Paid viewers such as ViewCompanion also convert HP-GL/2 plot files to PDF in batches.

How do I convert a PLT file to DXF?

Export the drawing as SVG with the viewer on this page, open the SVG in Inkscape and use Save As with an AutoCAD DXF option. Classic HP-GL can also go straight into AutoCAD with PLT2DWG and then be saved as DXF. ViewCompanion converts plot files to DXF too.

Can CorelDRAW open PLT files?

Yes. Use File > Import and choose PLT - HPGL Plotter File. Corel supports HP-GL versions 1 and 2, though not every HP-GL/2 feature. Because a PLT stores pen numbers rather than colors, the import dialog lets you choose a color and width for each pen.

Can Inkscape open a PLT file?

Only partly. Inkscape saves HPGL and can import .hpgl files, but its importer is aimed at files Inkscape wrote and does not handle commands such as CI circles. Its old .plt import relied on UniConvertor, which is no longer maintained. Export SVG from this page's viewer and open that instead.

Why is my PLT file blank or the wrong size?

HP-GL has no page size, so programs guess one and the drawing can land off the page. Files may also scale user units with SC, or use only pen 0. The viewer on this page fits the drawing automatically and reports its real size in millimeters and inches.

How do I send a PLT file to a plotter?

A PLT made for a specific plotter can be copied to it unchanged. On Windows, run copy /b drawing.plt to the shared printer path or port in Command Prompt; /b sends the bytes as binary. Many vinyl cutters load PLT files through their own cutting software instead.

Is a PLT file safe to open?

Yes. An HP-GL file is plain text describing pen moves; it contains no program code and cannot run on your computer. Opening it in a viewer only draws lines. The usual risk is the opposite: a damaged or wrongly sized plot wasting a large sheet of paper or vinyl.

What is the difference between HPGL and HP-GL/2?

HP-GL arrived with HP's 9872 plotter in 1977. HP-GL/2 added line widths and a compact encoded polyline format (PE), and is often wrapped in PCL printer commands. Many older importers, including AutoCAD's PLT2DWG, accept only the original HP-GL.

Last updated .