HP-GL is the language CAD programs speak to pen plotters, wide-format printers and vinyl, laser and plasma cutters: a .plt file is a drawing turned into pen movements. CAD programs "print to file" as .plt, cutters and sign shops pass them around, and old archives are full of them - but nothing on a modern computer opens them, and they cannot be checked without sending them to the machine.
This page reads the plot in your browser - the original HP-GL and HP-GL/2, including the compact encoded lines AutoCAD writes and the printer-job wrapper around them - and draws it at its real size, each pen in its own colour. Switch pens off to see one at a time, and save the drawing as SVG to edit, PDF to print, PNG, or DXF for CAD and cutter software. Nothing is uploaded.
- Why will my PLT file not open?
- ".plt" is used by other programs too: some cutters write their own formats, Gerber plotters use a different language, and some printer drivers write PCL raster data, a picture of the page rather than pen moves. This page names PCL raster when it finds it; anything else that is not HP-GL is reported as not an HP-GL plot. It reads HP-GL and HP-GL/2 vector plots, which most CAD programs and cutters write.
- How do I convert PLT to DXF or PDF?
- Open it here and press DXF or PDF. The DXF holds every line as a polyline in millimetres, one layer per pen, for AutoCAD, LibreCAD, LightBurn or cutter software; the PDF is the drawing at its real size, sharp at any zoom.
- How do I convert SVG or DXF to PLT?
- Drop the SVG or DXF here: it is made into an HP-GL plot file and drawn, so you can check it, then press PLT to save it. Every line and curve becomes pen moves at the drawing's real size (from the SVG's width and viewBox, or the DXF's units; a DXF that does not say is taken as millimetres), in plotter units of 1/40 mm, with the lowest, leftmost corner at the origin and one pen for each colour. Text and pictures are left out, as a cutter needs outlines: turn text into paths or lines first.
- Why does it say my plot uses commands this page does not draw?
- HP-GL/2 has more commands than plot files usually use. This page draws lines, arcs, circles, Bezier curves, rectangles, wedges, polygons with their fills and edges, line types, hatching and shading, labels, the turned coordinate system (RO), clipping windows (IW: only what is inside the window is drawn) and symbol mode (SM: the chosen character drawn centred on every plotted point, as scatter plots use). If the file also uses something else that changes the drawing - a second page (PG), ticks (XT, YT) and the like - it is named above the drawing rather than skipped quietly, as those parts may be missing or look different. Things drawn only approximately are said there as well: pattern fills made of raster dots (drawn solid), and sizes the file takes from the plotter's paper when it does not set P1 and P2 with IP (this page assumes 250 × 187.5 mm). Finishing details that do not leave anything out - line ends and joins (LA), label fonts and character sets, and where hatch lines start (the plotter starts them from its paper corner) - are drawn the page's own way without a note.
- Why is my plot turned on its side?
- The file turns its coordinate system with the RO command (90, 180 or 270 degrees), as CAD programs do to fit a landscape drawing on a roll. The plot is drawn as the plotter puts it on the sheet, and the line above the drawing says it was turned. Exports (SVG, PDF, PNG, DXF) are the same way round as the view.
- Is my plot file uploaded anywhere?
- No. It is read and drawn by your browser.