Embroidery Basics
What Is a DST File? Complete Guide to the Embroidery DST Format

A customer sends you their logo as a .dst. You open it on your laptop and the preview shows a red-and-blue design. A colleague opens the same file in different software and sees green and purple. Neither of you is wrong — the file never said what the colors were. That one detail explains most of what you need to know about DST.
DST is the most widely accepted embroidery format in the world, and it got there by storing as little as possible. This guide covers where it came from, exactly what is inside one, what it leaves out on purpose, and the practical problems that follow from that — wrong colors, missing trims and designs that won't resize.
What Is a DST File?
A DST file is a machine embroidery design in Tajima's stitch format. The extension is usually expanded as Data Stitch Tajima. It does not contain a picture. It contains a list of needle movements: move this far right, this far up, put the needle down; move again; stop for the next thread.
Because nearly every commercial embroidery machine and every digitizing program can read and write it, DST works as the trade's common language. A logo digitized in one shop on one brand of software can be stitched in another shop on a different brand of machine, and DST is usually the file that makes the trip.
Where the DST Format Comes From
Tajima introduced its TMB series, a six-needle machine with fully automatic color change, in 1973, and its bridge-type TMBE machines with electronic color change in 1978. In that era, designs reached the machine on punched paper tape, and the people who prepared them were called punchers — a name the trade still uses for digitizers.
DST still carries traces of the tape. Its header has fields named MX, MY and PD that describe how to join a design split across several files. They exist because a large design could not fit on a single roll of tape. Today they are almost always zero or filled with asterisks, but they are still written into every DST.
What Is Inside a DST File
A DST has two parts: a short text header and a long run of binary stitch records.

The 512-byte header
The header is always 512 bytes, although only about 125 are used; the rest is padded with spaces. It is written as short labelled text fields:
- LA — the design label. The field is 16 characters wide, and older software expects 8 or fewer.
- ST — the number of records, counting jumps and color changes as well as stitches. Some machines use it to show progress.
- CO — the number of color changes. A design with four color blocks has CO: 3.
- +X, −X, +Y, −Y — how far the design extends from its start point in each direction. Machines can use these to check the design fits the frame.
- AX, AY, MX, MY, PD — end-point offsets and the multi-file leftovers described above.
The stitch records
After the header, every movement of the frame is one 3-byte record. Each record stores a move in X and Y as a sum of five signed weights — 1, 3, 9, 27 and 81 — a scheme called balanced ternary. The largest move one record can describe is therefore 121 units on each axis. One unit is 0.1 mm, so a single record can travel at most 12.1 mm. A longer move is written as a chain of records.
Two bits in the third byte say what kind of record it is, and there are only four kinds: a normal stitch, a jump (the frame moves with the needle up), a color change or stop (one shared code), and a sequin code for machines with a sequin device. An end marker closes the file.
That compact layout is why DST files are tiny. At 3 bytes per record, a 10,000-stitch left-chest logo is about 30 KB, and a 100,000-stitch jacket back is roughly 300 KB.
What a DST File Leaves Out
The short list of record types is also a list of what is missing. A DST has no field for:
- Thread colors. It knows the color changes after record 4,820, not what the next color is.
- Needle numbers. On a multi-needle machine, the operator assigns a needle to each color block.
- A trim command. Cuts are signalled indirectly, through runs of jumps.
- Editable objects. The satin columns and fills the digitizer drew are gone; only their stitches remain.
- Fabric, density or underlay settings, beyond what you can infer from the stitches themselves.
A handful of programs write thread colors into the unused part of the header, but this extension is rare and most machines ignore it. For practical purposes, assume a DST has no colors.
Three Problems That Follow From the Format
1. The colors are placeholders
Every viewer and machine has to invent colors for a DST, and each invents different ones. Brother's manuals, for example, say their machines show Tajima data in the machine's default thread sequence. The stitches are right; the on-screen colors mean nothing. Always keep the color chart that came with the design, and use it to set the thread or needle for each block.
2. Trims depend on the machine's settings
With no trim command, the industry settled on a convention: a run of consecutive jump records means "cut here". Digitizing software inserts tiny jumps that cancel each other out, so the frame barely moves but the machine sees the run. The machine has a setting for how many jumps make a trim — Tajima calls it Jump Convert, with a factory value of 3.
The 12.1 mm limit feeds into this. A travel move longer than 24.2 mm needs three jump records, so a machine set to 3 will trim it whether the digitizer meant it to or not.

3. Resizing has a narrow window
A DST holds finished stitches. Scale it up and the same number of stitches spreads over a larger area, so fills open up and satin columns get long and loose. Scale it down and the stitches pack together until the embroidery is stiff and the needle starts to struggle. Most designs tolerate about 10–20% either way. Beyond that, go back to the artwork and digitize at the new size.
Try the free EmbroidAI DST viewer
See the stitch paths, jumps and color stops in a .dst before you thread the machine.
How a DST File Is Made
You can't turn a JPG into a DST by renaming or re-saving it. The artwork has to be digitized: each shape is traced, given a stitch type and direction, and assigned settings that only make sense in thread.
- Stitch type — running stitch for fine lines, satin for columns roughly 2–7 mm wide, fill for anything wider.
- Density — about 0.40 mm between rows is a common starting point for satin and fill.
- Underlay — a light foundation of stitches that holds the fabric before the top layer goes down.
- Pull compensation — a fraction of a millimetre added to shapes so they finish at the right width after the fabric draws in.
- Sequence — the order of objects, chosen to minimise color changes, jumps and trims.
The software then converts those objects into stitches and writes them out as DST records. The original design file stays with the digitizer, because it is the only version that can still be edited properly. For a closer look at the stitch types, see running vs satin vs fill stitch.
How to Open and Check a DST File
Embroidery software such as Wilcom, Hatch, Embird and the free Ink/Stitch extension for Inkscape opens DST files, and so does practically every embroidery machine. For a quick look without installing anything, a browser viewer is enough. Before you stitch a DST from someone else, check four things:
- The number of color blocks matches the color chart. Extra blocks usually mean a color returns, or a stop for appliqué.
- The dimensions fit your hoop, with a few millimetres to spare.
- Jumps sit where you expect them. A long jump across the design may trim on your machine.
- The stitch count makes sense for the size. A small design with a very high count is probably too dense.
The DST viewer draws the paths and stops, and the DST analyzer reports stitch-length problems, jumps, trims and hoop fit.
DST vs Other Embroidery Formats
Home-machine formats store more than DST does, which is why they're usually the better choice on the machines they were built for:
| Format | Thread colors | Trims |
|---|---|---|
| DST (Tajima) | None | Inferred from jump runs |
| PES (Brother) | Stored | Explicit trim flags |
| JEF (Janome) | Janome palette index | Jump runs |
| EXP (Melco) | None | Jump runs |
Converting between them doesn't move any stitches, but it can't invent what the source lacks: a PES made from a DST still needs its colors assigned. See DST vs PES and the best file format for Tajima machines for the detail.
Frequently Asked Questions
What does DST stand for in embroidery?
DST is Tajima's stitch format, and the extension is usually expanded as Data Stitch Tajima. Tajima built some of the first automatic color-change embroidery machines in the 1970s, and the format became the default way to move designs between commercial machines and software.
Does a DST file store thread colors?
No. A standard DST records where the color changes happen, not which colors they are. Viewers and machines fill in placeholder colors, which is why the same file can look different in two programs. A few programs write colors into the unused part of the 512-byte header, but machines generally ignore them.
Why does my DST file have no trims?
DST has no trim command. A trim is signalled by a short run of consecutive jump records, often three, and the machine decides to cut when it counts that many in a row. If the digitizer and the machine expect different counts, trims are missed or added.
Can I convert a JPG or PNG to a DST file?
Yes, but not by renaming or re-saving it. A picture stores pixels and a DST stores needle movements, so the artwork has to be digitized: shapes are traced, given stitch types, densities and a sewing order, and then written out as stitch records.
Can I resize a DST file?
Only a little. A DST holds finished stitches, so scaling it spreads or squeezes the same stitches instead of recalculating them. Most designs tolerate about 10–20% before density and satin widths go wrong; beyond that, resize the original artwork and digitize again.
How big is a DST file?
Small. Every stitch, jump and color change takes 3 bytes, plus a fixed 512-byte header. A 10,000-stitch design is therefore about 30 KB, and even a 100,000-stitch jacket back stays around 300 KB.
How can I view a DST file for free?
Open it in a free browser-based DST viewer. It draws the stitch paths, marks jumps and color stops, and reports the stitch count and dimensions without installing embroidery software. Remember that the colors you see are placeholders, because the file has none.
Conclusion
A DST file is a 512-byte header followed by 3-byte records, each moving the frame up to 12.1 mm and marked as a stitch, jump, stop or sequin. That is all it holds. The lack of colors and trim commands is what made it universal, and it is also why the same file can show different colors in two viewers or trim differently on two machines.
If you're starting from a logo or picture rather than a finished file, the EmbroidAI image-to-embroidery converter digitizes it and exports a DST you can check in the viewer before you stitch.