Nutrition Facts Label Generator
Paste your recipe. Get an FDA-format Nutrition Facts panel with the legal rounding rules (21 CFR 101.9) and % Daily Values already applied. Free, no signup, no account.
What you get free
- Correct FDA rounding: calories to the nearest 5/10, fat to 0.5 g under 5 g, sodium to 5/10 mg, “less than 1 g” where required — the part people get wrong by hand.
- % Daily Values on the current 2016 reference values (Total Fat 78 g, Sodium 2,300 mg, Carbohydrate 275 g, Fiber 28 g).
- Per-ingredient gram weights, so you can see exactly what was counted.
- JSON API for every field —
https://smeltworks.com/nutrition-label/api/label. - 60 labels per day per IP, no key, no signup.
Label Pack — $19 once
After checkout your key is emailed within a few hours; use it as ?key= or the
X-API-Key header on https://smeltworks.com/nutrition-label/api/label.svg, or paste it into this page.
API
| Endpoint | What it does |
|---|---|
POST /api/label | Body {recipe, servings, serving_desc, title} → full panel data + ready-to-embed HTML. |
GET /api/label?recipe=…&servings=… | Same, in a URL. |
GET /api/label.svg | Print-ready SVG file. Needs a Label Pack key. |
GET /api/ingredients | The 57 recognised ingredients, their aliases and units. |
curl -s https://smeltworks.com/nutrition-label/api/label \
-H 'content-type: application/json' \
-d '{"recipe":"2 cups all-purpose flour\n1 cup sugar\n3 eggs","servings":12}'
How the maths works
Each line is parsed into a quantity, a unit and an ingredient, then converted to grams using standard
household-measure weights (1 cup all-purpose flour = 125 g, 1 tbsp butter = 14.2 g, 1 large egg = 50 g).
Nutrients are summed across the recipe from USDA-derived per-100 g values, divided by servings, then rounded
with the FDA declaration rules. Ingredients we do not recognise are listed back to you rather than silently
dropped — add them by weight (e.g. 200g flour) or tell us and we will add them.
Estimate only. Values are computed from reference composition data, not from a lab analysis of your finished product, and cooking losses are not modelled. For FDA-regulated retail packaging, confirm with a lab or a qualified consultant before printing.