Guide

Adapting peanut butter cookies for diabetics — why raw vs. roasted peanuts changes the answer

"How many carbs are in a diabetic peanut butter cookie" sounds like a question with one number. It isn't — the peanut butter itself carb-counts differently depending on how the peanuts were prepared, and most recipes never say which one they mean. This guide states both figures, names the gap, and tells you how to check your own jar.

Database v0.0.1 (draft) — updated 2026-07-21

In the repair

sugar (by sweetness)sweetener (by bulk)
A slice of layered chocolate cake with berry glaze on top, cut open to show its texture

How many carbs are actually in the peanut butter?

This is the one place in this guide where RecipeMend's own database admits it doesn't have a single clean answer — and that's the useful part, not a caveat to skip past. Database v0.1's draft entry for peanuts carries a carb figure of roughly 21.5-21.7g per 100g, sourced to USDA for dry-roasted peanuts. But the same verification pass flagged that USDA's figure for RAW peanuts runs closer to 16.1g per 100g — a real, prep-dependent gap of about 5.5g per 100g, not rounding noise. A recipe (or a jar) that just says "peanut butter" doesn't tell you which peanut it started from. Most commercial peanut butter is made from roasted peanuts, so the higher figure is the safer default assumption — but the only way to know for certain is to check what's actually in front of you.

Source: data/diabetic.json "peanuts" entry (carbs_g_per_100g 21.5-21.7, dry-roasted, USDA FDC via nuthealth.org SR-Legacy chart) and data/SOURCES.md verification-pass note: "peanuts — draft 21.5-21.7 = dry-roasted; USDA raw = ~16.1. Prep-dependent; low-impact either way. NOT edited (prep unspecified)."

How do I resolve it for my own jar?

Three checks, in order of how much they actually move the number. First, roasted vs. raw: the label or ingredient list usually says "roasted peanuts" or "dry-roasted peanuts" explicitly — if it doesn't say raw, assume roasted (21.5-21.7g/100g is the safer default). Second, added sugar: many commercial peanut butters list sugar, or occasionally corn syrup, as a separate ingredient for spreadability — that's carbohydrate on top of the peanut figure, not folded into it, and RecipeMend's database doesn't carry a distinct "commercial peanut butter" entry precisely because that number varies brand to brand. Third, natural vs. no-stir: an oil-separating "natural" peanut butter with just peanuts and salt is closer to the plain peanuts figure than a shelf-stable spread with added sweeteners. Read the label once and you've resolved more uncertainty than either raw-vs-roasted figure alone would.

Source: data/diabetic.json "peanuts" entry and its sourcing note (USDA FDC, prep-dependent). Commercial peanut butter as a distinct product is not in Database v0.1 — no figure is asserted for it here.

Does the raw-vs-roasted gap actually change whether the cookie is diabetic-friendly?

Less than you'd think, for a different reason than the sweetener swap. Peanuts sit in RecipeMend's low-impact bucket under both the roasted and raw figures — the database's own reasoning is that peanuts are a legume with high fiber and protein content that blunts glycemic relevance, to the point that GI isn't considered clinically meaningful for whole peanuts at all (confidence: none, no value assigned). So the roasted-vs-raw gap matters if you're counting grams of carbohydrate precisely — for a diabetic-specific meal plan, for instance — but it doesn't flip peanut butter into a different risk category either way. The sweetener you swap into the cookie dough is doing far more work on blood sugar impact than which peanut-carb figure you use.

Source: data/diabetic.json "peanuts" entry — bucket: "low-impact", gi.confidence: "none", why: "legume with high fiber+protein blunting glycemic relevance; GI not clinically meaningful for whole peanuts."

Why peanut butter cookies are unusually forgiving of a sugar swap

Most sugar-free baking failures come from a batter or dough that depended on sugar for structure, not just sweetness — sugar holds moisture, tenderizes gluten, and in a meringue it IS the structure. Peanut butter cookies start from a different place. The dough is fat- and protein-structured: the peanut butter itself (mostly fat and protein) plus the egg are doing the load-bearing work that flour's gluten network or whipped sugar-and-egg-white would do elsewhere. Sugar in a standard peanut butter cookie recipe is closer to one input among several than the scaffolding the whole thing depends on — the same structural category as the fat-dependent, butter-forward doughs (chocolate chip, oatmeal, shortbread-style drop cookies) that Database v0.1's cookie-context swap guidance treats as the most forgiving group for a sweetener swap. This is a structural, mechanistic point about how the dough holds together, not a Database v0.1 figure specific to peanut butter — but it's the reason the classic flourless version works at all.

The flourless 3-ingredient version (peanut butter, egg, sweetener — no flour, no leavening) makes this most visible. With gluten out of the picture entirely, the peanut butter's own fat/protein structure and the egg's binding are carrying the whole cookie, and a sugar swap changes surface texture and browning more than it changes whether the cookie holds together. Swapping erythritol in tends to make the flourless version firmer and drier, more crumbly at the edges, the same direction Database v0.1's cookie-context guidance documents for erythritol generally — while allulose's faster, darker Maillard browning means a flourless cookie's characteristic crosshatch top can look done well before the center has set, since there's no flour structure underneath to visually signal "not baked through" the way a risen cookie would.

  1. 1. Check whether your peanut butter is roasted or raw before counting carbs.

    Most jars are roasted — if the label doesn't say raw, assume the higher figure (roughly 21.5-21.7g carbs/100g). Raw peanuts run closer to 16.1g/100g. This is a real prep-dependent gap, not database imprecision: Database v0.1 flags it explicitly rather than picking one number and hiding the disagreement.

    Source: data/diabetic.json "peanuts" entry; data/SOURCES.md UNRESOLVED note on peanuts (roasted 21.5-21.7 vs. raw ~16.1).
  2. 2. Read the ingredient list for added sugar or corn syrup.

    Commercial peanut butter often adds sugar for spreadability — that carbohydrate sits outside the "peanuts" figure entirely and varies by brand. A jar listing only peanuts and salt is the cleanest match to the database figure; anything else needs its own label check.

    Source: no Database v0.1 entry exists for commercial peanut butter as a distinct product — flagged here as a gap, not asserted.
  3. 3. Swap the recipe's sugar by bulk, not by sweetness — same rule as any dough.

    Match the volume the original sugar occupied, not an amount that "tastes about as sweet." Erythritol and allulose are both less sweet than sugar by weight, so an undersized swap under-delivers the bulk that shapes spread and crumb even in a fat-structured dough like this one.

    Source: Database v0.1 substitution_ratio_vs_sugar fields, erythritol and allulose.
  4. 4. Erythritol: expect a drier, more crumbly cookie, especially in the flourless version.

    Swap 1:1 by volume. Without flour's gluten network to hold moisture, a flourless peanut butter cookie already leans dry — erythritol's own drying, recrystallizing behavior compounds that. Cool completely before judging texture.

    Source: Database v0.1 white-sugar→erythritol swap_rule (context: cookies).
  5. 5. Allulose: drop the oven temperature and check the center, not the classic fork crosshatch.

    Use roughly 1⅓ cups allulose per cup of sugar and reduce oven temperature about 25-35°F. Allulose's faster browning can make the fork-marked top look fully baked before the center — especially in the flourless version, with no risen crumb to signal underbaking — has actually set.

    Source: Database v0.1 white-sugar→allulose swap_rule (context: cookies).
Educational, not medical advice. If you manage diabetes with insulin or another clinical protocol, confirm any recipe or sweetener change with your clinician or dietitian.

Don't want to work out the bulk-vs-sweetness math — or the roasted-vs-raw peanut question — by hand? Paste your peanut butter cookie recipe and RecipeMend flags each ingredient's swap, ratio, and source in one pass.

Paste your cookie recipe into the tool →

Want this same rigor applied to your own recipe?

19 one-time

Paste your peanut butter cookie recipe and get every ingredient's swap, ratio, and source in one printable report.

Repair your own recipe →