How to Open PLT and HPGL Files and Convert Them to PDF or SVG
PLT files from CAD, cutters and pen plotters are HP-GL. Learn how to view one, check its real size, mirror or optimise it and convert to PDF, SVG or DXF.

How to Open PLT and HPGL Files and Convert Them to PDF or SVG
A .plt file can come from many places: an AutoCAD plot-to-file, a sign shop's vinyl cutter, a garment pattern system or a pen plotter artist. Double-click it and usually nothing useful happens. Most of these files are written in HP-GL, a plotter language from Hewlett-Packard that has survived for half a century. The free HPGL PLT Plotter File Viewer and Converter reads them in a browser and converts them to formats everyone can open. This guide shows how.
A quick look at HP-GL
HP-GL is a list of short two-letter commands separated by semicolons. IN starts the plotter, SP2 picks pen 2, PU moves with the pen up, PD draws with the pen down, CI draws a circle and LB writes a label. Coordinates are in plotter units of 0.025 mm, so 4000 units make 10 cm. HP-GL/2, used by wide-format printers, adds pen widths and compact encodings. Because the commands are plain text, a viewer can redraw the file exactly as the plotter would.
Step 1: open the file
Drop the .plt or .hpgl file onto the page, or try the demo. The drawing appears with one colour per pen. The summary shows the size in millimetres and inches, the number of pen-down paths, the total drawn or cut length and the pen-up travel, the distance the head moves without drawing.
Step 2: check the real size
Choose a page or roll from the list, such as A1 landscape for a CAD plot or a 600 mm vinyl roll for a cutter. A white sheet appears behind the drawing so you can see at a glance whether it fits. To confirm the scale, tap two points with a known distance, a dimension line or a letter height, and read the measured distance. If it is off, a scale assumption went wrong somewhere; correct it with the scale field.
Step 3: set up pens
In the pen table, choose a colour and line width for each pen number and hide pens you do not need, such as a construction layer. Pen widths matter for PDF and SVG output, where they become line weights. The table also gives the length drawn by each pen, useful for estimating plotting time or how much vinyl a cut needs.
Step 4: prepare a cut
Vinyl cutting has its own habits:
- Mirror for heat transfer vinyl, which is cut from the back and flipped onto fabric.
- Rotate 90 degrees when a wide design fits better along the roll.
- Move to origin so the cutter starts at the corner and you waste less material.
- Optimise pen-up travel to reorder paths so the head jumps less between shapes. On a big lettering job this can cut the travel distance by more than half, and on an old pen plotter it saves real time.
Every change can be undone with Ctrl+Z.
Step 5: convert
- PDF is drawn as vectors at true scale, so it prints at the right size with the printer set to actual size, or fitted to A4 for a check print.
- SVG opens in Inkscape, Illustrator, browsers and most cutter and laser programs, with millimetre dimensions.
- DXF gives each pen its own layer for CAD and laser software.
- Cleaned PLT writes simple absolute HP-GL. Cheap cutters that stumble over HP-GL/2 extras or print driver headers often accept this version.
- PNG saves a picture for a quote or an email.
Typical problems and fixes
If the drawing looks empty, the file may be a PCL or PostScript print file rather than HP-GL; the viewer strips common print wrappers but cannot draw raster data. If labels look a little different from the plotter output, that is because the plotter's stroke font is replaced by a screen font. If curves look jagged, the original file probably contained short straight segments, which is how many programs export curves.
Privacy
Client logos and pattern files stay on your computer: the viewer reads and converts everything locally in the browser.



