Tiny Online Tools logoTiny Online ToolssearchSearch tools…grid_viewAll Tools
Homechevron_rightEmbroidery & CNC Toolschevron_rightHPGL to SVG ConverterHPGL to SVG Converter

HPGL to SVG Converter

Convert an HPGL or HPGL-2 plotter file into an editable SVG, with each pen kept as its own group and correct millimetre scaling.

upload_file

Click to browse or drag & drop files here

HPGL or HPGL-2 file (.hpgl, .plt, .gl2, .hp)

Accepted: .hpgl,.plt,.hpg,.hp,.gl2,.txt

Similar Tools

HPGL/PLT Viewer

HPGL/PLT Viewer

Open an HPGL or HPGL-2 plotter/cutter file (.hpgl, .plt, .gl2) and preview it as a scaled drawing, with each pen shown in its own colour.

Embroidery File Converter

Embroidery File Converter

Convert an embroidery file to DST or EXP — the only two formats this tool can write correctly. Reads DST, EXP, JEF, PES and PEC.

3D File Converter

3D File Converter

Convert between GLB, GLTF, OBJ, STL, PLY, FBX, DAE, 3MF and USDZ, with optional Draco or Meshopt compression.

CAD File Converter

CAD File Converter

Convert STEP, IGES and BREP CAD files to STL, OBJ, GLB or PLY with adjustable tessellation quality.

JSON Formatter

JSON Formatter

Format and beautify JSON data.

Compress PDF

Compress PDF

Reduce the file size of a PDF document without uploading it.

Dice Roller

Dice Roller

Roll virtual dice for games.

apps

More Tools

Browse our full collection of free online tools.

From plotter commands to an editable vector

HPGL and HPGL-2 files describe a drawing as a sequence of pen moves — not something an SVG editor, laser cutter, or vinyl cutter's software can open directly. This tool converts one into a standard SVG you can open in Illustrator, Inkscape, or any vector tool.

Pens become groups

The most useful part of the conversion: every pen number in the source file becomes its own <g id="pen-1"> group in the output SVG, with that pen's colour and the stroke width you set applied to the whole group. If the original job used pen 1 for cutting and pen 2 for scoring, you can select, recolour, or hide each one independently after conversion — the pen assignment survives as real SVG structure, not just a colour that happens to match.

Correct units

HPGL plotter units are a fixed 1/40 mm (1/1016 inch). This converter multiplies every coordinate by that factor before writing the SVG, so the output's width/height and viewBox are true millimetres — open it in any vector editor and the measurements are correct, not scaled by some arbitrary factor.

What it draws

Pen-up/pen-down moves in both absolute and relative coordinate modes, plus CI circles and AA/AR arcs, flattened into smooth polylines. If the source file uses a command this converter does not draw, conversion still completes — it just does not include that geometry.

Options

Set the stroke width (in millimetres) applied to every pen's group before downloading; it is purely cosmetic and does not change the underlying path geometry.

Typical uses

Bring an old sign-cutting or CAD/CAM export into a modern vector workflow, prepare a plotter file for a laser cutter or vinyl cutter that only accepts SVG, or just get a plotter job into a format you can inspect and edit. Nothing leaves your device — parsing, conversion and the download all happen in your browser.