Embroidery Basics
What Is a HUS File? Complete Guide to the Husqvarna Viking Format

You inherit a box of embroidery designs from a Husqvarna Viking owner, and half the files end in .hus. Your free viewer opens them fine. Your free converter refuses to save one. And the colors on a design you converted to HUS last week are close to the original, but not quite right. All three come down to how this format was built.
HUS is one of the oldest home embroidery formats still in circulation. This guide explains what is inside one, why its colors behave the way they do, why it is easy to read and hard to write, and what to convert it to today.
What Is a HUS File?
A HUS file is a machine embroidery design in the native format of Husqvarna Viking, the Swedish sewing machine maker. The company has built computerized embroidery machines since the early 1990s, loading designs from memory cards, floppy disks and later USB. HUS was the format of that first generation.
In the late 1990s Husqvarna Viking merged with Pfaff, and the shared VIP format replaced HUS. VP3 followed later. So a HUS file is usually a sign of an older design library, but it is not a dead one: plenty of designs were sold in HUS, and later Viking and Pfaff software kept reading it.
What Is Inside a HUS File
HUS is laid out differently from most embroidery formats, and that layout explains its quirks. A file has three parts.
1. A binary header
The header records the number of stitches, the number of colors, how far the design extends in each direction, a short design name of up to 8 characters, and three pointers into the rest of the file. The first four bytes are a signature; its upper half reads 200 in HUS files and 400 in VIP files, which is how software tells the two apart.
2. A color list of palette numbers
Each color in the design takes two bytes, and those bytes don't hold a color. They hold an index that picks one of 29 entries in a fixed Husqvarna thread palette — black, blue, green, red, purple, yellow, grey and so on through light pink and light brown. A HUS design can only ever use those 29 shades.
3. Three compressed stitch streams
This is the unusual part. Most formats store each stitch as one record. HUS splits the stitches into three separate lists — one of commands, one of X moves and one of Y moves — and compresses each list on its own. Keeping similar values together gives the compressor long, repetitive runs to work with, which matters when a design has to fit on a memory card.
The command list uses five codes:
- Stitch — move and put the needle down.
- Jump — move with the needle up.
- Color change — stop for the next thread.
- Trim — cut the thread. Unlike DST, HUS has a real trim command, so cuts don't depend on counting jumps.
- End — the design is finished.
Each X and Y move is a single signed byte, so one stitch can move at most 127 units — 12.7 mm — in each direction. Longer moves are written as several steps.
Notice what is not on that list: there is no preview image. Any thumbnail you see for a HUS design was drawn by the software from the stitches when it opened the file.
Why HUS Colors Shift When You Convert
The palette has a practical consequence. Formats like PES and VP3 can store a thread's exact color, while HUS can only store "color number 7". When a design is converted into HUS, each thread is matched to the nearest of the 29 Husqvarna shades. A navy might become Dark Blue, a teal might land on Light Green, and two similar reds in the original can collapse into the same palette entry.
The stitches are untouched; only the color labels move. On the machine this rarely matters, because you thread whatever you actually own. It matters when you rely on the on-screen colors to pick threads. Keep the original color chart, and if the colors must survive, keep a copy in PES or VP3 as well.
Why HUS Is Easy to Read and Hard to Write
HUS compresses its streams with a proprietary scheme from the LZ-plus-Huffman family — similar to the ARJ archiver, with a small 1,024-byte dictionary. Open-source projects worked out how to decompress it years ago, which is why most free viewers and converters open HUS without trouble.
Writing is a different matter. The widely used open-source library pyembroidery, for example, reads HUS but lists no writer for it, because it has no working compressor. That is why many free tools will show you a HUS design but won't save one. A tool that writes HUS needs its own encoder; EmbroidAI added one so that signed-in users can export designs as HUS alongside DST, PES, JEF, EXP, VP3 and XXX.
Which Machines and Software Read HUS
HUS belongs to the Husqvarna Viking family, and support follows that family tree:
- Older Husqvarna Viking embroidery machines and their software, where HUS was the native format.
- Later Viking and Pfaff software and machines, many of which still read HUS for backward compatibility. Check your model's manual for the formats it accepts from USB.
- General embroidery software such as Embird, Wilcom and Hatch, which open HUS among dozens of formats.
- Free browser viewers, which decompress and draw the stitches.
Brother, Janome and commercial Tajima machines do not read HUS. For those, convert it first.
Converting a HUS File
Because HUS stores finished stitches, converting it is a translation, not re-digitizing. Every move carries over exactly. What changes is the information around the stitches.

- HUS to VP3 — the natural upgrade for a current Viking or Pfaff machine. Colors and trims carry over.
- HUS to PES — for Brother and Baby Lock. PES stores colors and explicit trims, so nothing important is lost.
- HUS to DST — for commercial machines. The colors are dropped, and HUS's explicit trims become jump runs that the machine has to interpret.
After converting, open the result in a viewer and compare the number of color blocks and the dimensions with the original. Our free DST viewer and PES viewer show stitch paths, jumps and color stops for that check.
Check a converted design before you stitch it
Preview stitches, jumps and color stops in your browser — no software, no account.
HUS vs DST vs VIP
| HUS | VIP | DST | |
|---|---|---|---|
| Colors | Index into 29-color palette | Encoded RGB + thread type | None |
| Stitch layout | 3 compressed streams | 3 compressed streams | One 3-byte record per move |
| Trims | Explicit command | Command stream | Jump runs |
| Preview image | No | No | No |
For the successor formats, see what is a VIP file and what is a VP3 file; for the commercial side, see what is a DST file.
HUS Quick Checklist
- Open HUS files in any viewer — reading is widely supported.
- Expect colors to snap to the 29-shade Husqvarna palette when converting into HUS.
- Keep a PES or VP3 copy when exact colors matter.
- Convert to VP3 for current Viking and Pfaff machines, PES for Brother, DST for commercial heads.
- After converting to DST, check that trims still fall where you expect.
Frequently Asked Questions
HUS is the original embroidery design format of Husqvarna Viking, the Swedish sewing machine maker. It stores the stitches, an explicit trim command and a list of thread colors chosen from a fixed Husqvarna palette, with the stitch data compressed.
HUS belongs to Husqvarna Viking's earlier computerized embroidery machines and software. After Husqvarna Viking merged with Pfaff in the late 1990s, the VIP format replaced it, followed later by VP3. Many later Viking and Pfaff machines and programs still read HUS for backward compatibility, but check your model's manual.
Because HUS doesn't store free colors. Each thread is a number pointing into a fixed palette of 29 Husqvarna colors, so when a design is converted to HUS from a format with exact RGB colors, every thread snaps to the nearest of those 29.
No. The HUS layout has a header, a color list and three compressed stitch streams, with no thumbnail. Any preview you see in software or a viewer is drawn from the stitches when the file is opened.
HUS stitch data is compressed with a proprietary LZ-and-Huffman scheme. Open-source libraries such as pyembroidery include a decompressor, so they can read HUS, but they ship no matching compressor, so they can't write it.
Yes. HUS already contains real stitches, so converting it rewrites the same moves in another format without re-digitizing. Converting to PES keeps the colors; converting to DST drops them, because DST has nowhere to store colors.
VIP is HUS's successor and uses the same three-stream compressed layout. The main difference is color: HUS stores an index into a 29-color palette, while VIP stores an actual encoded RGB value plus a thread type number for each color.
Conclusion
A HUS file is a header, a list of numbers into a 29-color Husqvarna palette, and three separately compressed streams of commands, X moves and Y moves. That design explains everything practical about it: colors snap to the palette, trims are explicit, there is no built-in preview, and the compression makes the format easy to read but hard to write.
If you have HUS designs to use on another machine, convert them to VP3, PES or DST and check the result in a viewer first. If you're creating something new from artwork, the EmbroidAI image-to-embroidery converter digitizes it for you.