Home › Tools › Pattern decoder
Pattern row decoder for crochet and knitting
Paste one row or round of a crochet or knitting pattern and the decoder spells out every stitch, counts how many stitches it works into and how many it makes, and checks the number in brackets at the end. For example, "*sc in next st, inc* 6 times (18)" works into 12 stitches and makes 18.
How a pattern line is built
Commas separate the steps, and each step is worked into the next stitch or stitches unless it says otherwise. Asterisks and brackets mark the part to repeat, and the number at the end is the stitch count you should finish with.
| Written | Means |
|---|---|
[sc in next st, inc] 6 times |
the bracketed steps 6 times in all |
*sc in next st, inc* 6 times |
the starred steps 6 times in all |
*sc in next st, inc; rep from * 5 more times |
6 times in all: once, then 5 more |
*sc in next st, inc; rep from * 5 times |
either 5 or 6 in all: check the count at the end |
k2, *p2, k2; rep from * to end |
as many times as your stitches allow |
*k2, p2; rep from * to last 2 sts, k2 |
repeat until 2 stitches are left, then knit them |
(3 dc, ch 2, 3 dc) in next sp |
everything in the brackets into the same space |
What each stitch uses and makes
Counting a line is adding up, for every step, the stitches of the previous row it uses and the stitches it makes.
| Step | Uses | Makes |
|---|---|---|
| sc, hdc, dc; k, p; sl 1 | 1 | 1 |
| inc (2 sc in next st); kfb | 1 | 2 |
| 3 dc in next st (a shell) | 1 | 3 |
| m1, m1l, m1r, yo | 0 | 1 |
| sc2tog, dec; k2tog, ssk, p2tog | 2 | 1 |
| sc3tog; k3tog, sk2p, s2kp | 3 | 1 |
| sk (skip) | 1 | 0 |
| ch | 0 | 0, unless the line says it counts (“ch 3, counts as dc”) |
| 6 sc in ring | 0 | 6 |
Worked example. “k1, ssk, k to last 3 sts, k2tog, k1” on 30 stitches: the fixed steps use 1 + 2 + 2
- 1 = 6 stitches and make 4; the knitting in the middle uses and makes the other 24. The row ends with 28 stitches, 2 fewer.
Stitch multiples
A line with “repeat to the end” fits only some stitch counts. “k2, *p2, k2; rep from * to end” needs a multiple of 4 plus 2: 22, 26 or 30 stitches, but not 24. Enter your stitch count and the decoder tells you whether it fits, and how many stitches would be left over if it does not.
Common questions
What does "rep from * 5 times" mean, 5 times in all or 5 more?
Pattern writers use it both ways. "Rep from * 5 more times" means 6 in all: the first time, then 5 more. Plain "5 times" can mean either. The stitch count at the end of the line settles it: the decoder works out both and tells you which one matches.
What does the number in brackets at the end of a row mean?
It is how many stitches you should have once the row or round is finished, for example "(24)" or "(24 sts)". Counting your stitches against it at the end of every row is the quickest way to catch a mistake before it grows.
Why don't chains count as stitches?
A turning chain of 1 for single crochet is not a stitch, and chains between stitches make spaces, not stitches. A turning chain of 3 for double crochet traditionally counts as the first stitch, but many patterns now say it does not, and a chain of 2 for half double varies. Look for "counts as dc" or "does not count as a st". The decoder counts a chain only when the line says it counts.
Does it work with UK crochet terms?
Yes. Choose "Crochet, UK terms", or let it work it out: "htr" or "miss" mark a UK pattern. It also writes the line in the other terms, because UK dc is US sc, UK tr is US dc, and so on.
My stitch count does not match the pattern. What now?
Count after each repeat, not just at the end; check you worked into the last stitch of the row, and whether the turning chain counts; then decode the line here. If the line itself does not add up, look for the pattern's errata or ask the designer.
Can't an AI assistant read my pattern for me?
The decoder counts with fixed rules, so the same line always gives the same count, and it shows every step so you can check it yourself. When part of a line is not recognised, it says so instead of guessing, and does not claim the count is right.
Updated 8 November 2026. The calculator runs in your browser; nothing you type is sent anywhere.